下载雅黑字体: http://www.box.net/shared/lvh50qodvn 1.下载后将字体放到 /usr/share/fonts/vista/(怎么下载字体和怎么放到vista目录中不用我教了吧) 接下来一定要执行sudo chmod go rx *.ttf,这点很重要 2.建立字体缓存信息 代码: sudo mkfontscale sudo mkfontdir sudo fc-cache -fv 3.将附件解压并拷贝配置文件到 /etc/fonts/ 下 4.覆盖local.conf文件 代码: cd /etc/fonts/conf.avail sudo cp ../local.conf 51-local.conf #覆盖51-local.conf 5.修改配置文件 代码: cd /etc/fonts/conf.avail sudo mv 69-language-selector-zh-cn.conf 69-language-selector-zh-cn.conf.old 或者干脆删掉 6.调整字体选项。 系统–》首选项–》字体: 除了等宽字体外全部选择微软雅黑 字体渲染选择次像素平滑!(这一步是设置应文字体) 7.重启X(ctrl alt backspace) 你会发现系统中几乎所有字体都变为雅黑了!包括好多人反映的firefox与系统字体不一致的问题,firefox的字体(包括菜单和网页中)都是雅黑的。 我只发现一个地方不是雅黑的,那就是pidgin 2.4.1中对方回复的字体不是雅黑,不知道为什么。其他的都是雅黑字体。 另外,按照以上方法安装雅黑后,再安装fcitx字体就不会出现方块的问题了,而且字体也是雅黑的哟! yahei.tar.gz 描述: 字体配置文件 screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='Click here to open new window\nCTRL Mouse wheel to zoom in/out';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor='hand'; this.alt='Click here to open new window\nCTRL Mouse wheel to zoom in/out';}" onclick="if(!this.resized) {return true;} else {window.open('http://forum.ubuntu.org.cn/images/icon_clip.gif');}" onmousewheel="return imgzoom(this);" alt="" /> 下载 文件名: yahei.tar.gz 文件大小: 3.52 KB 下载过的: 文件被下载或查看 2837 次 |
|小黑屋|最新主题|手机版|微赢网络技术论坛 ( 苏ICP备08020429号 )
GMT+8, 2024-9-30 03:19 , Processed in 0.194152 second(s), 12 queries , Gzip On, MemCache On.
Powered by Discuz! X3.5
© 2001-2023 Discuz! Team.