[Image-SIG] PSDraw instance has no attribute 'textsize'

Bauke Veenstra btvlinux at orange.nl
Sun Sep 16 14:36:51 CEST 2007


Running the example from the excellent PIL handbook gives an error, 
after these two lines: 
ps.setfont("HelveticaNarrow-Bold", 36) 
w, h, b = ps.textsize(title) 
AttributeError: PSDraw instance has no attribute 'textsize' 


This error occurred on my Linux and on my Windows system. 


Regards, 
Bauke 





More information about the Image-SIG mailing list