Created
December 24, 2011 09:35
-
-
Save iwinux/1516997 to your computer and use it in GitHub Desktop.
my fonts.conf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version='1.0'?> | |
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'> | |
<fontconfig> | |
<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"> | |
<test compare="less" name="pixelsize"> | |
<double>13</double> | |
</test> | |
<edit mode="assign" name="embeddedbitmap"> | |
<bool>true</bool> | |
</edit> | |
</match> | |
<match target="pattern"> | |
<test name="family" qual="any"> | |
<string>Helvetica</string> | |
</test> | |
<edit binding="strong" mode="assign" name="family"> | |
<string>Helvetica LT</string> | |
</edit> | |
</match> | |
<match target="pattern"> | |
<test name="family" qual="any"> | |
<string>宋体</string> | |
<string>SimSun</string> | |
<string>SimSun-18030</string> | |
<string>AR PL ShanHeiSun Uni</string> | |
<string>AR PL New Sung</string> | |
<string>MingLiU</string> | |
<string>PMingLiU</string> | |
<string>Tahoma</string> | |
<string>Arial</string> | |
</test> | |
<edit binding="strong" mode="prepend_first" name="family"> | |
<string>Helvetica LT</string> | |
<string>Bitstream Vera Sans</string> | |
<string>GillSans</string> | |
<string>Verdana</string> | |
<string>WenQuanYi Micro Hei</string> | |
</edit> | |
</match> | |
<match target="font"> | |
<test name="family" qual="any"> | |
<string>GillSans</string> | |
</test> | |
<test compare="less" name="pixelsize"> | |
<double>14</double> | |
</test> | |
<edit name="pixelsize"> | |
<double>14</double> | |
</edit> | |
</match> | |
<alias> | |
<family>serif</family> | |
<prefer> | |
<family>Bitstream Vera Serif</family> | |
<family>Georgia</family> | |
<family>Times New Roman</family> | |
<family>WenQuanYi Micro Hei</family> | |
</prefer> | |
</alias> | |
<alias> | |
<family>sans-serif</family> | |
<prefer> | |
<family>Helvetica LT</family> | |
<family>Bitstream Vera Sans</family> | |
<family>Verdana</family> | |
<family>WenQuanYi Micro Hei</family> | |
</prefer> | |
</alias> | |
<alias> | |
<family>monospace</family> | |
<prefer> | |
<family>Consolas</family> | |
<family>Inconsolata</family> | |
<family>Monaco</family> | |
<family>WenQuanYi Micro Hei Mono</family> | |
<family>DejaVu Sans Mono</family> | |
</prefer> | |
</alias> | |
<dir>~/.fonts</dir> | |
</fontconfig> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment