Hi Thomas,

I've tested with the files provided during recent complaints on the users 
mailing list as well as PDFBOX-1556.

The files are accessible now using the jar you provided so the fix seems to 
solve the issue. As I'm on travel I can't do a full test though.

Maruan Sahyoun

Am 04.04.2013 um 20:53 schrieb Thomas Chojecki <i...@rayman2200.de>:

> Hi all,
> I have patched the COSWriter and I would ask you to test it please. I 
> attached the patch.
> 
> 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.
> 
> 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
> 
> 
> <pdfbox-1551.patch>

Reply via email to