[reportlab-users] still no working
   
    sarah el-lawindy
     
    reportlab-users@reportlab.com
       
    Sat, 1 Nov 2003 17:21:59 -0800 (PST)
    
    
  
--0-1564262061-1067736119=:53184
Content-Type: text/plain; charset=us-ascii
hi again,
 i know that this piece of code works well,it is in the guide and i tried and it worked with, but it did not work with the piece of code i send u before, no error, and no pdfs as well.
what i mean 
    import reportlab.rl_config
    reportlab.rl_config.warnOnMissingFontGlyphs = 0 
    from reportlab.pdfbase import pdfmetrics
    from reportlab.pdfbase.ttfonts import TTFont
    from reportlab.pdfgen import canvas
    c = canvas.Canvas("hello.pdf")
    pdfmetrics.registerFont(TTFont('Rina', 'rina.ttf'))
    c.setFont(Rina, 32)
    c.drawString(10, 150, "Some text encoded in UTF-8")
    c.drawString(10, 100, "In the Rina TT Font!")
did not generate a pdf file, although there is no error ..
i hope u got what i mean ..
thanks for ur concern
sam ellawindy
---------------------------------
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
--0-1564262061-1067736119=:53184
Content-Type: text/html; charset=us-ascii
<P>hi again,</P>
<P> i know that this piece of code works well,it is in the guide and i tried and it worked with, but it did not work with the piece of code i send u before, no error, and no pdfs as well.</P>
<P>what i mean <BR><BR>    import reportlab.rl_config<BR>    reportlab.rl_config.warnOnMissingFontGlyphs = 0 <BR>    from reportlab.pdfbase import pdfmetrics<BR>    from reportlab.pdfbase.ttfonts import TTFont<BR>    from reportlab.pdfgen import canvas<BR>    c = canvas.Canvas("hello.pdf")<BR>    pdfmetrics.registerFont(TTFont('Rina', 'rina.ttf'))<BR>    c.setFont(Rina, 32)<BR>    c.drawString(10, 150, "Some text encoded in UTF-8")<BR>    c.drawString(10, 100, "In the Rina TT Font!")</P>
<P>did not generate a pdf file, although there is no error ..</P>
<P>i hope u got what i mean ..</P>
<P>thanks for ur concern</P>
<P>sam ellawindy</P><p><hr SIZE=1>
Do you Yahoo!?<br>
Exclusive Video Premiere - <a href="http://launch.yahoo.com/video/?1093432&fs=1&redirectURL=http://launch.yahoo.com/promos/britneyspears/">Britney Spears</a>
--0-1564262061-1067736119=:53184--