ecomfe / fontmin

Minify font seamlessly
http://ecomfe.github.io/fontmin
MIT License
5.61k stars 311 forks source link

maxp: Bad maxZones: 0 warning is reported by firefox looks good in chrome and edge #83

Open gatlesan opened 3 years ago

gatlesan commented 3 years ago

We are using a script using fontmin: 0.9.8 to convert ttf files to woff/woff2 when we use the converted version rendering works fine but it looks like firefox throws,

downloadable font: maxp: Bad maxZones: 0 (font-family: "myFirstFont" style:normal weight:400 stretch:100 src index:0) source: converted-from-ttf.woff warning

edent commented 2 years ago

As per https://github.com/League-of-Foundry-Developers/fvtt-module-polyglot/issues/64 this is caused by having a space between the property name and value.

Change: (font-family: "myFirstFont"

To: (font-family:"myFirstFont"

That is, remove the space character after the :