Created
August 12, 2012 01:40
-
-
Save mckelvin/3328714 to your computer and use it in GitHub Desktop.
/home/kelvin/.config/font-manager/local.conf
This file contains 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="pattern"> | |
<test name="family" qual="any"> | |
<string>AR PL ShanHeiSun Uni</string> | |
<string>AR PL New Sung</string> | |
</test> | |
<test compare="more_eq" name="pixelsize" > | |
<double>12</double> | |
</test> | |
<test compare="less_eq" name="pixelsize" > | |
<double>16</double> | |
</test> | |
<edit name="family" mode="prepend" binding="strong"> | |
<string>WenQuanYi Bitmap Song</string> | |
</edit> | |
</match> | |
<!-- 非衬线字体 ( Sans Serif ) --> | |
<match target="pattern"> | |
<test qual="any" name="family"> | |
<string>sans-serif</string> | |
</test> | |
<edit name="family" mode="prepend" binding="strong"> | |
<string>Lihei Pro</string> | |
</edit> | |
</match> | |
<!-- 衬线字体 ( Serif ) --> | |
<match target="pattern"> | |
<test qual="any" name="family"> | |
<string>serif</string> | |
</test> | |
<edit name="family" mode="prepend" binding="strong"> | |
<string>Lihei Pro</string> | |
</edit> | |
</match> | |
<!-- 等宽字体 ( Monospace ) --> | |
<match target="pattern"> | |
<test qual="any" name="family"> | |
<string>monospace</string> | |
</test> | |
<edit name="family" mode="prepend" binding="strong"> | |
<!-- 其他大部分等寬字體CJK字符都存在鋸齒 --> | |
<string>Ubuntu Mono</string> | |
</edit> | |
<edit name="lcdfilter" mode="assign"><const>lcdlegacy</const></edit> | |
</match> | |
</fontconfig> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment