Debian字体安装配置
把中文字体放到/usr/share/fonts/truetype/chinese下。嗯,VeraSansYuanTi比较好看。
Section "Files"
下面添上一行FontPath
"/usr/share/fonts/truetype/chinese"
让X知道字体在哪里。
mkfontscale && mkfontdir
,生成的fonts.dir&fonts.scale相当于字体信息的索引。
/etc/init.d/xfs restart
,使之生效。
xlsfonts
或xfontsel
都可以看gtk1程序能找到的字体。
fc-cache -fv