[reportlab-users] BUG: Fontnames with spaces

Dinu Gherman gherman at darwin.in-berlin.de
Mon Dec 1 09:27:11 EST 2008


[...]
File "/usr/local/lib/python2.5/site-packages/reportlab/pdfbase/
ttfonts.py", line 989, in __init__
self.face = TTFontFace(filename, validate=validate,
subfontIndex=subfontIndex)
File "/usr/local/lib/python2.5/site-packages/reportlab/pdfbase/
ttfonts.py", line 898, in __init__
TTFontFile.__init__(self, filename, validate=validate,
subfontIndex=subfontIndex)
File "/usr/local/lib/python2.5/site-packages/reportlab/pdfbase/
ttfonts.py", line 412, in __init__
self.extractInfo(charInfo)
File "/usr/local/lib/python2.5/site-packages/reportlab/pdfbase/
ttfonts.py", line 487, in extractInfo
raise TTFError, "psName=%r contains invalid character '%s' ie U+
%04X" % (psName,c,ord(c))
reportlab.pdfbase.ttfonts.TTFError: psName='UniversalCondensed
Regular' contains invalid character ' ' ie U+0020

Seems like this wasn't fixed in RL 2.2...

@RL: Please look up the relevant reports on this list,
I don't like to repeat myself...

Regards,

Dinu



More information about the reportlab-users mailing list