linux 下的字体安装
时间:2010-08-18 来源:烧梦人
1.将WINDOWS 系统下的msgothic.tcc
COPY到BATCH 服务器:/usr/share/fonts/zh_CN/TrueType 目录中。
2.执行以下命令:
在:/usr/share/fonts/zh_CN/TrueType 目录中执行:
mkfontscale
mkfontdir
mkfontdir——> 执行fc-cache搜索新字体。
zysong.ttf是中文字体文件,在系统没有中文Turetype支持的时候需要。
检查/usr/share/fonts/zh_CN/TrueType目录是否存在,存在则检查zysong.ttf是否存在;不存在创建目录并上传zysong.ttf。
cp zysong.ttf /usr/share/fonts/zh_CN/TrueType/ 3.重启字体服务器 /etc/init.d/xfs restart
zysong.ttf是中文字体文件,在系统没有中文Turetype支持的时候需要。
检查/usr/share/fonts/zh_CN/TrueType目录是否存在,存在则检查zysong.ttf是否存在;不存在创建目录并上传zysong.ttf。
cp zysong.ttf /usr/share/fonts/zh_CN/TrueType/ 3.重启字体服务器 /etc/init.d/xfs restart
相关阅读 更多 +