红联Linux门户
Linux帮助
当前位置: 红联Linux门户 > Ubuntu

ubuntu字体

发布时间:2007-11-19 11:07:45来源:红联作者:beautyfitn
从xp下面copy这2个字体
sudo mkdir -p /usr/share/fonts/zh_CN/TrueType/

sudo cp /home/yang/字体/simsun.ttc /usr/share/fonts/zh_CN/TrueType/

sudo cp /home/yang/字体/tahoma.ttf /usr/share/fonts/zh_CN/TrueType/

sudo chmod 644 /usr/share/fonts/zh_CN/TrueType/*

cd /usr/share/fonts/zh_CN/TrueType/

sudo mkfontscale

sudo mkfontdir

更新linux字体列表,命令:
sudo fc-cache /usr/share/fonts/zh_CN/TrueType/

通过替换/etc/fonts/language-selector.conf来配置字体,只有这么配置後,才能达到美化的效果,不要更改/etc/fonts/fonts.conf。
文章评论

共有 1 条评论

  1. jerrya 于 2007-11-20 10:13:16发表:

    发图上来看看是相当有必要滴呀!