首页 > 系统服务 > 详细

FreeBSD系统下添加中文字体

时间:2016-01-21 03:55:09      阅读:160      评论:0      收藏:0      [点我收藏+]
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"
 

FreeBSD系统下添加中文字体

原文:http://www.jb51.net/os/Unix/1576.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!