remcoboerma / pyfpdf

Automatically exported from code.google.com/p/pyfpdf
GNU Lesser General Public License v3.0
0 stars 0 forks source link

Can't render unicode character "č" #62

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Trying to render č character (lowercase)
2. You can try simple snippet https://dpaste.de/4dqTn/raw/

What is the expected output? What do you see instead?
Expected output is correctly encoded "č" character. I see a rectangle instead.

What version of the product are you using? On what operating system?
fpdf==1.7, Mac OS X 10.7.5

Please provide any additional information below.
I followed unicode tutorial at 
http://code.google.com/p/pyfpdf/source/browse/tutorial/unicode.py and I used
unicode font from the ttf font pack. My file is encoded in UTF-8.

Original issue reported on code.google.com by erik.telepovsky@gmail.com on 30 Jul 2013 at 7:37

GoogleCodeExporter commented 9 years ago
I see that character rendered correctly (attached is the example test file and 
pdf output) 

Please try to use the latest code from the repository (PyFPDF 1.7.1), you can 
download it using mercurial:

hg clone https://reingart@code.google.com/p/pyfpdf/ 

Original comment by reingart@gmail.com on 30 Jul 2013 at 4:07

Attachments:

GoogleCodeExporter commented 9 years ago
Yes, that worked. Thank you ;)

Original comment by erik.telepovsky@gmail.com on 31 Jul 2013 at 9:07

GoogleCodeExporter commented 9 years ago

Original comment by reingart@gmail.com on 31 Jul 2013 at 2:19