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

[ttf] implement _closePath() to draw missing lines #1979

Merged
merged 1 commit into from
Jul 29, 2023

Conversation

midichef
Copy link
Contributor

The ttf viewer is missing some lines when it draws shapes, in glyphs like xrhombus and boxcheckbld.

It seems fonttools calls _closePath() to draw the final lines, so it needs to be implemented. This patch implements it. I looked at all the shapes in sample_data/wingdings.ttf, and the change does not seem to break any of them.

A note to myself for future reference, opentype.js has a useful web viewer for TTF files.

Copy link
Owner

@saulpw saulpw left a comment

Choose a reason for hiding this comment

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

What are you even doing using the ttf viewer?! :)

@saulpw saulpw merged commit 6e60ed6 into saulpw:develop Jul 29, 2023
13 checks passed
@midichef midichef deleted the ttf_close branch August 2, 2023 00:21
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.

None yet

2 participants