[reportlab-users] TTFont in ParagraphStyle

reportlab-users@reportlab.com reportlab-users@reportlab.com
Wed, 16 Oct 2002 15:23:24 +0200


Hello,

i try to get a custom TT-Font into a ParagraphStyle
which is for formating a paragraph in a Table


	pdfmetrics.registerFont(TTFont('Arial', 'Arialn.ttf')) # works fine

	levelZeroParaStyle = \
	    ParagraphStyle(name='LevelZero',
	                   fontName='Arial',
	                   fontSize=10,
	                   leading=11,	                   
	                   firstLineIndent = -epsilon,
	                   leftIndent = 0*delta + epsilon)

	...

then I get the error:
	...
	fonts.py Line 66 in ps2tt
	Can't map PS font arial

anyone out there how knows what to do ?

regards
jo