decovar
decovar copied to clipboard
OTS failure
$ ots-sanitize fonts/DecovarAlpha-VF.ttf
ERROR: Layout: bad delta format: 32768
ERROR: GPOS: Failed to parse device table in value record
ERROR: GPOS: Failed to parse value record in format 1 pair set table
ERROR: GPOS: Failed to parse pair set table 0
ERROR: GPOS: Failed to parse pair pos format 1
ERROR: Layout: Failed to parse lookup subtable 1
ERROR: Layout: Failed to parse subtable 0
ERROR: Layout: Failed to parse lookup 0
ERROR: GPOS: Failed to parse lookup list table
ERROR: GPOS: Failed to parse table
Failed to sanitize file!
$
Reviewed this by the way in my most recent update, and it seems like the GDEF and GPOS tables are missing from Decovar because there are no features or kerning in the font.
Totally willing to add dummy data to get around this error, or just to let it stand as an example.
If a font fails to pass OTS then chrome and Firefox will not render it, simple as that. The error suggests to me there is a table but if it's blank then maybe just kill the table all together. Or, if it's not there, then try to add dummy data so it will pass :)
ERROR: Layout: bad delta format: 32768
This seems related to https://github.com/googlei18n/fontmake/issues/229
Looks like a spike, overflow of delta distance. Do you have a location for it?
On Jun 29, 2018, at 11:48 PM, Dave Crossland [email protected] wrote:
ERROR: Layout: bad delta format: 32768
This seems related to googlei18n/fontmake#229 https://github.com/googlei18n/fontmake/issues/229 — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/TypeNetwork/Decovar/issues/21#issuecomment-401482530, or mute the thread https://github.com/notifications/unsubscribe-auth/AAXBwXV4Rw-q4RHm6PkZY1zI2CloqMfRks5uBqChgaJpZM4PIB4D.
Petr van Blokland | twitter+skype @petrvanblokland Intentionally not on FaceBook since 1998 [email protected] | typetr.typenetwork.com mobile +31 6 24 219 502 | buro +31 15 887 1233
designdesign.space upgrade.typenetwork.com bitcount.typenetwork.com
Rietveld 56 2611 LM Delft The Netherlands
Claudia Mens | [email protected] mobile +31 6 41 367 689 | buro +31 15 887 1233
OTS from last year did not support variable fonts which caused these errors, but it does for a while now. Running against OTS master gives:
$ ots-sanitize DecovarAlpha-VF.ttf
WARNING: STAT: Unexpected non-zero offsetToAxisValueOffsets
File sanitized successfully!