我复制的黑体simhei.ttf
到/usr/share/fonts/local目录下,没有就建一个目录(目录的位置不是绝对的)
在/usr/share/fonts/local下生成字体信息文件fonts.dir,fonts.scale.命令如下:
$mkfontscale
$mkfontdir
5.添加到xlsfonts内:
$xset +fp /usr/share/fonts/local/
6. 在/etc/X11/XF86Config-4或者/etc/X11/xorg.conf (取决于你所采用的xserver)中添加
FontPath "/usr/share/fonts/local/"
我到这一步再打开的时候就已经好了
参考文章
http://blog.csdn.net/sxhong/archive/2006/03/12/622465.aspx |