dotfiles/.config/fontconfig/fonts.conf

65 lines
2.3 KiB
Plaintext
Raw Normal View History

2019-10-30 20:41:58 +02:00
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font">
<!--<edit mode="assign" name="autohint"><bool>true</bool></edit>
<edit mode="assign" name="hinting"><bool>true</bool></edit>-->
2019-10-30 20:41:58 +02:00
<edit mode="assign" name="autohint"><bool>true</bool></edit>
<edit mode="assign" name="hinting"><bool>true</bool></edit>
<edit mode="assign" name="lcdfilter"><const>lcddefault</const></edit>
<edit mode="assign" name="hintstyle"><const>hintnone</const></edit>
<!-- symbols do not support antialias -->
2021-04-27 23:25:21 +03:00
<!-- Removed antialias because it made all emoji invisible -->
2019-10-30 20:41:58 +02:00
<edit mode="assign" name="rgba"><const>rgb</const></edit>
</match>
<match target="font">
<test name="pixelsize" qual="any" compare="more"><double>15</double></test>
<edit mode="assign" name="hintstyle"><const>hintnone</const></edit>
<edit mode="assign" name="lcdfilter"><const>lcdlight</const></edit>
</match>
<match target="font">
<test name="pixelsize" qual="any" compare="more"><double>12</double></test>
<edit mode="assign" name="hintstyle"><const>hintnone</const></edit>
<edit mode="assign" name="lcdfilter"><const>lcdlight</const></edit>
</match>
<match target="font">
<test name="slant" compare="not_eq"><double>0</double></test>
<edit mode="assign" name="hintstyle"><const>hintnone</const></edit>
<edit mode="assign" name="lcdfilter"><const>lcdlight</const></edit>
</match>
<match target="pattern">
<test qual="any" name="family"><string>verdana</string></test>
2021-04-27 23:25:21 +03:00
<edit name="family" mode="assign" binding="same"><string>Bitstream Vera Sans</string></edit>
</match>
2021-04-27 23:25:21 +03:00
<!-- Prefer Liberation -->
<alias>
<family>sans-serif</family>
<prefer>
<family>Liberation Sans</family>
</prefer>
<default><family>Liberation Sans</family></default>
</alias>
<alias>
<family>serif</family>
<prefer>
<family>Liberation Serif</family>
</prefer>
<default><family>Liberation Serif</family></default>
</alias>
<!-- Monospace fonts are handled by 69-emoji-monospace.conf -->
<!--
<alias>
<family>monospace</family>
<prefer>
<family>Liberation Mono</family>
</prefer>
<default><family>Liberation Mono</family></default>
</alias>
-->
2019-10-30 20:41:58 +02:00
</fontconfig>