搜索 | 用户支持

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

详细了解

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.