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