Hi,

Am 23.03.2017 um 18:10 schrieb Donald Whytock:
Hi all...

I'm checking out PDFBox printing capability using a 32-page PDF.  The good
news is that the PDF prints perfectly.  The bad news is that it takes over
half an hour.

To better understand the situation, I added some logging to the
PDFPrintable class.  Half the pages printed almost instantly; the other
half averaged six minutes per page.

While PDFPrintable.print() was called twice for each quick page, it was
called over 1,800 times for one page.  Logging the graphics parameter
as graphics.getClip().toString() showed each call was for a different
region of the page.  At eight minutes for the page, that's roughly five
calls executed per second.

I don't know what produced the PDF, and probably have no influence in its
use.  Is this performance what I should expect?

Thanks...

What version of PDFBox are you using?
Coudl you provide us with the pdf in question (upload it somewhere to a public place or mail it to one of the devs if you can't share it in public.

Did you try to render it using PDFDebugger? If so, do you see some differences when rendering those problematic pages?


Don

BR
Andreas



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to