為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

unchecking "Allow pages to choose their own fonts, instead of your selections above" has no effect

  • 10 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 cor-el

more options

MSI GE72 2QF Apache Pro notebook (stock) Windows 10 Pro Firefox 63.0.3

I recently reinstalled Windows 10 and Firefox. Before the reinstall, unchecking this box had an immediate visible effect. Now, as can be seen in the screenshot, it doesn't.

So far I've tried: - "refreshing" Firefox to defaults and unchecking the box again, - going into "about:config" and changing the value of "browser.display.use_document_fonts" to "0"

Neither of these things worked.

On my other two computers, one of which was bought new less than three weeks ago, unchecking the box does what it's supposed to do.

MSI GE72 2QF Apache Pro notebook (stock) Windows 10 Pro Firefox 63.0.3 I recently reinstalled Windows 10 and Firefox. Before the reinstall, unchecking this box had an immediate visible effect. Now, as can be seen in the screenshot, it doesn't. So far I've tried: - "refreshing" Firefox to defaults and unchecking the box again, - going into "about:config" and changing the value of "browser.display.use_document_fonts" to "0" Neither of these things worked. On my other two computers, one of which was bought new less than three weeks ago, unchecking the box does what it's supposed to do.
附加的畫面擷圖

被選擇的解決方法

Toggling this font setting won't have effect if a web page doesn't set its own font(s) because then the default font is used. You should see effect on pages that use a special icon font for some images.

從原來的回覆中察看解決方案 👍 0

所有回覆 (10)

more options

How does the browser.display.use_document_fonts pref show on the about:config page?

You can check for problems with preferences.

You can use the button on the "Help -> Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page.

more options

browser.display.use_document_fonts has a value of '0'

There is no user.js file and no numbered prefsXX.js files.

I renamed prefs.js to prefs.js.backup, then went into Options and unchecked that checkbox again, but still no luck.

Good tip for getting to the profile folder. Thanks.

I read through both articles, but didn't find an answer. One thing I just thought to try is dig up the backup copy of my profile and copy the prefs.js from there into my profile folder. That's what I'll be trying next.

more options

Follow up: Nope, recopying my old prefs.js file didn't work. After doing so, I started Firefox, but it refused to bring up any web page. (I tried several, including Facebook, gMail, and YouTube.)

Any other info I can bring to the discussion?

more options

No one else has any insight into this?

more options

New info: I looked at prefs.js and the setting for display.use_document_fonts is set to '0' which should mean web sites are NOT allowed to pick their own fonts.

So, it's not a preferences problem. Firefox is ignoring this setting. That sounds like a bug.

more options

More new info: I disabled all addons and extensions. Still no luck, so I'm gonna say that none of my addons or extensions are causing the problem.

more options

Still have this problem, even on Linux.

About 25% of sites are affected by turning off "Allow pages to choose their own fonts."

Perhaps this is because so many sites are now using WordPress and/or markdown?

I'd really like to find an answer to this. I'm tired of having to copy/paste anything I need to read into a word processor.

由 rontarrant 於 修改

more options

I just checked about:config and browser.display.use_document_fonts doesn't change when the checkbox is checked or unchecked. It's always 0. Perhaps this is the problem?

more options

Ha! I have a workaround.

In Fonts > Advanced, I set sans-serif to a serif font. Now it works, except not in the Firefox Preferences page. Now isn't that odd?

Still, not the expected behaviour. Someone might wanna have a look at this.

由 rontarrant 於 修改

more options

選擇的解決方法

Toggling this font setting won't have effect if a web page doesn't set its own font(s) because then the default font is used. You should see effect on pages that use a special icon font for some images.