-
Notifications
You must be signed in to change notification settings - Fork 484
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement variable font rendering (gvar, avar, hvar, cvar) (#699)
* initial implementation of VariationManager class * glyph inspector: output variation range sliders and instance select * glyph transformation working for non-interpolated deltas * interpolation and avar support * added site.js for common JavaScript across the doc files, implemented variation options on index.html * implement glyph variation in bin/test-render * docs: Conditionally fall back to the font's sample text if provided, if the current text results in only space or .notdef glyphs * variation for CFF2 fonts * implement hvar parsing, extend and fix variation store data parsing, implement advancedWidth variation * add some checks and error throws, implement support for lsb in hvar * docs: keyboard navigation for item grid * update doc blocks and API documentation in README * implement cvar handling * add gvar and CFF2 variation tests * added fontkit to README "Thanks" section * fix rounding and naming differences in test-render script to help more unicode suite tests pass * extend SVG optimization to catch more unnecessary path elements and pass more unicode tests * optimize test-render script to have less tests fail in the unicode test suite due to only minor differences in paths * add tests for avar and normalized axis tags
- Loading branch information
Showing
31 changed files
with
1,837 additions
and
169 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.