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

typeFace as bytestring in Py3 #3853

Merged
merged 1 commit into from Dec 3, 2014

Conversation

jenshnielsen
Copy link
Member

Potential solution to #3849

@jenshnielsen
Copy link
Member Author

This solves the issue for me but it is not clear that it is right. AFAIK typeface should be a ASCII but at least for this font it is not. In any case we don't actually seem to use typeFace for any thing. The only place in the code I can grep it just below where it is created in Py_BuildValue

@tacaswell tacaswell added this to the v1.5.x milestone Nov 26, 2014
@mdboom
Copy link
Member

mdboom commented Dec 1, 2014

I think this is probably fine. I have seen other fonts in the wild that don't conform to the TrueType spec in that they have non-ascii characters where they shouldn't. Since we aren't really using this value anywhere, I think this fix is fine. Thanks.

@jenshnielsen
Copy link
Member Author

Ok to merge this then? If we can find a Free font in the wild which we can bundle that has this issue we could add a test but I don't know of any such font. The ones that I know of are not free.

tacaswell added a commit that referenced this pull request Dec 3, 2014
@tacaswell tacaswell merged commit c7971b3 into matplotlib:master Dec 3, 2014
@jenshnielsen jenshnielsen deleted the typeface_bytestring branch December 3, 2014 15:18
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

3 participants