[reportlab-users] set font colors

Chorny, Ilya ichorny at illumina.com
Wed Jan 25 17:27:10 EST 2012


I am trying to set the font color, for example by

outpdf = canvas.Canvas("analysis_report.pdf",pagesize = letter)
width, height = letter
outpdf.setFont("Helvetica", 10)
outpdf.setFillColorCMYK(0,0,0,36)

but it seems to have no effect on the color. I have tried RGB(187,187,187) and that gives me a blank page. Am I doing something wrong?

Thanks,

Ilya


Ilya Chorny Ph.D.
Bioinformatics Scientist I
Illumina, Inc.
9885 Towne Centre Drive
San Diego, CA 92121
Work: 858.202.4582
Email: ichorny at illumina.com<mailto:ichorny at illumina.com>
Website: www.illumina.com<http://www.illumina.com>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://two.pairlist.net/pipermail/reportlab-users/attachments/20120125/d782668e/attachment.html>


More information about the reportlab-users mailing list