Andreas Røsdal
Andreas Røsdal
The issue occurs because PdfCopy does not preserve the source document’s /OCProperties dictionary, so hidden OCG layers become visible after copying. PdfStamper keeps the OCG configuration intact, but PdfCopy rebuilds...
Thank you. Pull request welcome.
See https://github.com/freecivx/freecivx
I created a test case based on the code you provided. According to ChatGPT the image has the font Trebuchet Ms. Can you please create a full Junit test which...