[reportlab-users] Styling within platypus flowables

Robin Becker robin at reportlab.com
Mon Feb 17 05:40:06 EST 2014


On 16/02/2014 22:23, Nick Moffitt wrote:
..........

>> I'm not sure exactly how the splitting will work with this scheme as

>> our fragment algorithm is quite contorted about where it likes to

>> split when these zero width (onDraw) items appear ie they're not

>> transparent so far as the linebreaking algoritm is concerned.

>

> How much do you think it will count? Given the above example would you

> expect it to be broken into three lines (as it was by my mailer) or do

> only the label attribute contents count toward line length?

>

I have a feeling that the onDraw callbacks get attached to the end of words
rather than to the beginning so that might be a problem when splitting.
--
Robin Becker


More information about the reportlab-users mailing list