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