PDF::Create - text colour

G

Graham Drabble

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?
 
S

smallpond

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.

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top