文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>RHEL4 U2 安装Windows字体及圆体字美化

RHEL4 U2 安装Windows字体及圆体字美化

时间:2006-10-01  来源:anima

RHEL4 U2 安装Windows字体及圆体字美化

一、安装Windows字体(Microsoft Truetype Fonts)

[root@localhost lwg]# rpm -ivh disk/softs/Windows-Fonts/TruetypeFonts/msttcorefonts-1.3-3.noarch.rpm
[root@localhost lwg]# /etc/init.d/xfs restart

如果未运行 “xfs”服务,就没有必要重启 xfs 。

二、圆体字美化

解压字体文件到字体文件夹:
[root@localhost lwg]# tar zxvf disk/softs/圆体字美化/VeraSansYuanTi.tar.gz -C /usr/share/fonts/
VeraSansYuanTi/fonts.scale
VeraSansYuanTi/fonts.dir
VeraSansYuanTi/fonts.conf
VeraSansYuanTi/VeraSansYuanTiMono-Regular.ttf
VeraSansYuanTi/VeraSansYuanTiMono-Italic.ttf
VeraSansYuanTi/VeraSansYuanTiMono-BoldItalic.ttf
VeraSansYuanTi/VeraSansYuanTiMono-Bold.ttf
VeraSansYuanTi/VeraSansYuanTi-Regular.ttf
VeraSansYuanTi/VeraSansYuanTi-Italic.ttf
VeraSansYuanTi/VeraSansYuanTi-BoldItalic.ttf
VeraSansYuanTi/VeraSansYuanTi-Bold.ttf

刷新字体缓存:
[root@localhost lwg]# fc-cache -f

备份现有的 fonts.conf :
[root@localhost lwg]# cp /etc/fonts/fonts.conf /etc/fonts/fonts.conf.backup

使用新的 fonts.conf :
[root@localhost lwg]# cp /usr/share/fonts/VeraSansYuanTi/fonts.conf /etc/fonts/
cp:是否覆盖‘/etc/fonts/fonts.conf’? y
[root@localhost lwg]#

重启X:
按住组合键“Ctrl +Alt + 退格键”,重新启动X。完成字体美化。
相关阅读 更多 +
排行榜 更多 +
Office转换器

Office转换器

商务办公 下载
牛杂网

牛杂网

购物比价 下载
极上红颜

极上红颜

角色扮演 下载