#查下文泉驿的安装包名称 zzz@Expired:~$ apt-cache search wenquanyi fonts-wqy-microhei - Sans-serif style CJK font derived from Droid fonts-wqy-zenhei - “WenQuanYiZenHei” A Hei-TiStyle (sans-serif) Chinese font xfonts-wqy - WenQuanYiBitmapSongCJK font for X #可见有三个文泉驿的字体包,我们索性都安装了吧 zzz@Expired:~$ sudo apt-get install fonts-wqy-zenhei fonts-wqy-microhei xfonts-wqy -y
<?xml version=”1.0”?> <!DOCTYPE fontconfigSYSTEM “fonts.dtd”> <fontconfig> <!– If the font still has no generic name, add sans-serif –> <matchtarget=”pattern”> <testqual=”all”name=”family”compare=”not_eq”> <string>sans-serif</string> </test> <testqual=”all”name=”family”compare=”not_eq”> <string>serif</string> </test> <testqual=”all”name=”family”compare=”not_eq”> <string>monospace</string> </test> <editname=”family”mode=”append_last”> <string>WenQuanYi Zen Hei</string> </edit> </match> </fontconfig>