[ 
https://issues.apache.org/jira/browse/PDFBOX-3263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15189192#comment-15189192
 ] 

Andreas Lehmkühler commented on PDFBOX-3263:
--------------------------------------------

I looks like a missunderstanding. Both files are marked as 1.5 and the origin 
post was about merging pdfs > 1.4

The issue is that in pdfa-1b cross reference streams are not allowed and 
obviously 2.0 creates such streams whereas 1.8 creates a cross reference table 
which is allowed within pdfa-1b conformance level. So the question is, does one 
of the origin pdfs already use a cross reference stream and PDFBox simply used 
it as well or did PDFBox introduce that format when overlaying both files?



> Don't create cross-reference streams for 1.4 PDF files
> ------------------------------------------------------
>
>                 Key: PDFBOX-3263
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3263
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Writing
>    Affects Versions: 2.0.0
>            Reporter: Tilman Hausherr
>         Attachments: result-PDFBox18.pdf, result-PDFBox2.pdf
>
>
> To be done after the 2.0 release: PDF of 1.4 version should not have 
> cross-reference streams, see code in PDFBOX-3026. Alternatively, set version 
> to 1.5 if cross-reference streams are "on" and the version is below 1.5.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to