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! 🎁

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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

  • 10 svar
  • 1 har dette problemet
  • 1 view
  • Siste svar av 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.
Attached screenshots

Valgt løsning

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.

Les dette svaret i sammenhengen 👍 0

All Replies (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.

Endret av 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.

Endret av rontarrant

more options

Valgt løsning

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.