PIL cutting off letters
nun at example.com
Tue Jun 19 23:23:30 CEST 2007
Matt Haggard wrote:
> I'm using PIL (Python Imaging Library) to generate button images.
> They consist of a left end image, a middle, repeating image and a
> right side image.... anyway, that's not important
> I'm using a TTF font for the text of the button (Verdana.TTF) and it
> keeps cutting the bottom part of the the g's q's and y's off.
I've had the same problems. What worked for me was to use
aggdraw instead of PIL's Draw class.
More information about the Python-list