Chinaunix首页 | 论坛 | 博客
  • 博客访问: 48032
  • 博文数量: 13
  • 博客积分: 1415
  • 博客等级: 上尉
  • 技术积分: 220
  • 用 户 组: 普通用户
  • 注册时间: 2006-12-24 14:46
文章分类

全部博文(13)

文章存档

2009年(4)

2008年(9)

我的朋友
最近访客

分类: BSD

2008-08-30 15:44:27

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"
阅读(843) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~