[Image-SIG] text justification

Scott Frankel leknarf at pacbell.net
Mon Nov 26 05:15:45 CET 2007

I'm using PIL to render text.  Is there a way to specify left,  
center, or right justification?

After setting X and Y coordinate positions, the text string, and the  
font, my text drawing line of code is this:

	draw.text((xpos, ypos), text, font=font)

Thanks in advance

More information about the Image-SIG mailing list