On Thursday 30 April 2009 06:43:32 pm alta...@ceid.upatras.gr wrote:
> > On Thursday 30 April 2009 06:04:36 pm altanis at ceid D.O.T 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/tt
> > >f-bi tstream-vera")'
> > >
> > > :(
> > >
> > > Alexander
> >
> > First read up on 'path' with respect to python. That will cover the
>
> first of
>
> > part of the error messages.
>
> I am sorry I didn't quite understand this.
>
> > I think you are on windows (earlier posting suggested you were using
> > webupdate normal for the window guys). And I wonder if
> > the "/usr/share/fonts/truetype/ttf-bitstream-vera" would work even if
>
> you got
>
> > the modules imported.
>
> I am on linux, and I checked, the fonts exist at these locations, so
> that's not a problem.
>
> Alexander
> _______________________________________________
> 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/40638.94.64.255.1.1241142212.squir...@webma
>il.ceid.upatras.gr

OK on Linux (what distro would be nice)

First open a terminal and start python

what's the version of python?
Should be 2.4 or 2.5

next try to import reportLab by typing

"import reportlab"

I think you will get an error - but maybe not.

Let know the results.



-- 
John Fabiani
_______________________________________________
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/200904301855.47953.jfabi...@yolo.com

Reply via email to