Chinaunix首页 | 论坛 | 博客
  • 博客访问: 6538385
  • 博文数量: 1159
  • 博客积分: 12444
  • 博客等级: 上将
  • 技术积分: 12570
  • 用 户 组: 普通用户
  • 注册时间: 2008-03-13 21:34
文章分类

全部博文(1159)

文章存档

2016年(126)

2015年(350)

2014年(56)

2013年(91)

2012年(182)

2011年(193)

2010年(138)

2009年(23)

分类: LINUX

2010-03-22 18:59:48

fedora12 微软雅黑

把msyh.ttf和msyhbd.ttf文件复制到  $HOME/.fonts  目录中

[ztg@localhost ~]$ mkdir .fonts
[ztg@localhost ~]$ cp 微软雅黑/* .fonts/
[ztg@localhost ~]$ ls .fonts
msyhbd.ttf  msyh.ttf
[ztg@localhost ~]$ cd .fonts
[ztg@localhost .fonts]$ chmod 755 *
[ztg@localhost .fonts]$ ll
总用量 28688
-rwxr-xr-x. 1 ztg ztg 14685740  3月 22 18:54 msyhbd.ttf
-rwxr-xr-x. 1 ztg ztg 14685740  3月 22 18:54 msyh.ttf
[ztg@localhost .fonts]$ su -c 'mkfontscale'
密码:
[ztg@localhost .fonts]$ su -c 'mkfontdir'
密码:
[ztg@localhost .fonts]$ su -c 'fc-cache -fv'
密码:
/usr/share/fonts: caching, new cache contents: 0 fonts, 29 dirs
/usr/share/fonts/abyssinica: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/bitmap: caching, new cache contents: 32 fonts, 0 dirs
/usr/share/fonts/cjkuni-ukai: caching, new cache contents: 4 fonts, 0 dirs
/usr/share/fonts/cjkuni-uming: caching, new cache contents: 4 fonts, 0 dirs
/usr/share/fonts/default: caching, new cache contents: 0 fonts, 2 dirs
/usr/share/fonts/default/Type1: caching, new cache contents: 35 fonts, 0 dirs
/usr/share/fonts/default/ghostscript: caching, new cache contents: 17 fonts, 0 dirs
/usr/share/fonts/dejavu: caching, new cache contents: 21 fonts, 0 dirs
/usr/share/fonts/jomolhari: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/kacst: caching, new cache contents: 15 fonts, 0 dirs
/usr/share/fonts/khmeros: caching, new cache contents: 3 fonts, 0 dirs
/usr/share/fonts/liberation: caching, new cache contents: 12 fonts, 0 dirs
/usr/share/fonts/lklug: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/lohit-assamese: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/lohit-bengali: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/lohit-gujarati: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/lohit-hindi: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/lohit-kannada: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/lohit-maithili: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/lohit-marathi: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/lohit-oriya: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/lohit-punjabi: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/lohit-tamil: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/lohit-telugu: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/opensymbol: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/paktype: caching, new cache contents: 2 fonts, 0 dirs
/usr/share/fonts/smc: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/stix: caching, new cache contents: 4 fonts, 0 dirs
/usr/share/fonts/thai-scalable: caching, new cache contents: 4 fonts, 0 dirs
/usr/share/fonts/un-core: caching, new cache contents: 2 fonts, 0 dirs
/usr/share/fonts/vlgothic: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/X11/fonts/Type1: skipping, no such directory
/usr/share/X11/fonts/TTF: skipping, no such directory
/usr/local/share/fonts: skipping, no such directory
/root/.fonts: skipping, no such directory
/var/cache/fontconfig: cleaning cache directory
/root/.fontconfig: not cleaning non-existent cache directory
fc-cache: succeeded
[ztg@localhost .fonts]$

然后,系统——>首选项——>外观,“字体”设置雅黑就OK了

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