Setting a fontName in a style

0 views
Skip to first unread message

adelaide_mike

unread,
Nov 27, 2009, 2:53:34 AM11/27/09
to Django users
One final question if I may (well I hope its the last).

In my standard report generating view I need to use Arial font (for
example).

I have studied the reportlab docs (Paragraphs chapter) for hours and
tried all sorts of guesses as to how to do it. Nothing I have tried
works. My fault. Now insightful enough.

I have the following in my report generating view (which works a
treat) and I am sure there is a simple alteration that will change the
font. But there is no example in the docs AFAIK.

stylesheet = getSampleStyleSheet()
normalstyle = stylesheet['Normal']

Any offers?

Mike

Karen Tracey

unread,
Nov 27, 2009, 4:16:42 PM11/27/09
to django...@googlegroups.com

I suspect you might get more help on purely reportlab questions from a reportlab-centered mailing list. 

Karen
Reply all
Reply to author
Forward
0 new messages