robin at reportlab.com
Thu Oct 23 05:35:17 EDT 2008
Dirk Holtwick wrote:
> Well, I implemented the background feature for Paragraphs. It is based
> on the Reportlab 2.1 version because I have to avoid the trouble and
> bugs with the non breaking spaces (see older mails).
> You can set the background by setting the attribute "backColor" in
> ParaFrags. They will respect the font sizes, The speedup functions are
> not used, because they needed to be changed an therefore I turned them off.
> Here is the code. Hope you find it useful. But I think the Paragraph
> module should have a general cleanup and refactoring since the code is
> difficult to understand.
Thanks Dirk, I'll take a look at this to see if I can make use of it. The
parsing etc etc should be in place already. This unlike other simple attributes
has to be done prior to doing the text rather than after.
More information about the reportlab-users