1.mkdir /usr/local/share/fonts/zhfonts

复制中文字体simsun.ttf到该目录中
2.创建字体信息文件 ttmkfdir >fonts.dir
3.修改/etc/fonts/fonts.conf文件
1)添加simsun字库的路径:
<!--the next line is added by me.-->
<dir>/usr/local/share/zhfonts</dir>
<dir>/usr/share/fonts</dir>
<dir>/usr/X11R6/lib/X11/fonts/Type1</dir>
<dir>/usr/X11R6/lib/X11/fonts/OTF</dir>
<dir>~/.fonts</dir>
Logo

更多推荐