Join the Mozilla’s Test Days event from Dec 2–8 to test the new Firefox address bar on Firefox Beta 134 and get a chance to win Mozilla swag vouchers! 🎁

为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

How to change Library Font (Ctrl B or Ctrl J)? It's too hard to read

more options

I was able to change the font in Ctrl J by changing my system font (windows 10, Firefox font used to automatically follow it). However after the latest Firefox update, that no longer works for Firefox (my system font is still OK). Please help me change the Libabry font again! The default font (probably SegoeUI) is very hard to read on my computer, it's blurry and comes in light gray.

Note: I'm not talking about the website font (it's fine and can be changed in Firefox settings). The library font size is fine too, only the font itself is too hard to read.

Note2: I tried changing my system font to other random fonts (using the registry), restarting my computer in between etc. That still works, but Firefox won't follow.

I was able to change the font in Ctrl J by changing my system font (windows 10, Firefox font used to automatically follow it). However after the latest Firefox update, that no longer works for Firefox (my system font is still OK). Please help me change the Libabry font again! The default font (probably SegoeUI) is very hard to read on my computer, it's blurry and comes in light gray. Note: I'm not talking about the website font (it's fine and can be changed in Firefox settings). The library font size is fine too, only the font itself is too hard to read. Note2: I tried changing my system font to other random fonts (using the registry), restarting my computer in between etc. That still works, but Firefox won't follow.
已附加屏幕截图

被采纳的解决方案

Firefox 90 has various memory/speed optimizations related to fonts. I suggest checking this one:

Windows Font Substitutions

Previously, the system's font substitutions table was used to override requested fonts, but now the table is only used if the requested font isn't available. Since interface fonts like "Segoe UI" are always available, you get that instead of your preferred font.

Try changing the following preference to revert to the old behavior and see whether this resolves the interface font issue:

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button accepting the risk.

(2) In the search box in the page, type or paste gfx.windows-font-substitutes.always and pause while the list is filtered

(3) Double-click the preference to switch the value from false to true -- you might need to do a regular exit/restart of Firefox for that to take effect, I don't have a way to test this

Did that make any difference?

More info on about:config: Configuration Editor for Firefox.

定位到答案原位置 👍 1

所有回复 (3)

more options

I would try adding this line in the body of one of the paragraphs in your profile's (about:profiles) chrome/userChrome.css file:

font-family: "Segoe UI" !important;

https://developer.mozilla.org/en-US/docs/Web/CSS/font-family https://docs.microsoft.com/en-us/typography/fonts/windows_10_font_list

If that does not work I would try running Firefox in WSL2.

more options

选择的解决方案

Firefox 90 has various memory/speed optimizations related to fonts. I suggest checking this one:

Windows Font Substitutions

Previously, the system's font substitutions table was used to override requested fonts, but now the table is only used if the requested font isn't available. Since interface fonts like "Segoe UI" are always available, you get that instead of your preferred font.

Try changing the following preference to revert to the old behavior and see whether this resolves the interface font issue:

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button accepting the risk.

(2) In the search box in the page, type or paste gfx.windows-font-substitutes.always and pause while the list is filtered

(3) Double-click the preference to switch the value from false to true -- you might need to do a regular exit/restart of Firefox for that to take effect, I don't have a way to test this

Did that make any difference?

More info on about:config: Configuration Editor for Firefox.

more options

Thanks jscher2000, you're a legend!

@JP: Using CSS you need to change the font for each part of the brower. Entering [font-family: "Arial" !important;] itself doesn't do anything. I can change most things but not Ctrl D, right click, and the organize line in the library (and probably some others I haven't noticed yet), resulting in a mishmash of the desired font and Segoe UI.

jscher2000's solution is complete and much easier to do.