84433568 2010-06-09
问题:RT
解决办法:修改/etc/fonts/conf.d/49-sansserif.conf
<?xml version="1.0"?> <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> <fontconfig> <!-- If the font still has no generic name, add sans-serif --> <match target="pattern"> <test qual="all" name="family" compare="not_eq"> <string>sans-serif</string> </test> <test qual="all" name="family" compare="not_eq"> <string>serif</string> </test> <test qual="all" name="family" compare="not_eq"> <string>monospace</string> </test> <edit name="family" mode="append_last"> <string>sans-serif</string> </edit> </match> </fontconfig>
其中的edit节点下的string节点的值改为:sans
修改后的结果如下:
<edit name="family" mode="append_last"> <string>sans</string> </edit>
原因:未知
扩展:sans Serif 与 Serif 的区别(网页、海报等设计):http://www.shocr.com/serif-vs-sans-serif/