[reportlab-users] CMYK coloured <font> within a Paragraph ... And setting the default stroke colour

Robin Becker robin at reportlab.com
Tue Feb 26 05:13:06 EST 2008


Stevens, Ian wrote:

> Thanks, Robin.

>

> Is there a way to set the default stroke colour for the entire document?

> The black is fine, but our printer is complaining that it's RGB black

> and not CMYK black. Would setting the canvas stroke colour on a

> template's beforeDocument(), beforePage() or beforeDrawPage() fix that

> problem?

>

> Thanks,

> Ian.

.......
yes you can set default stroke/fill in those. I believe the graphics state is
reset in Canvas.showPage so it needs to be redone at the start of each page.
--
Robin Becker


More information about the reportlab-users mailing list