Edit report at http://pear.php.net/bugs/bug.php?id=17882&edit=1

ID: 17882
Updated by: [email protected]
Reported By: martin dot edlman at gmail dot com
Summary: UTF8 support
Status: Open
Type: Feature/Change Request
Package: File_PDF
Operating System: Linux
Package Version: 0.3.2
PHP Version: 5.2.9
Roadmap Versions:
New Comment:

Would you mind porting this to Horde_File_Pdf on pear.horde.org, which
is the successor of File_PDF for PHP5? And at the same time, please
don't change the package/class names.

Previous Comments:

[2010-09-22 18:57:35] edlman

Added #patch bug:17882;patch:UTF8-Support;revision:1285181855;.


[2010-09-22 18:56:12] edlman

I have made a patch for File_PDF to add UTF8 support. I call it
File_PDFu. I made this patch based on tFPDF
http://www.fpdf.org/en/script/script92.php by Ian Back.
I have tested my version against all tests from
http://dev.horde.org/pdf/, nearly everything matches.
You can see results on my test site http://edas.bezdrat.net/pdf/ (only
tests starting with ! (exclamation mark) don't work, not because of
File_PDFu but because of an error in the test scripts.
You can see UTF8 test on http://edas.bezdrat.net/pdf/--tfpdf/
(ex-PDFu.php is UTF8 version using File_PDFu, ex.php is UTF8 using
and on http://edas.bezdrat.net/pdf/image_alpha/ (ex-utf.php is UFT8 text
using File_PDFu, ex.php is original English text using File_PDF).
The code keeps coding style already used in File_PDF. I'm not sure if
it's o.k. for PEAR (maybe not as I read PEAR's coding style
If you like it, I'd be glad if you publish it.


Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
postedJun 6, '11 at 9:39a
activeJun 6, '11 at 9:39a

1 user in discussion

Jan: 1 post



site design / logo © 2023 Grokbase