At 2:28 PM +0000 3/26/01, Alan Fry was kind enough to write:


]There is Pod::Pdf on CPAN or http://www.afco.demon.co.uk which is 
Perl translating 'pod' into 'PDF'. The script is in two parts which 
are reasonably clearly separated; the first part dealing with 
translating the 'pod' mark-up and the second part with writing the 
PDF output.

I'm hoping to create graphics and layouts. Otherwise, I would just 
offer text files.


]In principle I see no reason why you couldn't write PDF "on the fly" 
from any text source. You don't *have* to LZW or ZIP encode: you will 
see Pod::Pdf makes no attempt to do so. It is just a space-saving 
option. Acrobat 'Reader' will accept text un-encoded or encoded in a 
variety of ways. I guess most other readers do likewise.

I actually HAVE written a module that writes limited PDFs on-the-fly: 
text, and some lines. See http://www.seercom.com/SUS/432

However, the next step is embedding images, which must be LZW 
compressed binaries, and I didn't want to reinvent the wheel.

-Graeme.
-- 
============================================================================
Graeme Kennedy | [EMAIL PROTECTED]
(604)-816-6061 | PO Box 71027 Vancouver, BC V6N 4J9
----------------------------------------------------------------------------
"A witty saying proves nothing." -- Voltaire

Reply via email to