Skip to content

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