[
https://issues.apache.org/jira/browse/PDFBOX-1051?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Adam Nichols reassigned PDFBOX-1051:
------------------------------------
Assignee: Adam Nichols
> Problem reading signed documents without new line after %%EOF
> -------------------------------------------------------------
>
> Key: PDFBOX-1051
> URL: https://issues.apache.org/jira/browse/PDFBOX-1051
> Project: PDFBox
> Issue Type: Bug
> Components: Writing
> Affects Versions: 1.5.0
> Reporter: Thomas Chojecki
> Assignee: Adam Nichols
> Attachments: newLineAfterEOF.patch
>
>
> If a document without an new line after %%EOF was signed incremental, the
> first object in the revision will be wrote directly behind the %%EOF without
> a blank or a new line
> this will look like this:
> %%EOF1 obj <<......>>
> The adobe reader can read such documents, the pdfbox skip it. I looked inside
> the pdf specification and can't find more details about such kind of
> documents, so I think this is a valid document. In case that some readers can
> handle it, I added a "new line" before writing the incremental update with
> the PDDocument.saveIncremental method.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira