dotfiles/config/fontconfig/conf.d/99-emoji.conf

60 lines
1.3 KiB
XML

<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<match>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" binding="strong" mode="append">
<string>Noto Sans</string>
<string>Noto Color Emoji</string>
</edit>
</match>
<!-- Add emoji generic family -->
<alias binding="strong">
<family>emoji</family>
<default>
<family>Noto Color Emoji</family>
</default>
</alias>
<!-- Aliases for the other emoji fonts -->
<!--<alias binding="strong">
<family>Apple Color Emoji</family>
<prefer>
<family>Noto Color Emoji</family>
</prefer>
</alias>
<alias binding="strong">
<family>Segoe UI Emoji</family>
<prefer>
<family>Noto Color Emoji</family>
</prefer>
</alias>
<alias binding="strong">
<family>Emoji One</family>
<prefer>
<family>Noto Color Emoji</family>
</prefer>
</alias>-->
<dir>~/.fonts</dir>
<match target="font">
<edit name="rgba" mode="assign">
<const>rgb</const>
</edit>
</match>
<match target="font">
<edit name="hinting" mode="assign">
<bool>true</bool>
</edit>
</match>
<match target="font">
<edit name="hintstyle" mode="assign">
<const>hintslight</const>
</edit>
</match>
<match target="font">
<edit name="antialias" mode="assign">
<bool>true</bool>
</edit>
</match>
</fontconfig>