首页 > 系统 > Linux > 正文

Ubuntu中使用XP字体美化汉字

2020-06-07 13:09:07
字体:
来源:转载
供稿:网友
拷贝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 mkfontscalesudo 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
修改为:
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表