[reportlab-users] Platypus: Color Question

andy at reportlab.com andy at reportlab.com
Fri Jan 21 10:03:15 EST 2005


I don't think we support this for substrings within a paragraph
(i.e. using the font tag).  It can be done for an entire paragraph
by setting the 'backcolor' or 'bgcolor' attributes on the paragraph
object itself or in the style.

How much trouble does this cause?  Conceptually it could be done,
as it's the same problem as underlining whereby we need to do a
graphic which matches the length of the text and splits in the
right places.

Thanks,


Andy Robinson
CEO/Chief Architect
ReportLab Europe Ltd.
tel +44 20 8544 8049

-----Original Message-----
From: Ben McCain <bmccain at univ-wea.com>
To: 'reportlab-users at reportlab.com' <reportlab-users at reportlab.com>
Sent: Fri, 21 Jan 2005 08:47:21 -0600
Subject: [reportlab-users] Platypus: Color Question

I'm trying to set the background color for a text string. One
of the examples used an imbedded tag in the text to
change the fore ground color (<font color='red'>).  I looked
at page 67 of the User Guide, but couldn't figure it out.  Is
there a way to change the background color.  Thanks.

Ben McCain
Universal Weather and Aviation, Inc.
713-944-1440 x3619

_______________________________________________
reportlab-users mailing list
reportlab-users at reportlab.com
http://two.pairlist.net/mailman/listinfo/reportlab-users


More information about the reportlab-users mailing list