D
Damjan
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?
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?