[reportlab-users] Text scaling and finding out how much space text will take up

Chris Withers chris at simplistix.co.uk
Wed Nov 1 10:58:38 EST 2006


pier carteri wrote:
> Hi,
> you can obtain the width of a string using the canvas method
> stringwidth(text, font_name, font_size, encoding)

Cool :-)

How will this interact with TrueType fonts?

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk


More information about the reportlab-users mailing list