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

Don't try to order the contours of TrueType fonts #1222

Merged
merged 1 commit into from Sep 10, 2012

Conversation

jkseppan
Copy link
Member

@jkseppan jkseppan commented Sep 9, 2012

This removes a lot of code that was trying to output the matching
outer and inner contours in some specific order, but mistakenly
combined two contours in the percent glyph in the Bitstream Vera Sans
font (issue #1211).

I don't consider this ready for merging, but the change does appear to fix #1211 for me, and in some brief testing I didn't see it break the rendering of anything else in pdf or ps output. It could use wider testing in other people's setups, especially on a variety of different ttf fonts.

I don't really understand why the code I removed was there to begin with. I think it was @mdboom who added the ttconv code initially, so he might know more about it?

This removes a lot of code that was trying to output the matching
outer and inner contours in some specific order, but mistakenly
combined two contours in the percent glyph in the Bitstream Vera Sans
font.
mdboom added a commit that referenced this pull request Sep 10, 2012
Don't try to order the contours of TrueType fonts
@mdboom mdboom merged commit 94a5acb into matplotlib:master Sep 10, 2012
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.

PDF renderer draws strange artifacts on '%' character in 1.1.1
2 participants