3d party PDF lib in PHP
public
group: PDF
ardas - Fri, 2007-08-03 11:55
Greetings,
I wonder why did you decide to use tcpdf library as a basis for pdfview module? Are there any other alternatives in PHP better than this lib?
Honestly speaking, I was not satisfied neither by its abilities nor by its architecture. Everything in one class is a bad approach which doesn't allow to flexibly extend it.


This is a good question..
I'm curious too.. I'd like add in can we, as a Drupal community, decide on a standard to use?
PDF-View uses TCPDF, my module (PDF-IDCard) uses TCPDF too (because of PDF-View mainly) but now PDFflyer uses the PEAR Libraries.
The PEAR libraries have some interesting features that I'd like to use but TCPDF has more support on the inter-tubes.
Sooo.. what's the answer to this? PEAR, TCPDF or ???
-Jacob Redding
Swapped out PDF libs
For a recent project that required PDF generation of the Federal W-9 tax form, I ran into some serious issues with CSS-based layouts (you can read my blog entry here). After massaging the layout to use tables, TCPDF still couldn't cut the mustard. I ended up swapping out TCPDF for the dompdf lib and couldn't be happier.
Perhaps PDFView should be lib agnostic?
Doing the same
I'm planning on doing the same. Only thing I need to work out is how to set the title of the pdf properly so that it shows up in the title bar for the pdf.
Any ideas?
Dave