Hi,

Am 04.04.2013 20:53, schrieb Thomas Chojecki:
Hi all,
I have patched the COSWriter and I would ask you to test it please. I attached
the patch.
Thanks for jumping in. Looks good to me, it restores the old behaviour. I'll run
some additional tests at the weekend. BTW the written trailer isn't correct in
any case. If the origin trailer contains a xrefstream, some of the stream
information (the decodeparms, the type) is still there. But that's not new,
1.7.1 already did the same.

I'll cut a new release soon, if everythings works well and nobody objects.

Due to temp. lacking access to my apache webspace, I uploaded the patched jar on
my private server.

http://media-nation.de/~rayman2200/pdfbox-1.9.0-SNAPSHOT.jar

Best regards
Thomas

If no one complain I would commit it.
+1, please use PDFBOX-1551 as reference.

Zitat von Thomas Chojecki <i...@rayman2200.de>:

Zitat von Andreas Lehmkuehler <andr...@lehmi.de>:

Hi,

Hi Andreas,

Am 04.04.2013 16:41, schrieb Maruan Sahyoun:
Hi Andreas,

it's related to PDFBOX-1551 as you already guessed. In addition PDF-1556 is
related to PDFBOX-1551. I linked them in Jira.
Thanks.

I ran a quick test. As suggested I simply load and save a pdf and got 2
different results:

- cweb.pdf (from our testsuite) works fine
- one of the pdfs attached to PDFBOX-1551 fails (the trailer is missing)

The reason is the trailer. The first pdf uses a xref table the second a xref
xstream. After saving the second the trailer is missing. The regression was
introduced with PDFBOX-1513.

I don't look at the file but as you already suggested, this changes come with
PDFBOX-1513. I will take a look and try to fix it.

I'm still investigating the details ... any help is appreciated.

BR
Andreas Lehmkühler

Best regards
Thomas



BR
Andreas Lehmkühler

Reply via email to