ReportLab newbie

Damjan gdamjan at
Wed Oct 27 21:46:19 CEST 2004

I'm trying this script with reportlab:

from reportlab.pdfbase import pdfmetrics
from reportlab.pdfbase.ttfonts import TTFont
fontname = 'Arial-Bold'
my_TTF = '/opt/Fonts/arial.ttf'
font = TTFont(fontname, my_TTF)

But the register complains with this exception:

ValueError: _tt2ps_map[('arial', 1, 0)]==Arial-Bold already, not Arial

what does it mean?


More information about the Python-list mailing list