[reportlab-users] set default font?

Gábor Farkas gabor at nekomancer.net
Thu Jun 22 06:36:53 EDT 2006


Andy Robinson wrote:
> Gábor Farkas wrote:
>> hi,
>>
>> i'm generating a pdf by creating a SimpleDocTemplate,
>> and then calling it's build method with flowables.
>>
>> is there a way to set up a default-font for the whole document?
> 
> The stylesheets feature an inheritance mechanism, so define the font you 
> want in a 'Normal' or 'base' paragraph style, and construct your other 
> styles to inherit from this.  Then you can parameterise the whole 
> stylesheet construction.
> 

thanks... and with tables?

gabor


More information about the reportlab-users mailing list