dotfiles/theme/.fonts.conf
Diogo Cordeiro c6cc2d3f9d first commit
2021-02-18 17:53:07 +00:00

74 lines
2.0 KiB
XML

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font">
<edit name="antialias" mode="assign">
<bool>true</bool>
</edit>
</match>
<match target="font">
<edit name="rgba" mode="assign">
<const>rgb</const>
</edit>
</match>
<match target="font">
<edit name="lcdfilter" mode="assign">
<const>lcddefault</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="autohint" mode="assign">
<bool>false</bool>
</edit>
</match>
<!-- Default font for the ja_JP locale (no fc-match pattern) -->
<match>
<test compare="contains" name="lang">
<string>kr</string>
</test>
<edit mode="prepend" name="family">
<string>Noto Sans CJK KR</string>
</edit>
</match>
<match>
<test compare="contains" name="lang">
<string>ja</string>
</test>
<edit mode="prepend" name="family">
<string>Noto Sans CJK JP</string>
</edit>
</match>
<match target="pattern">
<test name="family"><string>serif</string></test>
<edit name="family" mode="prepend"><string>Noto Color Emoji</string></edit>
<edit name="family" mode="prepend"><string>Noto Serif</string></edit>
</match>
<match target="pattern">
<test name="family"><string>sans-serif</string></test>
<edit name="family" mode="prepend"><string>Noto Color Emoji</string></edit>
<edit name="family" mode="prepend"><string>Fira Sans</string></edit>
</match>
<match target="pattern">
<test name="family"><string>monospace</string></test>
<edit name="family" mode="prepend" binding="same"><string>Fira Code Retina</string></edit>
<edit name="family" mode="prepend"><string>FontAwesome</string></edit>
</match>
</fontconfig>