-
Notifications
You must be signed in to change notification settings - Fork 475
FontBuilder improvements #1357
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FontBuilder improvements #1357
Conversation
- some doc strings
- new setupHorizontalMetrics and setupVerticalMetrics methods
- test for variations (but: the variation support is very minimal and low level, I need to figure out how varLib could be involved here)
|
||
f = TTFont(outPath) | ||
f.saveXML(outPath + ".ttx") | ||
f.saveXML('test_var.ttf.ttx') # XXXX |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this saved in the current directory? tmpdir would be better
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops, that line shouldn't have been there. Fixed in master.
TupleVariation(dict(UPPP=(0, 1, 1)), upDeltas), | ||
TupleVariation(dict(DOWN=(0, 1, 1)), downDeltas), | ||
] | ||
fb.setupGvar(variations) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice test case 👍