[reportlab-users] Truncate table cell content to end with ellipsis
Yves Forkl
Y.Forkl at srz.de
Mon Apr 20 09:08:28 EDT 2009
Robin Becker schrieb:
> Yves Forkl wrote:
>>
>> I wonder how I could do without the dummy canvas, though...
> you can import stringWidth directly eg
>
> from reportlab.pdfbase.pdfmetrics import stringWidth
>
> then change _c.stringWidth to stringWidth
D'oh! If I had have taken one more look to your function code, I could
have figured out myself. Thank you anyway.
Yves
More information about the reportlab-users
mailing list