Rick,
I can't help you with the PDF rendering process, only alex really knows how
that works, but the code is fairly well written so it shouldnt be hard to
understand. My guess is that concat'n pdfs will require the ability to
extract a page object from a pdf and put it in another; however, afaik we
don't really have any facilities to read PDF data that way as a lot of
settings are stored in the document itself (like embedded fonts/images etc
[they're referenced by the page]).
What you're talking about is certainly a very large body of work, but one
i'd love to have contributed =P There's a fw-formats mailing list, which is
probably more appropriate for questions related to zpdf dev.
Good luck,
Kevin
----- Original Message -----
From: "Rick Gigger" <[EMAIL PROTECTED]>
To: "Karol Grecki" <[EMAIL PROTECTED]>
Cc: <[email protected]>
Sent: Tuesday, June 19, 2007 7:09 PM
Subject: Re: [fw-general] Zend_pdf: concat pdfs
I already built an xml based layout engine for making pdfs that can plug in
multiple back ends, so it sort of caters to the lowest common denominator
as far as the pdf engine goes and only uses fairly primitive drawing
operations. As long as I can add images, measure text, and draw lines I'm
pretty much good.
Currently it uses RosPdf and FPdf and as far as I can tell Zend_pdf does
everything they do plus a whole lot more. Plus it looks like it's
structured better and will have much, much better ongoing support and
development.
But I really want the ability to load in the contents of more than one pdf
so I would be willing to take a crack at it. I realize the code is very
complicated so I may not have the time to invest in it but I at least want
to take a look. If no one has the time to help me with it, that is fine,
I will just notify the list if I think I've got anything good. But my
chances of success will probably go way up if I can at least get some
basic questions answered.
Thanks again,
Rick
Karol Grecki wrote:
Bear in mind that Zend_Pdf is still missing stuff like tables,
paragraphs,
page cloning and more.
You might want to evaluate its features against your project requirements
to
make sure it will do the job.
Cheers
Karol
Rick Gigger wrote:
Oh yeah, congratulations on anyone who worked on the PDF module. It is
by
a long long ways the best free pure php pdf implementation out there.
It
blows all the other one's away.
Thanks,
Rick