Re: Odd OCG error

2023-11-22 Thread Tilman Hausherr
Great. The problem mentioned by Andreas will be fixed in the next version. Tilman On 22.11.2023 17:59, John Lussmyer wrote: Thanks, that really helps.  Since we are too close to release to try a newer PDFBox jar, I just added this little bit of code to our system so these PDF's will work. (the

Re: Odd OCG error

2023-11-22 Thread John Lussmyer
Thanks, that really helps.  Since we are too close to release to try a newer PDFBox jar, I just added this little bit of code to our system so these PDF's will work. (the if statement before creating the "PDOptionalContentGroup".)     if (!dict.getItem(COSName.TYPE).equals(COSName.OCG)) {