[reportlab-users] CMYK colours with & > <
charactersor superscripts in Paragraph
Michael Richdale
michael.richdale at enform.co.nz
Mon Oct 31 15:20:13 EST 2005
Wow that was fast!
Thanks for that, it works perfectly now :)
Mike
-----Original Message-----
From: reportlab-users-bounces at reportlab.com
[mailto:reportlab-users-bounces at reportlab.com] On Behalf Of Robin Becker
Sent: Tuesday, 1 November 2005 12:53 a.m.
To: Support list for users of Reportlab software
Subject: Re: [reportlab-users] CMYK colours with & > < charactersor
superscripts in Paragraph
Michael Richdale wrote:
> I am generating a PDF document that contains Paragraphs that are CMYK
> but any paragraph that contains &<> or superscript seem to revert back
> to RGB, has anyone else come across this? Below is a simple script to
> reproduce the problem.
>
> (I am running Python 2.4.1 on FreeBSD and with the latest version of
> reportlab checked out of subversion)
>
> Thanks
>
> Mike
>
....
OK I have fixed this in svn. Seems the Textobject was using its own
version of colour setting and was a bit wrong. I have abstracted the pdf
color setting ops into a separate mixin class which is now inhertited by
both Canvas and Textobject.
--
Robin Becker
_______________________________________________
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