Skip to content

UBUNTU安装微软雅黑

2009 十一月 3
tags: ,
by 荒野无灯

1.准备好雅黑字体,名字叫msyh.ttf和 msyhbd.ttf , 这个在windows vista 或7 的 c:\windows\fonts目录下,注意直接在这里是不可以复制的,要用copy 命令复制出来。
2.将字体放入字体文件夹

1
2
3
4
5
6
7
8
9
10
11
sudo su
mkdir /usr/share/fonts/winfonts
cd /usr/share/fonts/winfonts
#将字体文件复制过来
cp /home/ftp/VISTAfont/*.* .
#修改字体权限,确保root以外的普通用户也可以正常使用该字体
chmod 755 /usr/share/fonts/winfonts/*
#建立字体缓存
mkfontscale
mkfontdir
fc-cache -fv

这里我是在本机架設了ftp服务器,直接从同学的电脑上ftp 到我的机子上啦,当然你也可以用u盘啦。
install ms yahei

cache

4.重启X,设置系统字体。
系统字体设置:桌面右键──Change Desktop Background──Fonts选项,将字体都改为“微软雅黑”

喜欢这篇文章吗?

请订阅本站 RSS feed填写您的邮件地址,订阅我们的精彩内容:,欢迎点击这里捐赠以支持荒野无灯转播到腾讯微博 转播到腾讯微博

作者:荒野无灯
出处:Hacklog【Hacklog】

声明: 本站遵循 署名-非商业性使用-相同方式共享 3.0 共享协议. 转载请注明转自Hacklog【荒野无灯weblog】

本文链接: http://ihacklog.com/?p=2905

2 Responses Post a comment
  1. 十一月 3, 2009

    9.10已经改善字体安装的体验叻,找到字体文件直接双击就安装好叻~

Leave a Reply

Allowed Tags - You may use these HTML tags and attributes in your comment.

<a href="" title=""> <abbr title=""> <acronym title=""> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <q cite=""> <strong>

 :wink:  :-|  :-x  :twisted:  :)  8-O  :(  :roll:  :-P  :oops:  :-o  :mrgreen:  :lol:  :idea:  :-D  :evil:  :cry:  8)  :arrow:  :-?  :?:  :!:

Note: You may use basic HTML in your comments. Your email address will not be published.

Subscribe to this comment feed via RSS