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

搜索 | 用户支持

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

详细了解

Websites not using user-defined default fonts

  • 4 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 cor-el

more options

I've set custom fonts through Settings > Fonts > Advanced, but the fonts I have specified are not being used on any websites even if I uncheck the box that says "Allow pages to choose their own fonts, instead of your selections above". For example, I've set the default sans serif to Source Sans 3, but websites use Arial regardless of the settings. The only custom font I've gotten to work is Segoe UI (the UI font on Windows); all other just fall back to Arial. The problem persists even if I disable all extensions/add-ons. I'm also experiencing the problem for non-Latin scripts; I've tried to set the default Bengali font to Noto Sans Bengali, but websites are using Vrinda instead.

I'm running Firefox version 120.0 on Windows 11, any help is greatly appreciated!

I've set custom fonts through Settings > Fonts > Advanced, but the fonts I have specified are not being used on any websites even if I uncheck the box that says "Allow pages to choose their own fonts, instead of your selections above". For example, I've set the default sans serif to Source Sans 3, but websites use Arial regardless of the settings. The only custom font I've gotten to work is Segoe UI (the UI font on Windows); all other just fall back to Arial. The problem persists even if I disable all extensions/add-ons. I'm also experiencing the problem for non-Latin scripts; I've tried to set the default Bengali font to Noto Sans Bengali, but websites are using Vrinda instead. I'm running Firefox version 120.0 on Windows 11, any help is greatly appreciated!

被采纳的解决方案

In Firefox 119 Fingerprinting protection has been added to Enhanced Tracking Protection in Strict/Custom mode (Suspected fingerprinters) what affects accessing local fonts. To include user installed fonts, modify this pref on the about:config page: privacy.fingerprintingProtection.overrides => -FontVisibilityBaseSystem,-FontVisibilityLangPack

You can open the about:config page via the location/address bar. On the warning page, you can click "Accept the Risk and Continue" to open about:config.

定位到答案原位置 👍 1

所有回复 (4)

more options

Immediately after posting this I figured out the issue: I had my enhanced tracking protection set to strict, which only allows a specific list of fonts. I disabled "suspected fingerprinters" which re-allowed my custom fonts.

more options

选择的解决方案

In Firefox 119 Fingerprinting protection has been added to Enhanced Tracking Protection in Strict/Custom mode (Suspected fingerprinters) what affects accessing local fonts. To include user installed fonts, modify this pref on the about:config page: privacy.fingerprintingProtection.overrides => -FontVisibilityBaseSystem,-FontVisibilityLangPack

You can open the about:config page via the location/address bar. On the warning page, you can click "Accept the Risk and Continue" to open about:config.

more options

This has been such a headache for me since they introduced it in 117 or whenever. It's such an incredibly stupid "feature". I asked for help about this issue from the community and every response I got was people trying to gaslight me into thinking I had my system or browser configured wrong. I downgraded to 111 because I could not work around this.

cor-el said

To include user installed fonts, modify this pref on the about:config page: privacy.fingerprintingProtection.overrides => -FontVisibilityBaseSystem,-FontVisibilityLangPack

I tried this and it worked. Thank you.

The only problem now is that this issue persists when browsing localhost. I disabled "Enhanced Tracking Protection" for localhost and that did not help. I can confirm that "https://localhost" is listed under "Exceptions for Enhanced Tracking Protection"; however, it appears using the "https://" schema. I don't know if that matters; but I cannot add "http://localhost". If I remove "https://localhost" and try to add either "localhost" or "http://localhost", the item added appears with "https". Again, I don't know if that matters. And I do not understand what in the fuck Firefox is doing at this point. Designing a user agent to ignore its user's configuration is completely incomprehensible to me. This really sucks.

more options

Hi sqwishy

Did you try ETP Standard mode or Custom mode with Known fingerprinters and Suspected fingerprinters disabled as this font issue is only a problem with ETP Strict mode ?