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

Fix support for characters >128 using .pcf or .pil fonts in Py3k #517

Merged
merged 3 commits into from
Mar 17, 2014

Conversation

wiredfool
Copy link
Member

Fixes #505

These are old style fonts that only define characters in the 1-255 range. They are pre-unicode.

  • Converts unicode strings to latin1 encoded bytes.
  • Allows bytes objects to be used for the text when rendering these fonts.

aclark4life added a commit that referenced this pull request Mar 17, 2014
Fix support for characters >128 using .pcf or .pil fonts in Py3k
@aclark4life aclark4life merged commit 35241da into python-pillow:master Mar 17, 2014
@wiredfool wiredfool deleted the pcf branch April 4, 2014 20:36
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.

Unexpected results from .pcf font for chars >128
2 participants