1. 准备中文字体
windows有不错的中文字体sim*.ttc
2. 创建目录/usr/x11r/lib/x11/fonts/truetype,将sim*.ttc拷贝到此目录下
3. 刷新字体库
#fc-cache -f -v
4. 编辑/etc/x11/xorg.conf文件,在section "files"段添加:
fontpath "/usr/x11r6/lib/x11/fonts/truetype/"
将其它的字体路径注掉,可以加快启动速度
修改后为:
section "files"
rgbpath "/usr/x11r6/lib/x11/rgb"
modulepath "/usr/x11r6/lib/modules"
fontpath "/usr/x11r6/lib/x11/fonts/truetpye/"
section "module"
load "dbe"
load "dri"
load "extmod"
load "glx"
#load "record"
load "xtrap"
#load "freetype"
#load "type1"
发表评论