[Image-SIG] Bug in PIL 1.1.5

Julian Satchell j.satchell at eris.qinetiq.com
Tue Sep 26 20:02:58 CEST 2006


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.


Julian Satchell




More information about the Image-SIG mailing list