Skip to content
This repository has been archived by the owner on Aug 3, 2022. It is now read-only.

OTS failure #21

Open
davelab6 opened this issue Aug 30, 2017 · 5 comments
Open

OTS failure #21

davelab6 opened this issue Aug 30, 2017 · 5 comments

Comments

@davelab6
Copy link
Member

$ 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!
$
@djrrb
Copy link
Contributor

djrrb commented Nov 18, 2017

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.

@davelab6
Copy link
Member Author

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 :)

@davelab6
Copy link
Member Author

ERROR: Layout: bad delta format: 32768

This seems related to googlefonts/fontmake#229

@petrvanblokland
Copy link
Contributor

petrvanblokland commented Jun 30, 2018 via email

@khaledhosny
Copy link

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!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants