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

building from quadratic with tt-hinting #750

Closed
RosaWagner opened this issue Oct 5, 2023 · 1 comment · Fixed by #756
Closed

building from quadratic with tt-hinting #750

RosaWagner opened this issue Oct 5, 2023 · 1 comment · Fixed by #756
Labels
builder Issues related to the gftools-builder

Comments

@RosaWagner
Copy link
Contributor

Posted an issue in fontmake googlefonts/fontmake#1045 but it may be an issue with the builder.

Cosimo says that to build a font from quadratic curves + hinting we should do this:

for a font with quadratic sources and manual hinting, in addition to --keep-direction, you could also pass --ttf-curves=keep-quad so cu2qu is skipped as well (it should not modify the quads but it's quicker if you know in advance there are no cubic to convert). Also --keep-overlaps if you're building a static font, so the original quadratic outlines are not messed with.

@RosaWagner RosaWagner added the builder Issues related to the gftools-builder label Oct 5, 2023
@simoncozens
Copy link
Contributor

You can set:

reverseOutlineDirection: false
removeOutlineOverlaps: false

The "keep-quad" is just a speed-up. These two argument don't work in the ninja builder, which I'll fix in a moment, but in your case you are not using that because the ninja builder doesn't support vttSources so it falls back to the standard builder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
builder Issues related to the gftools-builder
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants