lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Hash: SHA1

Bertrand Mansion wrote:
> FPDF is very popular in the PHP world because it is free and easy to
> use. Its pseudo OO code is ugly though.
> But TCPDF, which is even more useful is even uglier, probably the
> ugliest code I have seen in PHP ever.

On the gripping hand, don't forget that you can also write out an XSL-FO
file, which is dead easy because it's just simple XML, then run the
result through fop and generate PDF from that.

This has the advantage in that you can trivially define all your style
in off-line XSLT documents so that all your Lua code needs to concern
itself with is the actual content... but it has the disadvantage in that
 all your style is stored in off-line XSLT documents.

- --
┌─── ───── ─────
│ "There is nothing in the world so dangerous --- and I mean *nothing*
│ --- as a children's story that happens to be true." --- Master Li Kao,
│ _The Bridge of Birds_
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla -