Does (should?) fontTools enforce "valueCount must == Coverage glyphCount" for SinglePosFormat2?
See original GitHub issuePer OTSpec in SinglePosFormat2 subtables, the valueCount
“must equal glyphCount
in the Coverage table.” The attached ttx dump uses a SinglePosFormat2 with Coverage glyphCount of 2 and no ValueRecords (i.e. count = 0). ttx
compiles this with the format2 subtable’s valueCount
set to zero and a non-empty Coverage (count = 2), with no error or warning issued. Is this expected?
Issue Analytics
- State:
- Created a year ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
US6426751B1 - Font feature file processing - Google Patents
The feature file can be processed in combination with an existing font ... The font editor does not have to know details of...
Read more >wafi.iit.cnr.it/multilingualweb/unicode/fonts/font...
('CoverageFormat1', [ ('uint16', 'CoverageFormat', None, None, 'Format identifier-format = 1'), ('uint16', 'GlyphCount', None, None, 'Number of glyphs in ...
Read more >mozilla-central: changeset 476785 ...
Tell the // parent process the iframe accessible so it can link the ... + // define a js object to implement nsITreeView...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes, this is the kind of things that OTS does I believe.
I’ll poke around there and see what’s going on. The current version doesn’t seem to flag it.
I’ll close this out as there’s no action needed here.