Chinaunix首页 | 论坛 | 博客
  • 博客访问: 649614
  • 博文数量: 780
  • 博客积分: 10000
  • 博客等级: 上将
  • 技术积分: 4885
  • 用 户 组: 普通用户
  • 注册时间: 2008-08-22 16:14
文章分类

全部博文(780)

文章存档

2008年(780)

我的朋友

分类: LINUX

2008-08-22 16:23:05


1,添加windows中文字体
1.1,考本准备文件
[root@bigboar~]#mkdir/usr/share/fonts/chinese/custom
[root@bigboar~]#chmod-R755/usr/share/fonts/chinese/custom
[root@bigboar~]#cd/usr/share/fonts/chinese/custom/
[root@bigboarcustom]#ttmkfdir-e/usr/share/X11/fonts/encodings/encodings.dir

windows的字体,在控制面板里拷贝总感觉好像是拷贝不全,可以直接在c:/windows/fonts(路径好像是这个)目录把整个目录拷贝走

1.2,修改配置文件
1)在/etc/fonts/fonts.conf文件后添加一行:“/usr/share/fonts/chinese/custom
如:

/usr/share/fonts/chinese/custom
/usr/share/fonts
2)更改/etc/X11/xorg.conf文件,在FontPath"unix/:7100"一行的前面加上一行:“FontPath"/usr/share/fonts/chinese/custom"”
重启xfs服务器(或注销root);
[root@bigboarcustom]#/etc/init.d/xfsrestart
重新启动xfs:
关闭xfs:[确定]
启动xfs:[确定]
[root@bigboarcustom]#

2,字体设置:GNOME桌面环境的的字体设置:桌面->首选项->字体
桌面程序字体Tahoma10
文档字体Tahoma10
桌面字体Tahoma10
窗口标题字体TahomaBold11
等宽字体Monospace
字体渲染最佳形状

3,Firefox浏览器的字体设置:编辑->首选项->内容->字体和颜色->高级
语言编码:简体中文
比例字体:无衬线字体大小:16
衬线字体:Tahoma
无衬线字体:Tahoma
等宽字体:Monospace大小:16
屏幕解析度:96dpi最小字体:12
要把允许页面选择字体而无需使用上面的字体选中;

4,终端字体设置:
选择“LuxiMono”,大小设置为13。字体显示非常好。 下载本文示例代码
阅读(214) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~