You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After processing a TrueType font with fontmin --text, the output can’t be loaded as a web font in Firefox nightly. This is because the output fails the validation enabled by the gfx.downloadable_fonts.otl_validation preference, which is true by default in Firefox nightly. This can also be reproduced using the standalone OpenType Sanitizer project on which Firefox’s validation is based.
Process the font with fontmin, and demonstrate that the result fails sanitization.
$ ./cli.js --text abc SourceSans3-Bold.ttf > out.ttf
$ ots-sanitize out.ttf sanitized.ttfERROR at ../src/layout.cc:380 (ParseCoverageFormat2)ERROR: Layout: bad range count: 8ERROR at ../src/gpos.cc:631 (ParseMarkToAttachmentSubtables)ERROR: GPOS: Failed to parse converge 1 tableERROR at ../src/layout.cc:1178 (Parse)ERROR: Layout: Failed to parse lookup subtable 3ERROR at ../src/layout.cc:240 (ParseLookupTable)ERROR: Layout: Failed to parse subtable 0ERROR at ../src/layout.cc:1328 (ParseLookupListTable)ERROR: Layout: Failed to parse lookup 0ERROR: GPOS: Failed to parse lookup list tableERROR at ../src/ots.cc:711 (ProcessGeneric)ERROR: GPOS: Failed to parse tableFailed to sanitize file!
Alternatively, write an HTML file that uses the output font and view it in Firefox nightly. The output font is not displayed, and a corresponding set of errors shows up in the browser console.
After processing a TrueType font with
fontmin --text
, the output can’t be loaded as a web font in Firefox nightly. This is because the output fails the validation enabled by the gfx.downloadable_fonts.otl_validation preference, which is true by default in Firefox nightly. This can also be reproduced using the standalone OpenType Sanitizer project on which Firefox’s validation is based.Reproduction steps
Install OpenType Sanitizer.
Downgrade
get-stdin
andmeow
infontmin
to work around #97.Get a font, and demonstrate that it passes sanitization.
Process the font with
fontmin
, and demonstrate that the result fails sanitization.Alternatively, write an HTML file that uses the output font and view it in Firefox nightly. The output font is not displayed, and a corresponding set of errors shows up in the browser console.
The text was updated successfully, but these errors were encountered: