Hi,
I'm am almost ready with a module that should generate some pdf labels. For now i was using a free pdf class (because i was used to it) from http://www.ros.co.nz/pdf/ . Now before comitting this module i want to rewrite it so that i only use pdf function calls from the API (see drupaldocs).
To my disappointment, this means that a pdf extension ala clibpdf must be installed on your system. This is not standard in a php distribution.
Therefor i would like to suggest that the two or so classes from the site i mentioned should be included into drupal. That way, every developper could use it. (I'm thinking about pdfview module, e.g, or handbook). The code is free, so it is no problem to include it.
If there is a way to include the classes as modules, that would do also, but i don't see how that can happen, as of course there are no hooks implemented.
I would like to not need the classes included in my module, as those are much to generic and useful for others.
Any suggestions are welcome. which way should we go?
In some other node i found a discussion concerning the fonts. There was a 'quick' hack from Steven on fpdf (IIRC) to support UTF8. But no further work seems to be done on that part. Wouldn't it be useful to have one of the free pdf classes available to modules, even if the encoding support is not really there yet?
thx for your input...
luksedj