x4x@X4X-Archlinux64 ~ % cat /etc/fonts/local.conf
<?xml version=*1.0*?>
<!DOCTYPE fontconfig SYSTEM */etc/fonts/fonts.dtd*>
<!-- /etc/fonts/local.conf -->
<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>
<dir>~/.fonts</dir>
<!--Prefer Setting-->
<match>
<test name="family"><string>serif</string></test>
<edit name="family" mode="prepend" binding="strong">
<string>Dejavu Serif</string>
<string>WenQuanYi Micro Hei</string>
</edit>
</match>
<match>
<test name="family"><string>sans-serif</string></test>
<edit name="family" mode="prepend" binding="strong">
<string>Dejavu Sans</string>
<string>WenQuanYi Micro Hei</string>
</edit>
</match>
<match>
<test name="family"><string>monospace</string></test>
<edit name="family" mode="prepend" binding="strong">
<string>Inconsolata</string>
<string>Liberation Sans Mono</string>
<string>WenQuanYi Micro Hei Mono</string>
</edit>
</match>
</fontconfig>
我的字体配置,感觉良好。
另外等宽字体中我只发现inconsolata 和 文泉驿的组合是英文占中文一半宽度,dejavu、libreation什么的和文泉驿配合时宽度都不对