ReportLab newbie
Damjan
gdamjan at gmail.com
Wed Oct 27 15:46:19 EDT 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)
pdfmetrics.registerFont(font)
But the register complains with this exception:
ValueError: _tt2ps_map[('arial', 1, 0)]==Arial-Bold already, not Arial
what does it mean?
--
damjan
More information about the Python-list
mailing list