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
+Status: Feedback
Type: Feature/Change Request
Package: File_PDF
Operating System: Linux
Package Version: 0.3.2
PHP Version: 5.2.9
Roadmap Versions:
New Comment:
-Status: Open
+Status: Feedback
Ping?
Previous Comments:
------------------------------------------------------------------------
[2011-06-06 10:39:03] yunosh
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.
------------------------------------------------------------------------
[2010-09-22 18:57:35] edlman
Added #patch bug:17882;patch:UTF8-Support;revision:1285181855;.
------------------------------------------------------------------------
[2010-09-22 18:56:12] edlman
Description:
------------
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
tFPDF)
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
documentation).
If you like it, I'd be glad if you publish it.
------------------------------------------------------------------------
--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=17882&edit=1
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.