nfroidure / svgicons2svgfont

Concatenate SVG icons and ouput an SVG font
http://nfroidure.github.io/svgiconfont/
MIT License
340 stars 71 forks source link

Invalid / corrupted woff2 ? #63

Closed lossius30 closed 7 years ago

lossius30 commented 7 years ago

Hi, After executing the command "svgicons2svgfont --fontname=TestFont --fontId=TestFont --weight=400 --prependUnicode --output=/output/ /my/svg/files/*.svg" i get my .SVG font file.

After this I convert the SVG to TTF and then TTF to WOFF2.

But there is a problem with the WOFF2 (the TTF works fine and display glyphs), firefox says :

downloadable font: Failed to convert WOFF 2.0 font to SFNT (font-family: "TestFont" style:normal weight:normal stretch:normal src index:0) source: http://fonts.wdx.fr/TestFont.woff2

downloadable font: rejected by sanitizer (font-family: "TestFont" style:normal weight:normal stretch:normal src index:0) source: http://fonts.wdx.fr/TestFont.woff2

Same on chrome... Any idea ??

nfroidure commented 7 years ago

Closing since not related to this module.