Fix fontconfig: emoji fonts

This commit is contained in:
rydesun 2020-10-15 19:38:47 +08:00
parent 1792f63f88
commit 3f0f68ae25

View file

@ -51,7 +51,7 @@
<!-- Default emoji fonts -->
<match target="pattern">
<test name="family">
<string>monospace</string>
<string>emoji</string>
</test>
<edit name="family" mode="prepend" binding="strong">
<string>Blobmoji</string>
@ -382,4 +382,17 @@
</edit>
</match>
<!-- Replace emoji fonts -->
<match target="pattern">
<test name="family" compare="contains">
<string>Noto Color Emoji</string>
</test>
<test name="prgname" compare="not_eq">
<string>firefox</string>
</test>
<edit name="family" mode="prepend" binding="strong">
<string>Blobmoji</string>
</edit>
</match>
</fontconfig>