3d party PDF lib in PHP

ardas's picture

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.

Comments

This is a good question..

jredding's picture

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

-Jacob Redding

Swapped out PDF libs

gestaltware's picture

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

dwees's picture

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

PDF

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week