[Poppler-bugs] [Bug 90790] pdfunite: invalid cross reference table

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jun 22 03:18:58 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=90790

--- Comment #3 from Thomas Freitag <Thomas.Freitag at alfa.de> ---
(In reply to Albert Astals Cid from comment #2)
> Thomas?

The review for the patch is okay. But I must admit that I can't really follow
the arguments in
http://stackoverflow.com/questions/30526254/sign-concatenated-pdf-in-append-mode-with-certified-no-changes-allowed.
Yes, according to section 7.5.4 Cross-Reference Table of ISO 32000-1
(http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/PDF32000_2008.pdf)
2g.pdf is a modified PDF document. But why not? I can argue that pdfunite
modifies the orginal g.pdf in the way that it adds a second page, which is in
this case the same g.pdf.
Therefore in my eyes itext should completely rewrite the PDF document when
using the parameter CERTIFIED_NO_CHANGES_ALLOWED!!! Or it should deny to use
this option with any modified PDF.
But nevertheless, we can also argue that pdfunite should write a complete
unmodified PDF, and since the usage of the parameter "writeAllEntries" does
exactly this and also produces a well formed, just unmodified, PDF I can live
with this change.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20150622/4cbe689a/attachment-0001.html>


More information about the Poppler-bugs mailing list