红联首页 凝聚Linux人的力量
菜鸟过关 | 精华文档 | 同城人(交友) | 我与Linux的故事 | Linux新闻 | Linux视频 | Linux人才 | 软件下载 | 大学校园 | English
发新话题
打印

Fedora 8中ThunderBird和firefox使用雅黑字体

Fedora 8中ThunderBird和firefox使用雅黑字体

简单的配置就是在首选项中设置好使用雅黑字体,网页和邮件就基本上已经全部可用雅黑来显示了

但是菜单栏和插件栏仍然是原来的字体,很不雅观,这时使用如下方法:

分别找到在你的主目录下找到.mozilla/firefox/hhiszzo7.default/chrome和/home/xelnaga/.thunderbird/yk0zvgpc.default/chrome目录

没有的话就新建一个。

然后分别在这两个目录中新建同一文件userChrome.css

配置文件比较简单,用于指定字体种类和大小,很容易看懂,如果想使用其他字体,可以参照修改
复制内容到剪贴板
代码:
/*
* Edit this file and copy it as userChrome.css into your
* profile-directory/chrome/
*/

/*
* This file can be used to customize the look of Mozilla's user interface
* You should consider using !important on rules which you want to
* override default settings.
*/

/*
* Do not remove the @namespace line -- it's required for correct functioning
*/
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */


/*
* Some possible accessibility enhancements:
*/
* {
font-size: 10pt !important;
}
* {
font-family: Microsoft YaHei !important;
}
/*
* Make all the default font sizes 20 pt:
*
* * {
*   font-size: 20pt !important
* }
*/
/*
* Make menu items in particular 15 pt instead of the default size:
*
* menupopup > * {
*   font-size: 15pt !important
* }
*/
/*
* Give the Location (URL) Bar a fixed-width font
*
* #urlbar {
*    font-family: monospace !important;
* }
*/

/*
* Eliminate the throbber and its annoying movement:
*
* #throbber-box {
*   display: none !important;
* }
*/

/*
* For more examples see http://www.mozilla.org/unix/customizing.html
*/
最后,重新启动程序,就可以了!

在Fedora 8系统环境下通过!

gcell - http://gcell.blog.163.com/

TOP

好像现在很多LINUX 人都拒绝公开讨论YAHEI的问题,据说容易给WIN的死党留下口实

TOP

引用:
原帖由 lidin999 于 2007-11-16 11:11 发表
好像现在很多LINUX 人都拒绝公开讨论YAHEI的问题,据说容易给WIN的死党留下口实
雅黑字体又不是最舒服的字体~
GF要我戒咖啡,却又给我买咖啡奶球!
Blog.im321.com

TOP

引用:
原帖由 marco.chan 于 2007-11-16 12:26 发表


雅黑字体又不是最舒服的字体~
嘿嘿~~刚从那里爬出来的人,习惯了用那个字体;由此可以看到有点软的东西害人不浅

TOP

默认的温泉字体还将就用着
"Genius is one percent inspiration and 99 percent perspiration" --- Thomas Alva Edison.

TOP

发新话题