Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

Several Google fonts not working in Firefox 57

  • 8 réponses
  • 63 ont ce problème
  • 115 vues
  • Dernière réponse par mtbksouth

more options

Having a problem with several Google fonts not loading in Firefox 57, when they worked in 56. Tried importing the font into the style sheet and calling external stylesheet in head. Same result. No errors in Web Console to indicate a problem loading.

However, it does seem isolated to specific fonts because some don't work, and others do work.

Any ideas? I'm on Windows 7 64bit, with Firefox 57.

Having a problem with several Google fonts not loading in Firefox 57, when they worked in 56. Tried importing the font into the style sheet and calling external stylesheet in head. Same result. No errors in Web Console to indicate a problem loading. However, it does seem isolated to specific fonts because some don't work, and others do work. Any ideas? I'm on Windows 7 64bit, with Firefox 57.

Solution choisie

This problem was solved by adjusting the Firefox config.

--- If locally installed fonts aren't working then this is likely a sandbox security issue. You can set this pref to 2 or 1 on the about:config page to lower the sandbox security setting.

  • security.sandbox.content.level = 1
  • close and restart Firefox to make the change effective.

If '1' still doesn't have effect then try '0' to disable the sandbox. If this didn't work then undo/reverse the change and reset the pref via the right-click context menu to the default value. --

As discussed [https://support.mozilla.org/en-US/que.../1187672]

Lire cette réponse dans son contexte 👍 11

Toutes les réponses (8)

more options

Well, turns out it is because I have the same font installed locally on my system. Some of the Google fonts don't work as Web fonts in Firefox 57 when installed on the system.

I never had this problem in Firefox 56. Must be something about how Firefox handles fonts? Same font's work fine in other browsers.

Maybe this will help someone else. Thanks

more options

Solution choisie

This problem was solved by adjusting the Firefox config.

--- If locally installed fonts aren't working then this is likely a sandbox security issue. You can set this pref to 2 or 1 on the about:config page to lower the sandbox security setting.

  • security.sandbox.content.level = 1
  • close and restart Firefox to make the change effective.

If '1' still doesn't have effect then try '0' to disable the sandbox. If this didn't work then undo/reverse the change and reset the pref via the right-click context menu to the default value. --

As discussed [https://support.mozilla.org/en-US/que.../1187672]

Modifié le par cor-el

more options

What sandbox setting worked for you?

Was the '2' setting sufficient?

more options

Forgot to mention that.

I set it to '2' (from '3') and that fixed the problem completely with all Google fonts.

Thanks for your help.

more options

You're welcome and thanks for confirming that 2 works.

more options

This is fine for an individual to change their settings when they notice pages aren't displaying correctly (if they realize something is wrong and the page isn't just designed terrible) but it has a big effect as a developer, we can't tell people to go change their firefox settings so they will see our page as it was designed to be.

more options

I completely agree with LMH77. Most people wouldn't know there is a problem and wouldn't know to configure their browser.

But after mentioning this problem on Mozilla and Google Font forums, this the only answer I got that worked.

The only alternative I can see is choosing one of the select Google fonts that still works when not changing Firefox configuration. Or that most people don't have the Google font installed locally, so they will see it correctly.

All I know is it worked fine Firefox 56, can we go back to that configuration on the next update? :) .. Quantum leap to using Chrome instead.

more options

Still an issue. I had to set my sandbox to 1 before it worked. Had question-marks instead of characters on numerous websites, including gmail. Had to use chrome until I found this thread.