[reportlab-users] Exceptions raised for create a png file
diane eklou
reportlab-users@reportlab.com
Thu, 20 Jun 2002 14:01:46 +0200 (CEST)
Hi,
I like to know why this exceptions is raised when I
try to create a PNG file:
File "Graphic.py", line 170, in plot
renderPM.drawToFile(drawing,self.file+'.png','PNG')
File
"/home/yao/lib/python/reportlab/graphics/renderPM.py",
line 451, in drawToFile
draw(d, c, 0, 0)
File
"/home/yao/lib/python/reportlab/graphics/renderPM.py",
line 44, in draw
R.draw(drawing, canvas, x, y)
File
"/home/yao/lib/python/reportlab/graphics/renderPM.py",
line 90, in draw
self.applyState()
File
"/home/yao/lib/python/reportlab/graphics/renderPM.py",
line 75, in applyState
self._canvas.setFont(s['fontName'], s['fontSize'])
File
"/home/yao/lib/python/reportlab/graphics/renderPM.py",
line 271, in setFont
_setFont(self._gs,fontName,fontSize)
File
"/home/yao/lib/python/reportlab/graphics/renderPM.py",
line 204, in _setFont
raise RenderPMError, "Can't setFont(%s) missing
the T1 files?\nOriginally %s: %s" % (fontName,s1,s2)
reportlab.graphics.renderPM.RenderPMError: Can't
setFont(Times-Roman) missing the T1 files?
Somebody can send me back an answer !!
Thanks
--
Yao
___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com