Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Including some PDFs as external-document results in a PDF that produces an error in Acrobat Reader (but not in Chrome!). The error message reads "There was an error processing a page. There was a problem reading this document (18)." and after Ctrl-click on OK "Expected a name object." is added. No page is visible.
The issue can be traced back to FOP PDF Images and exists in all its versions >=2.6. Versions 2.5 and lower produce results that work.
While the original PDFs do have some issues when checked with a tool like pdfcpu, others with similar issues don't produce the same error. The originals can be opened by Adobe Reader without a problem.
No ERROR or WARNING is logged. Searching on Google / Jira / the mailing list did not produce comparable problems.
Due to the fact that I get the copyrighted PDFs as-is by the customer, I don't have much freedom in either changing them to work around the problems, or provide too many examples.
Windows 10.0.19045 Build 19045
Java 17
FOP 2.8
PDFBox 2.0.28
PDF Images 2.8
(Included are three example documents with their respective results.)