ThunderBird和firefox使用雅黑字体

王朝other·作者佚名  2008-05-18
窄屏简体版  字體: |||超大  

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

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

分别找到在你的主目录下找到.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 ... 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

*/

最后,重新启动程序,就可以了!

Update:

如果文本框和按钮字体依然没有改变,需要修改同一目录下的userContent.css文件,加入一下内容,如果没有新建即可:

引用:

* {

font-family: Microsoft YaHei !important;

}

在Fedora 8系统环境下通过!

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
 
 
© 2005- 王朝網路 版權所有 導航