Fix test cases for CMAP, GPOS and GSUB
See original GitHub issueThanks to @fpirsch’s fix in #324, it’s again possible to run the Unicode test suite for text rendering engines on OpenType.js.
Expected Behavior
All test cases should pass.
Current Behavior
Currently, OpenType.js is failing 62 test cases. See test report.
Possible Solution
Consider fixing at least CMAP-1, CMAP-2, and all the GPOS and GSUB cases. For inspiration, have a look at fontkit, another OpenType implementation in JavaScript, which is passing most tests in the test suite (see test report).
Steps to Reproduce
See README for the test suite. Until OpenType.js cuts its next release, you’ll need to manually patch @fpirsch’s fix from #324 into node_modules/opentype.js/bin/test-render
.
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (2 by maintainers)
Top Results From Across the Web
Fix test cases for CMAP, GPOS and GSUB - - Bountysource
Fix test cases for CMAP, GPOS and GSUB · Expected Behavior · Current Behavior · Possible Solution · Steps to Reproduce.
Read more >GSUB/GPOS subsetting · Issue #1017 · harfbuzz/harfbuzz · GitHub
Implement hb_auto_t<> that calls init/fini on the object inside, for auto lifecycle management. Write down Supplier protocol. A Supplier will have iter_forward ...
Read more >A journey into OpenType font internals
A story about constructing a font with a custom ligature based on Roboto.
Read more >NEWS - external/github.com/harfbuzz/harfbuzz - Git at Google
Fix "unsafe-to-break" in fallback shaping and other corner cases. All our tests pass with --verify now, meaning unsafe-to-break API. works as expected.
Read more >DTL OTMaster Manual - FontLab Help Center
dtl otmaster: IntrodUctIon refine the kern table, and a 'gsub'/'gpos' Viewer to visually test (and in case of GPOS adjust) these OpenType layout...
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
Updated test report is here. Happy debugging!
@fpirsch @brawer 0.8.0 is out!