[reportlab-users] Missing T1 files!...error

saravanan annamalai reportlab-users@reportlab.com
Tue, 15 Apr 2003 02:19:41 -0700 (PDT)


--0-589539648-1050398381=:57596
Content-Type: text/plain; charset=us-ascii

Hi all,
  I am a newbie to reportlab graphics.. I have installed rl graphics and i tried to run the following... from reportlab import rl_config
from reportlab.lib import colors
from reportlab.graphics.shapes import *
from reportlab.pdfgen.canvas import Canvasd = Drawing(400, 200)
d.add(Rect(50, 50, 300, 100, fillColor=colors.yellow))
d.add(String(150,100, 'Hello World',fontName='Times-Roman',
fontSize=18, fillColor=colors.red))from reportlab.graphics import renderPM
renderPM.drawToFile(d,'./example1.png',fmt='PNG')     Its saying an error...Cant setfont(times-roman)..Missing T1 files....
But I am able to make pdf files...and font works perfectly..............
Hope some one will get me out of this situation Thanx from saravanan annamalai


---------------------------------
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
--0-589539648-1050398381=:57596
Content-Type: text/html; charset=us-ascii

<DIV>
<DIV>Hi all,<BR>&nbsp; I am a newbie to reportlab graphics.. I have installed rl graphics and i tried to run the following...</DIV>
<DIV>&nbsp;</DIV>
<DIV>from reportlab import rl_config<BR>from reportlab.lib import colors<BR>from reportlab.graphics.shapes import *<BR>from reportlab.pdfgen.canvas import Canvas</DIV>
<DIV>d = Drawing(400, 200)<BR>d.add(Rect(50, 50, 300, 100, fillColor=colors.yellow))<BR>d.add(String(150,100, 'Hello World',fontName='Times-Roman',<BR>fontSize=18, fillColor=colors.red))</DIV>
<DIV>from reportlab.graphics import renderPM<BR>renderPM.drawToFile(d,'./example1.png',fmt='PNG')</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp; &nbsp; Its saying an error...Cant setfont(times-roman)..Missing T1 files....<BR>But I am able to make pdf files...and font works perfectly..............<BR>Hope some one will get me out of this situation</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanx from saravanan annamalai</DIV></DIV><p><br><hr size=1>Do you Yahoo!?<br>
<a href="http://us.rd.yahoo.com/search/mailsig/*http://search.yahoo.com">The New Yahoo! Search</a> - Faster. Easier. Bingo.
--0-589539648-1050398381=:57596--