Hi,
Am 19.03.2012 14:32, schrieb Craig Ringer:
Hi folks
As promised, here's a patch that rewrites Overlay.java to use PDFBox's content
stream processor (PDFStreamEngine) to rewrite the contents stream, instead of
using its own home-rolled search-and-replace.
Thanks again for the contribution!
After this patch is applied, the same PDF or multiple PDFs with clashing
resource names may be overlaid over a target PDF without error. This is
particularly useful in conjunction with the previously posted patch that enables
Overlay to position, scale and rotate an overlaid PDF.
The patch is attached on JIRA here:
https://issues.apache.org/jira/browse/PDFBOX-1263
It depends on the prior patches:
https://issues.apache.org/jira/browse/PDFBOX-1255 (Overlay.java
translate/rotate/scale)
https://issues.apache.org/jira/browse/PDFBOX-1256 (Split PDFStreamEngine)
Please review and consider applying these changes if you approve of them.
This may take some time. We have to check if some of the stuff has to wait for
the next major release. But I guess you're aware of that as you already
mentioned it in some of your former posts.
--
Craig Ringer
BR
Andreas Lehmkühler