Update fonts.conf

This commit is contained in:
Anthony Rose 2020-03-26 10:26:40 +00:00
parent c34ab49c4b
commit 5dc09374ec

View file

@ -1,32 +1,38 @@
<?xml version='1.0'?> <?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'> <!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig> <fontconfig>
<!-- Smooth fonts. --> <!-- Smooth fonts. -->
<match target="font"> <match target="font">
<edit mode="assign" name="rgba"> <edit mode="assign" name="rgba">
<const>rgb</const> <const>rgb</const>
</edit> </edit>
</match>
<match target="font">
<edit mode="assign" name="hinting"> <edit mode="assign" name="hinting">
<bool>true</bool> <bool>true</bool>
</edit> </edit>
</match>
<match target="font">
<edit mode="assign" name="hintstyle"> <edit mode="assign" name="hintstyle">
<const>hintslight</const> <const>hintslight</const>
</edit> </edit>
</match>
<match target="font">
<edit mode="assign" name="antialias"> <edit mode="assign" name="antialias">
<bool>true</bool> <bool>true</bool>
</edit> </edit>
</match>
<match target="font">
<edit mode="assign" name="lcdfilter"> <edit mode="assign" name="lcdfilter">
<const>lcddefault</const> <const>lcddefault</const>
</edit> </edit>
</match> </match>
<!-- Substitute basic PostScript fonts with better looking ones. --> <!-- Substitute basic PostScript fonts with better looking ones. -->
<match target="pattern"> <match target="pattern">
<test qual="any" name="family"> <test qual="any" name="family">
<string>Times</string> <string>Times</string>
</test> </test>
<edit name="family" mode="assign"> <edit mode="assign" name="family">
<string>Liberation Serif</string> <string>Liberation Serif</string>
</edit> </edit>
</match> </match>
@ -34,7 +40,7 @@
<test qual="any" name="family"> <test qual="any" name="family">
<string>Helvetica</string> <string>Helvetica</string>
</test> </test>
<edit name="family" mode="assign"> <edit mode="assign" name="family">
<string>Liberation Sans</string> <string>Liberation Sans</string>
</edit> </edit>
</match> </match>
@ -42,9 +48,8 @@
<test qual="any" name="family"> <test qual="any" name="family">
<string>Courier</string> <string>Courier</string>
</test> </test>
<edit name="family" mode="assign"> <edit mode="assign" name="family">
<string>Liberation Mono</string> <string>Liberation Mono</string>
</edit> </edit>
</match> </match>
</fontconfig> </fontconfig>