80 lines
1.9 KiB
XML
80 lines
1.9 KiB
XML
<?xml version='1.0'?>
|
|
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
|
|
<fontconfig>
|
|
<!-- Smooth fonts. -->
|
|
<match target="font">
|
|
<edit mode="assign" name="rgba">
|
|
<const>none</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>
|
|
<!-- Assign the basic serif, sans-serif, and monospace font families. -->
|
|
<match target="pattern">
|
|
<test qual="any" name="family">
|
|
<string>serif</string>
|
|
</test>
|
|
<edit mode="assign" name="family">
|
|
<string>Liberation Serif</string>
|
|
</edit>
|
|
</match>
|
|
<match target="pattern">
|
|
<test qual="any" name="family">
|
|
<string>sans-serif</string>
|
|
</test>
|
|
<edit mode="assign" name="family">
|
|
<string>Liberation Sans</string>
|
|
</edit>
|
|
</match>
|
|
<match target="pattern">
|
|
<test qual="any" name="family">
|
|
<string>monospace</string>
|
|
</test>
|
|
<edit mode="assign" name="family">
|
|
<string>Liberation Mono</string>
|
|
</edit>
|
|
</match>
|
|
<!-- Substitute basic PostScript fonts with better looking ones. -->
|
|
<match target="pattern">
|
|
<test qual="any" name="family">
|
|
<string>Times</string>
|
|
</test>
|
|
<edit mode="assign" name="family">
|
|
<string>Liberation Serif</string>
|
|
</edit>
|
|
</match>
|
|
<match target="pattern">
|
|
<test qual="any" name="family">
|
|
<string>Helvetica</string>
|
|
</test>
|
|
<edit mode="assign" name="family">
|
|
<string>Liberation Sans</string>
|
|
</edit>
|
|
</match>
|
|
<match target="pattern">
|
|
<test qual="any" name="family">
|
|
<string>Courier</string>
|
|
</test>
|
|
<edit mode="assign" name="family">
|
|
<string>Liberation Mono</string>
|
|
</edit>
|
|
</match>
|
|
</fontconfig>
|