1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00

Improve system-wide emoji support with 'Noto Color Emoji' font

This commit is contained in:
Joe Groocock 2017-07-15 13:39:52 +01:00
parent 3069bea815
commit 5cb8859031
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86

View File

@ -1,24 +1,41 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig> <fontconfig>
<alias> <match>
<family>serif</family> <test name="family">
<prefer> <string>sans-serif</string>
<family>Noto Serif</family> </test>
</prefer> <edit name="family" mode="prepend" binding="strong">
</alias> <string>Noto Sans</string>
<alias> <string>Noto Color Emoji</string>
<family>sans-serif</family> </edit>
<prefer> </match>
<family>Noto Sans</family> <match>
</prefer> <test name="family">
</alias> <string>serif</string>
<alias> </test>
<family>monospace</family> <edit name="family" mode="prepend" binding="strong">
<prefer> <string>Noto Serif</string>
<family>Sauce Code Pro</family> <string>Noto Color Emoji</string>
</prefer> </edit>
</alias> </match>
<match>
<test name="family">
<string>monospace</string>
</test>
<edit name="family" mode="prepend" binding="strong">
<string>Sauce Code Pro</string>
<string>Noto Color Emoji</string>
</edit>
</match>
<match>
<test name="family">
<string>Apple Color Emoji</string>
</test>
<edit name="family" mode="prepend" binding="strong">
<string>Noto Color Emoji</string>
</edit>
</match>
<match target="font"> <match target="font">
<edit name="hintstyle" mode="assign"> <edit name="hintstyle" mode="assign">
<const>hintfull</const> <const>hintfull</const>