搜尋 Mozilla 技術支援網站

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

了解更多

Font-face not working on latest Firefox version

more options

I use a font-face on my website and since Firefox was updated to 44.0.2, that font isn't loading anymore. See one of some errors I got, from log:

Hora: 16/02/2016 17:20:28 Erro: downloadable font: Layout: DFLT table doesn't satisfy the spec. for script tag DFLT (font-family: "myriadset_regular" style:normal weight:normal stretch:normal src index:1) source: http://solowp.local/wp-content/themes/soloblue/style/type/myriadsetpro/myriad-set-pro_text-webfont.woff2 Arquivo-fonte: http://solowp.local/wp-content/themes/soloblue/style/type/myriadsetpro/stylesheet.css Linha: 37, Coluna: 12 Código-fonte: @font-face { font-family: "myriadset_regular"; font-style: normal; font-weight: normal; src: url("myriad-set-pro_text-webfont.eot?#iefix") format("embedded-opentype"), url("myriad-set-pro_text-webfont.woff2") format("woff2"), url("myriad-set-pro_text-webfont.woff") format("woff"), url("myriad-set-pro_text-webfont.ttf") format("truetype"), url("myriad-set-pro_text-webfont.svg#myriad_set_protext") format("svg"); }

Before the update, everything was working fine. So dear Mozilla, how to fix that? Are the updates to help or make our life a hell?

I use a font-face on my website and since Firefox was updated to 44.0.2, that font isn't loading anymore. See one of some errors I got, from log: Hora: 16/02/2016 17:20:28 Erro: downloadable font: Layout: DFLT table doesn't satisfy the spec. for script tag DFLT (font-family: "myriadset_regular" style:normal weight:normal stretch:normal src index:1) source: http://solowp.local/wp-content/themes/soloblue/style/type/myriadsetpro/myriad-set-pro_text-webfont.woff2 Arquivo-fonte: http://solowp.local/wp-content/themes/soloblue/style/type/myriadsetpro/stylesheet.css Linha: 37, Coluna: 12 Código-fonte: @font-face { font-family: "myriadset_regular"; font-style: normal; font-weight: normal; src: url("myriad-set-pro_text-webfont.eot?#iefix") format("embedded-opentype"), url("myriad-set-pro_text-webfont.woff2") format("woff2"), url("myriad-set-pro_text-webfont.woff") format("woff"), url("myriad-set-pro_text-webfont.ttf") format("truetype"), url("myriad-set-pro_text-webfont.svg#myriad_set_protext") format("svg"); } Before the update, everything was working fine. So dear Mozilla, how to fix that? Are the updates to help or make our life a hell?

所有回覆 (2)

more options

See the discussion in these bug reports:

  • bug 1239176 - OTS font sanitizer rejects fonts opening a new Google docs document
  • bug 1244693 - FF 44 fails to load some WOFF fonts

Please do not comment in bug reports
https://bugzilla.mozilla.org/page.cgi?id=etiquette.html

more options

I read those two bugs, and this is my summary:

  • Firefox 44 generates that error when it finds some problems in the internal format of part of the font file.
  • Firefox 45 is not going to generate that error because it will no longer be performing that format check.

But as of today, that doesn't help you. Could you check with your font provider on whether updates are available?