[reportlab-users] Crop text outside frame?

reportlab-users@reportlab.com reportlab-users@reportlab.com
Wed, 21 May 2003 13:43:02 +0200 (CEST)


Hello!

If my flowable doesn't wrap (Preformatted perhaps) inside a small frame,
the text prints outside (right side) the frame. I really don't understand
how to deal with that... I just want to crop everything outside the 
frame... Is that possible? 

I can myself see two possibilities:

1) Cut the textstring. But I can't know tha actual width of it. I must 
approximate that all characters are very wide ("W" or "M"), but I can't 
really know.

2) Print a new frame to the right of the frame. Thus overprint the ugly 
text.

Thanks!

/Erik Starbäck