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

allow to reverseDirection without convertCubics #770

Merged
merged 1 commit into from
Jul 28, 2023

Conversation

anthrotype
Copy link
Member

@anthrotype anthrotype commented Jul 28, 2023

previously reverseDirection option was handled exclusively within cu2qu, but since convertCubics=False allows one to skip cu2qu altogether, it'd become impossible to do the reversing independently from the cu2qu conversion. So I added a separate filter that does the reversing (using the fontTools ReverseContourPointPen) used only when convertCubics=False and reverseDirection=True.

@anthrotype anthrotype merged commit d745636 into main Jul 28, 2023
6 checks passed
@khaledhosny khaledhosny deleted the reverse-direction-filter branch August 18, 2023 20:26
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.

1 participant