在Firebug中,默认字体对我来说不太舒服,我在Firefox menubar-> tools->选项中进行了更改,但它没有用。
答案 0 :(得分:5)
如果您只想更改字体大小,请使用about:config
页面并更改选项extensions.firebug.textSize
或使用firebug菜单中的Increase font size
和Decrease font size
选项(菜单和热键不会在我的笔记本电脑上使用FF4和Win7。)
如果要更改UI元素的字体系列,可以修改扩展目录(c:\Users\myusername\AppData\Roaming\Mozilla\Firefox\Profiles\nd21zknl.default\extensions\firebug@software.joehewitt.com.xpi\skin\classic\firebug.css
中的firebug css文件)。
答案 1 :(得分:0)
无需修改扩展程序的文件(并在每次Firebug更新后再次执行此操作...)
您所要做的就是向文件<FirefoxProfile>/chrome/userChrome.css
添加规则(如果它尚不存在则创建它):
#fbCommandArrow, .fbCommandLine, #fbCommandEditor {
font-family: Consolas, monospace !important; /* default: monospace */
}
答案 2 :(得分:0)
如果你使用Firebug 1.11+,你可以这样做:
1)使用Winrar / Winzip存档程序打开firebug@software.joehewitt.com.xpi
或.xpi文件(提取)
2)搜索line-family:monospace;在所有.css文件中
3)替换所有font-family: monospace;
=&gt; font-family: consolas, monospace !important;
4)保存文件,存档(zip,rar),然后更改它的扩展名=&gt; .xpi
5)重启Firefox。