Created
July 25, 2017 08:44
-
-
Save tyan-boot/b4748605d708ed8d3f0cc28b7a07001b to your computer and use it in GitHub Desktop.
字体配置
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> | |
<!-- created by WenQuanYi FcDesigner v0.5 --> | |
<match> | |
<test name="family"> | |
<string>sans-serif</string> | |
</test> | |
<edit name="family" binding="strong" mode="prepend"> | |
<string>WenQuanYi Micro Hei</string> | |
</edit> | |
</match> | |
<match> | |
<test name="family"> | |
<string>monospace</string> | |
</test> | |
<edit name="family" binding="strong" mode="prepend"> | |
<string>Consolas</string> | |
<string>WenQuanYi Micro Hei Mono</string> | |
</edit> | |
<edit name="style" binding="strong" mode="prepend"> | |
<string></string> | |
</edit> | |
</match> | |
<match> | |
<test name="family"> | |
<string>serif</string> | |
</test> | |
<edit name="family" binding="strong" mode="prepend"> | |
<string>WenQuanYi Micro Hei</string> | |
</edit> | |
</match> | |
<match target="font"> | |
<!-- 开启抗锯齿(smooth) --> | |
<edit name="antialias" mode="assign"> | |
<bool>true</bool> | |
</edit> | |
<!-- 优先使用内嵌微调,同时默认开足微调 --> | |
<edit name="hinting"> | |
<bool>true</bool> | |
</edit> | |
<edit name="autohint"> | |
<bool>false</bool> | |
</edit> | |
<!-- LCD特征设置 --> | |
<edit name="rgba"> | |
<const>rgb</const> | |
</edit> | |
<edit name="lcdfilter"> | |
<const>lcddefault</const> | |
</edit> | |
<!-- 禁用内嵌点阵 --> | |
<edit name="embeddedbitmap"> | |
<bool>false</bool> | |
</edit> | |
<!-- 禁用合成粗体 --> | |
<edit name="embolden"> | |
<bool>false</bool> | |
</edit> | |
</match> | |
<dir>~/.fonts</dir> | |
</fontconfig> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Downloa wqy-microhei, optional, copy Consolas font from somewhere else
then put this file into
~/.config/fontconfig/fonts.conf
then execute
fc-cache -vf
after doing above, your fonts will be look like better.
These fonts config is only for zh_CN users