PDF::Create - text colour

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Hi all,

I've been asked to modify a bunch of Perl scripts that use PDF::Create
to generate PDF documents. Currently all the text is in black and I
need to be able to change the colour of some of it.

Is this possible using PDF::Create? I can't see anything in the docs.
Alternatively what would people recommend using?

Graham Drabble
http://www.drabble.me.uk /

Re: PDF::Create - text colour

Quoted text here. Click to load it

Look harder:

setrgbcolor r g b
Set the color of the subsequent drawing operations. R,G and B is a
value between 0.0 and 1.0.

Site Timeline