|
|
发表于 2007-6-27 20:13:15
|
显示全部楼层
freetype 这个程序重新编译,在freetype.spec里头打开最上头两行的设置,注意改一下软件版本,跟现在的版本一致,要不然每次yum update都会覆盖这个自己的软件。
然后字体选项里头不要优化字体 font rendering -> monochrome.
我把simsun.ttf, tahoma.ttf, tahomabd.ttf 放入 /usr/share/fonts/chinese,在这个目录下运行ttmkfdir, mkfontdir。然后把这个目录添加入xorg.conf FontPath。我没有使用xfs这个字体系统服务,如果使用了xfs,也可不必这么修改
Section "Files"
FontPath "/usr/share/fonts/chinese"
FontPath "/usr/share/fonts/default/Type1"
FontPath "/usr/share/X11/fonts/misc"
EndSection |
|