如何更改Firebug的默认字体?

3
在Firebug中,默认字体对我来说不太舒适,我尝试在Firefox菜单栏->工具->选项中进行更改,但并没有生效。
3个回答

5
如果您想仅更改字体大小,请使用about:config页面并更改选项extensions.firebug.textSize,或在firebug菜单中使用Increase font sizeDecrease font size选项(菜单和热键在我的笔记本电脑上的FF4和Win7上无法使用)。
如果您想更改UI元素的字体系列,可以修改位于扩展目录中的firebug css文件(对于我来说是c:\Users\myusername\AppData\Roaming\Mozilla\Firefox\Profiles\nd21zknl.default\extensions\firebug@software.joehewitt.com.xpi\skin\classic\firebug.css)。

0

enter image description here

如果您使用Firebug 1.11+,您可以这样做:
1)使用Winrar / Winzip存档程序打开firebug@software.joehewitt.com.xpi或您的.xpi文件(提取)
2)在所有.css文件中搜索行字体:等宽字体;
3)将所有font-family: monospace;替换为font-family: consolas, monospace !important; 4)保存文件,进行归档(zip、rar),然后更改其扩展名为.xpi 5)重新启动Firefox。

0

无需修改扩展文件(并在每次Firebug更新后再次执行...)

您只需要向文件<FirefoxProfile>/chrome/userChrome.css添加规则(如果尚不存在,请创建它):

#fbCommandArrow, .fbCommandLine, #fbCommandEditor {
    font-family: Consolas, monospace !important; /* default: monospace */
}

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接