Fredrik Lundh is sharing code with you
Bitbucket is a code hosting site. Unlimited public and private repositories. Free for small teams.
Don't show this againCommit 08cb2fc09ac8 Raw commit »
- commit
- 08cb2fc09ac8
- parent
- 42ffca328702
- branch
- default
Fixed truetype positioning when first character has a negative left bearing.
Ned Batchelder writes:
In PIL 1.1.6, ImageDraw.text will position the string incorrectly if
the first character has a negative left bearing. To see the problem,
show a string like "///" in an italic font. The first slash will be
clipped at the left, and the string will be mis-positioned.
| File | Lines added | Lines removed |
|---|---|---|
| CHANGES | 3 | – |
| _imagingft.c | 1 | 1 |
Comments
Log in to comment »