FreeBSD系统下添加中文字体的方法教程

1. 准备中文字体Windows有不错的中文字体sim*.ttc2. 创建目录/usr/X11R/lib/X11/fonts/TrueType,将sim*.ttc拷贝到此目录下3. 刷新字体库#fc-cache -f -v4. 编辑/etc/X11/xorg.conf文件,在Section "Files"段添加:FontPat

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"

声明:本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。文章及其配图仅供学习和交流之用,版权归原作者所有,如有内容侵权或者其他违规问题,请联系本站处理。