You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
127 lines
3.1 KiB
127 lines
3.1 KiB
<?xml version="1.0"?>
|
|
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
|
<fontconfig>
|
|
<match target="font">
|
|
<edit name="dpi" mode="assign"><double>96</double></edit>
|
|
<edit name="antialias" mode="assign"><bool>true</bool></edit>
|
|
<edit name="autohint" mode="assign"><bool>false</bool></edit>
|
|
<edit name="hintstyle" mode="assign"><const>hintfull</const></edit>
|
|
<edit name="hinting" mode="assign"><bool>true</bool></edit>
|
|
<edit name="rgba" mode="assign"><const>rgb</const></edit>
|
|
<!-- lcdnone, lcddefault, lcdlight, lcdlegacy -->
|
|
<edit name="lcdfilter" mode="assign"><const>lcddefault</const></edit>
|
|
</match>
|
|
<!-- Replace Clean font with sans-serif -->
|
|
<match target="pattern">
|
|
<test qual="any" name="family">
|
|
<string>Clean</string>
|
|
</test>
|
|
<edit mode="assign" name="family">
|
|
<string>sans-serif</string>
|
|
</edit>
|
|
</match>
|
|
|
|
<match target="pattern">
|
|
<test name="family" qual="any">
|
|
<string>Arial</string>
|
|
</test>
|
|
<edit mode="assign" name="family">
|
|
<string>sans-serif</string>
|
|
</edit>
|
|
</match>
|
|
|
|
<match target="pattern">
|
|
<test name="family" qual="any">
|
|
<string>Helvetica</string>
|
|
</test>
|
|
<edit mode="assign" name="family">
|
|
<string>sans-serif</string>
|
|
</edit>
|
|
</match>
|
|
|
|
<match target="pattern">
|
|
<test name="family" qual="any">
|
|
<string>Tahoma</string>
|
|
</test>
|
|
<edit mode="assign" name="family">
|
|
<string>sans-serif</string>
|
|
</edit>
|
|
</match>
|
|
|
|
<!-- Replace Fixed font with monospace -->
|
|
<match target="pattern">
|
|
<test name="family" qual="any">
|
|
<string>Fixed</string>
|
|
</test>
|
|
<edit mode="assign" name="family">
|
|
<string>monospace</string>
|
|
</edit>
|
|
</match>
|
|
|
|
<!-- Replace Nimbus family font with default -->
|
|
<match target="pattern">
|
|
<test name="family" qual="any">
|
|
<string>Nimbus Sans L</string>
|
|
</test>
|
|
<edit mode="assign" name="family">
|
|
<string>sans-serif</string>
|
|
</edit>
|
|
</match>
|
|
<match target="pattern">
|
|
<test name="family" qual="any">
|
|
<string>Nimbus Roman No9 L</string>
|
|
</test>
|
|
<edit mode="assign" name="family">
|
|
<string>serif</string>
|
|
</edit>
|
|
</match>
|
|
<match target="pattern">
|
|
<test name="family" qual="any">
|
|
<string>Nimbus Mono L</string>
|
|
</test>
|
|
<edit mode="assign" name="family">
|
|
<string>monospace</string>
|
|
</edit>
|
|
</match>
|
|
|
|
<!-- Replace Times font with default -->
|
|
<match target="pattern">
|
|
<test name="family" qual="any">
|
|
<string>Times</string>
|
|
</test>
|
|
<edit mode="assign" name="family">
|
|
<string>serif</string>
|
|
</edit>
|
|
</match>
|
|
|
|
<!-- Set default font -->
|
|
<alias>
|
|
<family>Liberation Serif</family>
|
|
<default><family>serif</family></default>
|
|
</alias>
|
|
|
|
<alias>
|
|
<family>Liberation Sans</family>
|
|
<default><family>sans-serif</family></default>
|
|
</alias>
|
|
|
|
<alias>
|
|
<family>Liberation Sans Mono</family>
|
|
<default><family>monospace</family></default>
|
|
</alias>
|
|
|
|
<alias>
|
|
<family>serif</family>
|
|
<prefer><family>Liberation Serif</family></prefer>
|
|
</alias>
|
|
|
|
<alias>
|
|
<family>sans-serif</family>
|
|
<prefer><family>Liberation Sans</family></prefer>
|
|
</alias>
|
|
|
|
<alias>
|
|
<family>monospace</family>
|
|
<prefer><family>Liberation Sans Mono</family></prefer>
|
|
</alias>
|
|
</fontconfig>
|
|
|