如何修改firebug的默认字体?

时间:2011-05-06 05:58:09

标签: fonts firebug

在Firebug中,默认字体对我来说不太舒服,我在Firefox menubar-> tools->选项中进行了更改,但它没有用。

3 个答案:

答案 0 :(得分:5)

如果您只想更改字体大小,请使用about:config页面并更改选项extensions.firebug.textSize或使用firebug菜单中的Increase font sizeDecrease 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)

enter image description here

如果你使用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。