Ubuntu中使用XP字体美化汉字

字体大小: 中小 标准 ->行高大小: 标准
拷贝3个字体文件(simsun.ttc SURSONG.TTF tahoma.ttf)到/usr/share/fonts/zh_CN/TrueType/ 目录, 命令:
mkdir -p /usr/share/fonts/zh_CN/TrueType/
sudo cp /media/hda1/windows/fonts/simsun.ttc /usr/share/fonts/zh_CN/TrueType/
sudo cp /media/hda1/windows/fonts/SURSONG.TTF /usr/share/fonts/zh_CN/TrueType/
sudo cp /media/hda1/windows/fonts/tahoma.ttf /usr/share/fonts/zh_CN/TrueType/
sudo cp /media/hda1/windows/fonts/tahomabd.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。
gksu gedit etc/fonts/language-selector.conf
修改为:

此文章由 http://www.ositren.com 收集整理 ,地址为: http://www.ositren.com/htmls/47421.html