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 for corrupted bitmaps embedded in truetype fonts. #1072

Merged
merged 7 commits into from
Jan 8, 2015

Conversation

wiredfool
Copy link
Member

Fixes #891.
Supersedes/includes #960.

Adds working tests for OSX and any other platform where the metrics are different between the fonts.

jackyyf and others added 7 commits January 7, 2015 21:38
  Since embedded bitmap font works incorrectly, we should avoid using
them, until a final patch is available and tested. I've added
`FT_LOAD_NO_BITMAP` to ALL(3) places in `_imagingft.c`, which did
(not much) actually fixed the issue. A notice has also been added to
`_imagingft.c`.
Strangely, the bitmap version of DejaVu Sans is always vertical
one pixer longer.
StringIO does not exists on py3, which leads to failure of building.
hugovk added a commit that referenced this pull request Jan 8, 2015
Fix for corrupted bitmaps embedded in truetype fonts.
@hugovk hugovk merged commit efeca06 into python-pillow:master Jan 8, 2015
@hugovk hugovk mentioned this pull request Jan 8, 2015
@wiredfool wiredfool deleted the pr960 branch October 2, 2017 13:23
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.

Error when using bitmap font embedded inside truetype font.
3 participants