[Image-SIG] Bug in PIL 1.1.5

Fredrik Lundh fredrik at pythonware.com
Tue Sep 26 20:42:24 CEST 2006

Julian Satchell wrote:

> The FT text renderer, accessed through the text method of an ImageDraw
> object does not seem to understand left bearing and right bearing on
> glyphs. As a result it wraps the overhanging part of the glyph, if this
> would leave the simplistic (bearing-free) bounding box, round to the far
> side of the bounding box. The effect can be seen most clearly when doing
> character at a time rendering, as the bounding box is then small. It is
> most likely to be seen on characters like "j" or "f", especially in
> oblique or swash fonts.

the code that handles this was rewritten in 1.1.6 beta 1:



More information about the Image-SIG mailing list