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

ID: 17882
Updated by: jan@horde.org
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.

------------------------------------------------------------------------

Search Discussions

  • Martin Edlman at Aug 16, 2011 at 7:58 am
    Edit report at http://pear.php.net/bugs/bug.php?id=17882&edit=1

    ID: 17882
    Updated by: martin.edlman@gmail.com
    Reported By: martin dot edlman at gmail dot com
    Summary: UTF8 support
    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:

    Hello, I'd like to port it Horde_File_Pdf but I'm quite busy these days,
    so I'm affraid it won't be very soon. First of all I have to study
    coding standards used, error/exception handling etc. If there is anyone
    else who can do it faster and maybe better, I'd be glad if he/she do it.


    Previous Comments:
    ------------------------------------------------------------------------

    [2011-08-06 23:21:08] yunosh

    -Status: Open
    +Status: Feedback
    Ping?

    ------------------------------------------------------------------------

    [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.

    ------------------------------------------------------------------------

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedAug 6, '11 at 9:20p
activeAug 16, '11 at 7:58a
posts2
users2
websitepear.php.net

2 users in discussion

Jan: 1 post Martin Edlman: 1 post

People

Translate

site design / logo © 2022 Grokbase