Re: [web2py] Re: web2py contains pyfpdf version 1.54b, but there is version 1.7 with utf-8 support

2013-03-05 Thread Martin Weissenboeck
Sorry for being so late. I have put it all in an issue on the pyfpdf page. Regards, Martin 2013/2/19 Mariano Reingart > On Tue, Feb 19, 2013 at 6:29 PM, Martin Weissenboeck > wrote: > >> The result: the “ά” is not shown > >> > >> > That is interesting, because the accent is important in the Gr

Re: [web2py] Re: web2py contains pyfpdf version 1.54b, but there is version 1.7 with utf-8 support

2013-02-19 Thread Mariano Reingart
On Tue, Feb 19, 2013 at 6:29 PM, Martin Weissenboeck wrote: >> The result: the “ά” is not shown >> >> > That is interesting, because the accent is important in the Greek >> > language >> > and it could change the meaning of a word..“ά” is replaced by a black >> > square. Maybe the reportlab font d

Re: [web2py] Re: web2py contains pyfpdf version 1.54b, but there is version 1.7 with utf-8 support

2013-02-19 Thread Martin Weissenboeck
> The result: the “ά” is not shown > > That is interesting, because the accent is important in the Greek > language > > and it could change the meaning of a word..“ά” is replaced by a black > > square. Maybe the reportlab font does not know the Unicode character > U+03AC? > > Sorry, I cannot help

Re: [web2py] Re: web2py contains pyfpdf version 1.54b, but there is version 1.7 with utf-8 support

2013-02-19 Thread Mariano Reingart
On Tue, Feb 19, 2013 at 7:10 AM, Martin Weissenboeck wrote: > Hi Mariano, > > thank you very much for your detailed answer. > > I know, you are not the creator of the library, but I think you do a very > important job. Maybe my question could help others and me to use this > program. > > I have pl

Re: [web2py] Re: web2py contains pyfpdf version 1.54b, but there is version 1.7 with utf-8 support

2013-02-18 Thread Mariano Reingart
Martin: I've updated the web2py fpdf example addressing your issues (described bellow): http://pyfpdf.googlecode.com/files/web2py.app.fpdf_20130218.w2p (2) About unicode support, You need to pass unicode strings: u"my unicode string" (look at the u prefix). Also, you need embed a ttf unicode fon

Re: [web2py] Re: web2py contains pyfpdf version 1.54b, but there is version 1.7 with utf-8 support

2013-02-17 Thread Martin Weissenboeck
ok, I'll do it. 2013/2/18 Massimo Di Pierro > Bring it up with Mariano, author of fpdf. ;-) > > > On Sunday, 17 February 2013 14:37:03 UTC-6, mweissen wrote: > >> I have tried it now. These are my results: >> >> (1) A text like >> >> English: Hello World >> Greek: Γειά σ

Re: [web2py] Re: web2py contains pyfpdf version 1.54b, but there is version 1.7 with utf-8 support

2013-02-17 Thread Massimo Di Pierro
Bring it up with Mariano, author of fpdf. ;-) On Sunday, 17 February 2013 14:37:03 UTC-6, mweissen wrote: > > I have tried it now. These are my results: > > (1) A text like > > English: Hello World > Greek: Γειά σου κόσμος > Polish: Witaj świecie >

Re: [web2py] Re: web2py contains pyfpdf version 1.54b, but there is version 1.7 with utf-8 support

2013-02-17 Thread Martin Weissenboeck
I have tried it now. These are my results: (1) A text like English: Hello World Greek: Γειά σου κόσμος Polish: Witaj świecie Portuguese: Olá mundo Russian: Здравствуй, Мир Vietnamese: Xin chào thế giới Arabic: مرح

[web2py] Re: web2py contains pyfpdf version 1.54b, but there is version 1.7 with utf-8 support

2013-02-17 Thread Massimo Di Pierro
I just upgraded to the latest pfdf version (had to make a change for compatibility). Please check it. On Sunday, 17 February 2013 11:13:46 UTC-6, mweissen wrote: > > I want to use the utf-8 character set together with pyfpdf. > On https://code.google.com/p/pyfpdf/wiki/Unicode there is pyfpdf vers