Re: Bug report

2023-09-26 Thread Morten Stulen
You're right, the same validation error occurs in 2.0.29 for that PDF. It seems to me that the generation of the PDF differs from v2 to v3 (?). I tried just creating a simple page for each, and only PDFBox 3 gives me the ", /XRef cross reference streams are not allowed". See code snippets below. P

Re: Bug report

2023-09-26 Thread Morten Stulen
Sorry, correct link to PDF generation: link ᐧ On Tue, Sep 26, 2023 at 11:49 AM Morten St

Re: empty/missing pdf content

2023-09-26 Thread Pados Attila
Hi, so far the team delayed swapping pdfbox version, so I can only work on this on my own. I will make a simple command line application, or a unit test, that would imitate what the webapp does, using pdfbox 3, and first reproduce the error there. But it may take several weeks, as I have little fr

Re: Bug report

2023-09-26 Thread Tilman Hausherr
On 26.09.2023 11:49, Morten Stulen wrote: If the PDFBox 3 validation is correct, what is required to fix the validation for XRef? save your file like this: doc.save(file, CompressParameters.NO_COMPRESSION); I have added this to the migration page, it will be in the next website update. (