Hi, PDFMerger has some handling of resources to prevent duplicates but your milage may vary. E.g. font subsets are not merged into a combined font. Same images from different PDFs might not be merged into a single one. Depends on the characteristics of the resource which needs to be added.
BR Maruan > Hi, > > OpenPDF has a class named PdfSmartCopy ( > https://github.com/LibrePDF/OpenPDF/blob/master/openpdf/src/main/java/com/lowagie/text/pdf/PdfSmartCopy.java) > that prevents duplicate fonts from getting added to a PDF file produced by > merging other PDF files. > > Does PdfBox has a similar functionality? > > Best regards, > Behrang Saeedzadeh > blog.behrang.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org For additional commands, e-mail: users-h...@pdfbox.apache.org