8000 FontBuilder improvements by justvanrossum · Pull Request #1357 · fonttools/fonttools · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

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

Merged

Conversation

justvanrossum
Copy link
Collaborator
  • 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)

@justvanrossum justvanrossum merged commit 2ed480b into fonttools:master Nov 2, 2018

f = TTFont(outPath)
f.saveXML(outPath + ".ttx")
f.saveXML('test_var.ttf.ttx') # XXXX
Copy link
Member

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

Copy link
Collabor 8000 ator Author

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)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice test case 👍

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

Successfully merging this pull request may close these issues.

2 participants
0