Dear developers The last commit 1692730 by lehmi, 18:36, broke the PDFWriter. The result is: The file xx.pdf cannot be open; It may be damaged or use a file format that Preview doesn’t recognize. The same when using Acrobat Professional.
Reverting the commit to the old one makes everything work again. What is the reason for this change? // use previous startXref value as new PREV value trailer.setLong(COSName.PREV, doc.getStartXref()); //trailer.removeItem(COSName.PREV); The trailer.removeItem(COSName.PREV) works, the new trailer.setLong(COSName.PREV, doc.getStartXref()) code does not. Best regards Roberto