Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

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
  • 1 nwere nsogbu anwere nsogbu a
  • 1 view
  • Nzaghachi ikpeazụ nke 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.
Nseta ihuenyo ndị agbakwunyere

Asịsa ahọpụtara

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.

Gụọ azịza a na nghọta 👍 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.

Edeziri site na 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.

Edeziri site na rontarrant

more options

Asịsa Ahọpụtara

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.