firefox官方doc中写道:
代码: 全选
Much of Mozilla's fonts and colors are controlled via CSS (Cascading Style Sheets).
These are set in .css files in Mozilla's chrome directories, but the user can override them with two plain text files, called userContent.css and userChrome.css.
1、建立*.css
代码: 全选
$cd ~/.mozilla/firefox/*.default/chrome
$cp userChrome-example.css userChrome.css
$cp userContent-example.css userContent.css
1)把下面一段attach到userChrome.css后面:
代码: 全选
* {
font-size: 9pt !important;
font-family: 微软雅黑 !important;
}
上面的通配符,包括了bookmarks和tab字体的显示。有这方面困惑的朋友不妨一试。
2)把下面一段attach到userContent.css后面:
代码: 全选
* {
font-size: 9pt !important;
font-family: 微软雅黑 !important;
}
很明显这是网页内容的字体设置了。
3、Notes:
1)浏览器的preference中的font类型设置,默认就行。请允许页面选择自己的字体,这也是默认的。调整好最小字体大小。
2)1024x768的dpi(gnome的在字体设置的details里面),最好设置为90左右。gnome程序界面字体大小,请自行调整。别的分辨率的dpi,请google。
3)通配符未免一棒打死,失去了页面的多样性。深入些的,请查看官方css自定义帮助。