[ https://issues.apache.org/jira/browse/PDFBOX-1745?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13803115#comment-13803115 ]
Ken Liu commented on PDFBOX-1745: --------------------------------- Thanks Andreas! I just attached the problematic pdf of the result of pdf_1.pdf appending pdf_2.pdf. It has errors when going down to the pdf_2.pdf part. The following is the pseudo code for the merge: PDFMergerUtility merger = new PDFMergerUtility(); merger.appendDocument((PDDocument) pdf_1, (PDDocument) pdf_2); pdf_1.save(); //to file: merged_bad.pdf Thanks. > PDF generated with PDFMergerUtility error out when opening. > ----------------------------------------------------------- > > Key: PDFBOX-1745 > URL: https://issues.apache.org/jira/browse/PDFBOX-1745 > Project: PDFBox > Issue Type: Bug > Components: Utilities > Affects Versions: 1.8.2 > Reporter: Ken Liu > Priority: Blocker > Attachments: merged_bad.pdf, pdf_1.pdf, pdf_2.pdf > > > Two pdf files - pdf_1 and pdf_2, after merged by PDFMergerUtility, > pdf_1 + pdf_2: error out when opening the merged pdf, when browsing down to > the pdf_2 part. > pdf_2 + pdf_1: works. > This issue is different than PDFBOX-515. for this problem, pdf is gernerated > in both way, but when opening, get errors. -- This message was sent by Atlassian JIRA (v6.1#6144)