Skip to content
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

add support for ttfautohint-py #851

Merged
merged 2 commits into from
Jan 28, 2022
Merged

add support for ttfautohint-py #851

merged 2 commits into from
Jan 28, 2022

Conversation

anthrotype
Copy link
Member

The ttfautohint-py python wrapper does not come with a ttfautohint script, to avoid shadowing the original ttfautohint (c++) executable. But one can still call it from the command line or as a subprocess with python -m ttfautohint. This PR does that instead of importing ttfautohint and using its Python API, to avoid make too broad changes and continue to support the standalone ttfautohint command.

Fixes #562

Required for #850 /cc @yanone

We still continue to search for the standalone ttfautohint command-line tool, whenever the ttfautohint-py python wrapper is not installed in the current python.

Fixes #562
@anthrotype anthrotype requested a review from madig January 28, 2022 14:01
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.

fontmake should use ttfautohint-py wrapper
1 participant