Webfonts无法在Firefox Developer Edition 54.0a2中运行

时间:2017-04-09 08:10:14

标签: html css firefox webfonts

我的CSS文件中有两个webfonts;一种字体和一种图标字体。在Chrome,Firefox和Internet Explorer中,一切都运行得很好,但Firefox Dev Edition 54.0a2在控制台中给了我很多错误(对于字体,而不是图标字体):

downloadable font: Layout: Lookup flags require GDEF table, but none was found: 8 ... source: ....woff  style.css:18:86235
downloadable font: Layout: Failed to parse lookup 0 ... source: ....woff  style.css:18:86235
downloadable font: GSUB: Failed to parse lookup list table ... source: ....woff  style.css:18:86235
downloadable font: rejected by sanitizer ... source: ....woff  style.css:18:86235
downloadable font: Layout: Lookup flags require GDEF table, but none was found: 8 ... source: ....ttf  style.css:18:86235
downloadable font: Layout: Failed to parse lookup 0 ... source: ....ttf  style.css:18:86235
downloadable font: GSUB: Failed to parse lookup list table ... source: ....ttf  style.css:18:86235
downloadable font: rejected by sanitizer ... source: ....ttf

我该怎么办? 谢谢!

1 个答案:

答案 0 :(得分:1)

修正了它,只使用了Font2Web而不是FontSquirrel。