#924 (ok 2.10.0) Replace FPDF library with TCPDF

fixed
PDF (13)
1
2013-06-11
2006-06-06
No

I notice that phpMyAdmin is using both FPDF and UFPDF
libraries.

I suggest to replace both libraries with TCPDF
[http://sourceforge.net/projects/tcpdf/] that
integrates all functionalities of the previous (and
more), it's more stable and better documented.

The only issue is that TCPDF require PHP5 but a PHP4
compatible version requires just few "search and replace".

Discussion

  • Michal Čihař

    Michal Čihař - 2006-06-07

    Logged In: YES
    user_id=192186

    This is not a patch, moving to feature requests. Anyway PHP
    4 compatibility is simply required for now and I doubt we
    will integrate something what is supported for PHP 5 only.

     
  • Michal Čihař

    Michal Čihař - 2006-06-07
    • labels: 509134 --> PDF
    • milestone: 284143 -->
     
  • Nicola Asuni

    Nicola Asuni - 2006-06-08

    Logged In: YES
    user_id=1191518

    I've just released a PHP4 backport of the TCPDF library.
    Next versions will be released for both PHP 4 and 5.

    Please do not esitate to contact me if you need support for
    this library.

     
  • Michal Čihař

    Michal Čihař - 2006-06-08
    • assigned_to: nobody --> nijel
     
  • Michal Čihař

    Michal Čihař - 2006-06-08

    Logged In: YES
    user_id=192186

    Please announce here when release which supports both PHP 4
    and 5 is ready, I will try to convert our code to TCPDF then.

     
  • Nicola Asuni

    Nicola Asuni - 2006-06-08

    Logged In: YES
    user_id=1191518

    OK, I'm ready :)
    The release on tcpdf_php4 package supports both PHP4 and PHP5.
    Please note also that TCPDF is fully documented (see the doc
    directory inside the package).

    http://sourceforge.net/projects/tcpdf

     
  • Jürgen Wind

    Jürgen Wind - 2006-06-12

    Logged In: YES
    user_id=1383652

    >tcpdf_php4 package supports both PHP4 and PHP5
    thats confusing : nobody would exspect a package named
    tcpdf_php4 to support PHP5.

     
  • Nicola Asuni

    Nicola Asuni - 2006-06-12

    Logged In: YES
    user_id=1191518

    Please note that PHP has a back compatibility, so if you
    have PHP 5 you may also execute php4 and php3 applications.

    tcpdf_php4 is the package that contains the TCPDF version
    that works from php4 to php5 and future versions.
    tcpdf is the package that contains the TCPDF version that
    works from php5 to future versions.

    Please note that the name tcpdf_php4 has been introduced
    just to distinguish this library from the previous. Once
    downloaded you may rename it just "tcpdf" :)

     
  • Nicola Asuni

    Nicola Asuni - 2006-06-27

    Logged In: YES
    user_id=1191518

    TCPDF 1.53.0.TC020_PHP4 has been released!
    This version includes an important bugfix for the PHP4 version.

     
  • Michal Čihař

    Michal Čihař - 2006-09-20

    Logged In: YES
    user_id=192186

    No time for this, sorry.

     
  • Michal Čihař

    Michal Čihař - 2006-09-20
    • assigned_to: nijel --> nobody
     
  • Michal Čihař

    Michal Čihař - 2006-11-02
    • assigned_to: nobody --> nijel
     
  • Michal Čihař

    Michal Čihař - 2006-11-02
    • summary: Replace FPDF library with TCPDF --> (ok 2.10.0) Replace FPDF library with TCPDF
    • priority: 5 --> 1
    • status: open --> open-fixed
     
  • Michal Čihař

    Michal Čihař - 2006-11-02

    Logged In: YES
    user_id=192186

    Fixed in Subversion, thanks for suggestion.

     
  • Marc Delisle

    Marc Delisle - 2007-02-28
    • status: open-fixed --> closed-fixed
     
  • Michal Čihař

    Michal Čihař - 2013-06-11
    • Status: closed-fixed --> fixed