Skip to content

Instantly share code, notes, and snippets.

@medicalwei
Created November 10, 2011 10:59
Show Gist options
  • Save medicalwei/1354603 to your computer and use it in GitHub Desktop.
Save medicalwei/1354603 to your computer and use it in GitHub Desktop.
fonts.conf
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<match target="pattern">
<test name="family" qual="any">
<string>serif</string>
</test>
<edit binding="strong" mode="prepend" name="family">
<string>Bitstream Vera Serif</string>
<string>DejaVu Serif</string>
<string>AR PL UMing TW</string>
<string>AR PL UMing TW MBE</string>
<string>AR PL UMing HK</string>
<string>AR PL UMing CN</string>
<string>PMingLiU</string>
<string>LastResort</string>
</edit>
</match>
<match target="pattern">
<test name="family" qual="any">
<string>sans-serif</string>
</test>
<edit binding="strong" mode="prepend" name="family">
<string>Helvetica Neue</string>
<string>Helvetica</string>
<string>Nimbus Sans L</string>
<string>Arial</string>
<string>Microsoft JhengHei</string>
<string>Meiryo</string>
<string>WenQuanYi Micro Hei</string>
<string>Droid Sans Fallback</string>
<string>Droid Sans Japanese</string>
<string>Droid Sans</string>
<string>Bitstream Vera Sans</string>
<string>DejaVu Sans</string>
<string>WenQuanYi Zen Hei</string>
<string>AR PL UMing TW</string>
<string>AR PL ShanHeiSun Uni</string>
<string>WenQuanYi Bitmap Song</string>
<string>AR PL UKai TW</string>
<string>AR PL ZenKai Uni</string>
<string>LastResort</string>
</edit>
</match>
<match target="pattern">
<test name="family" qual="any">
<string>monospace</string>
</test>
<edit binding="strong" mode="prepend" name="family">
<string>DejaVu Sans Mono</string>
<string>MingLiU</string>
<string>WenQuanYi Micro Hei Mono</string>
<string>Droid Sans Mono</string>
<string>Droid Sans Fallback</string>
<string>AR PL UMing TW</string>
<string>AR PL UMing TW MBE</string>
<string>AR PL UMing HK</string>
<string>AR PL UMing CN</string>
<string>LastResort</string>
</edit>
</match>
<match target="font">
<edit name="antialias">
<bool>true</bool>
</edit>
<edit mode="assign" name="rgba">
<const>rgb</const>
</edit>
<edit name="hinting">
<bool>false</bool>
</edit>
</match>
<match target="font">
<test name="family">
<string>azuki_font</string>
</test>
<edit name="hinting">
<bool>true</bool>
</edit>
<edit name="autohint">
<bool>true</bool>
</edit>
</match>
<match target="font">
<test name="family">
<string>MingLiU</string>
</test>
<edit name="hinting">
<bool>true</bool>
</edit>
</match>
<match target="font">
<test name="family">
<string>PMingLiU</string>
</test>
<edit name="hinting">
<bool>true</bool>
</edit>
</match>
<dir>/home/medicalwei/.Fontmatrix/Activated</dir>
</fontconfig>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment