[reportlab-users] BaseDocTemplate && setFont question

Sergey Levchenko sector119 at gmail.com
Tue Apr 5 05:46:12 EDT 2011


It's called before the Doc is instantinated and it's build() method call, no?

pdfmetrics.registerFont(TTFont('FreeSans', 'FreeSans.ttf'))

doc = Doc('sample.pdf', pagesize=A4, rightMargin=1*cm,
leftMargin=1*cm, topMargin=1*cm, bottomMargin=1*cm)


More information about the reportlab-users mailing list