alta...@ceid.upatras.gr wrote: >> Paul McNett wrote: >>> I'll get an example working with the code points you gave me, and then > post the code. >> Let me know if this helps: >> >> http://trac.dabodev.com/wiki/CustomFontsInReportWriter >> >> Paul > > I tried to run test_tty.py, but I got this output: > > from: can't read /var/mail/reportlab.pdfbase > from: can't read /var/mail/reportlab.pdfbase.ttfonts > from: can't read /var/mail/reportlab.lib.fonts > from: can't read /var/mail/dabo.dReportWriter > from: can't read /var/mail/dabo.lib.reportUtils > ./test_ttf.py: line 10: reportlab.rl_config.warnOnMissingFontGlyphs: > command not found > ./test_ttf.py: line 11: syntax error near unexpected token > `"/usr/share/fonts/truetype/ttf-bitstream-vera"' > ./test_ttf.py: line 11: > `reportlab.rl_config.TTFSearchPath.append("/usr/share/fonts/truetype/ttf-bitstream-vera")'
Looks like you are running the python script through bash. Try: python test_tty.py Paul _______________________________________________ Post Messages to: Dabo-users@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/49fa7516.1050...@ulmcnett.com