[reportlab-users] i am asking again about the arabic thing, on the hope that anyone might reply back

sarah el-lawindy reportlab-users@reportlab.com
Sat, 1 Nov 2003 15:57:24 -0800 (PST)


--0-206372036-1067731044=:41469
Content-Type: text/plain; charset=us-ascii


hi there,
 ok , noone replied my perviuos question, i hope that anyone replies this one.
 i tried the code of ttf part in the user guide of reportlab (incase u don't know, the rina ttf), there were no error , and at the same time, no pdf was generated, does anyone know why?

sam ellawindy

ps, this is the code 

   # we know some glyphs are missing, suppress warnings
     import reportlab.rl_config    
     reportlab.rl_config.warnOnMissingFontGlyphs = 0
     from reportlab.pdfbase import pdfmetrics
     from reportlab.pdfbase.ttfonts import TTFont
     pdfmetrics.registerFont(TTFont('Rina', 'rina.ttf'))
     canvas.setFont(Rina, 32)
     canvas.drawString(10, 150, "Some text encoded in UTF-8")
     canvas.drawString(10, 100, "In the Rina TT Font!")


---------------------------------
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
--0-206372036-1067731044=:41469
Content-Type: text/html; charset=us-ascii

<P>hi there,<BR>&nbsp;ok , noone replied my perviuos question, i hope that anyone replies this one.<BR>&nbsp;i tried the code of ttf part in the user guide of reportlab (incase u don't know, the rina ttf), there were no error , and at the same time, no pdf was generated, does anyone know why?</P>
<P>sam ellawindy</P>
<P>ps, this is the code&nbsp;<BR><BR><FONT color=#000081 face=Courier size=1>&nbsp;&nbsp; # we know some glyphs are missing, suppress warnings<BR>&nbsp;&nbsp;&nbsp;&nbsp; import reportlab.rl_config&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp;&nbsp; reportlab.rl_config.warnOnMissingFontGlyphs = 0<BR>&nbsp;&nbsp;&nbsp;&nbsp; from reportlab.pdfbase import pdfmetrics<BR>&nbsp;&nbsp;&nbsp;&nbsp; from reportlab.pdfbase.ttfonts import TTFont<BR>&nbsp;&nbsp;&nbsp;&nbsp; pdfmetrics.registerFont(TTFont('Rina', 'rina.ttf'))<BR>&nbsp;&nbsp;&nbsp;&nbsp; canvas.setFont(Rina, 32)<BR>&nbsp;&nbsp;&nbsp;&nbsp; canvas.drawString(10, 150, "Some text encoded in UTF-8")<BR>&nbsp;&nbsp;&nbsp;&nbsp; canvas.drawString(10, 100, "In the Rina TT Font!")</P></FONT><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-206372036-1067731044=:41469--