Chinaunix首页 | 论坛 | 博客
  • 博客访问: 15318483
  • 博文数量: 2005
  • 博客积分: 11986
  • 博客等级: 上将
  • 技术积分: 22535
  • 用 户 组: 普通用户
  • 注册时间: 2007-05-17 13:56
文章分类

全部博文(2005)

文章存档

2014年(2)

2013年(2)

2012年(16)

2011年(66)

2010年(368)

2009年(743)

2008年(491)

2007年(317)

分类: LINUX

2008-09-07 14:57:13

fedora9下添加windows的ttf字体到系统

1.可以安装windows xp的ttf字体,比如微软雅黑.
下载地址:
[luther@gp ~]$ sudo mkdir -p /usr/share/fonts/yahei
[luther@gp Fonts]$ sudo cp msyh.ttf /usr/share/fonts/yahei/   # 在windows/Fonts目录下
[luther@gp ~]$ cd /usr/share/fonts/yahei
[luther@gp yahei]$ sudo ttmkfdir -o fonts.scale
[luther@gp yahei]$ sudo mkfontdir
[luther@gp yahei]$ fc-cache -fv
[luther@gp yahei]$ fc-list |grep Ya     #检查一下
微软雅黑,Microsoft YaHei:style=Normal,obyčejné,Standard,Κανονικά,Regular,Normaali,Normál,Normale,Standaard,Normalny,Обычный,Normálne,Navadno,Arrunta
2.依照同样的方法安装simsun.ttc字体
[luther@gp ~]$ sudo mkdir -p /usr/share/fonts/simsun
[luther@gp Fonts]$ sudo cp simsun.ttc /usr/share/fonts/simsun/
[luther@gp ~]$ cd /usr/share/fonts/simsun
[luther@gp yahei]$ sudo ttmkfdir -o fonts.scale
[luther@gp yahei]$ sudo mkfontdir
[luther@gp yahei]$ fc-cache -fv
[luther@gp simsun]$ fc-list |grep Sim   #检查一下
新宋体,NSimSun:style=Regular
宋体,SimSun:style=Regular
这样firefox可以设置"微软雅黑"或者simsun"新宋体"了[luther.gliethttp].

fedora9中文下,
系统=>首选项=>观感=>外观=>字体
这是v3162au笔记本+fc9的效果图:

阅读(2382) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~