Re: [Podofo-users] PATCH for PdfXRefStreamParserObject.cpp (Repost)

2015-02-11 Thread zyx
> > switch( lW[0] == 0 ? 1 : nData[0] ) > Yes, I agree: your solution is cleaner and does fix the problem. Hi, I received a private reply from Amin couple weeks ago with his acknowledge that the above change works, thus I committed it as r1666: http://sourceforge.net/p/podofo/code/1666

Re: [Podofo-users] PATCH for PdfXRefStreamParserObject.cpp (Repost)

2015-01-14 Thread zyx
On Tue, 2015-01-13 at 10:40 +0100, A. Massad wrote: > > I have managed to fix this issue with the following patch to > PdfXRefStreamParserObject.cpp, the if-statement added just before > the switch-statement fixed this bug: > > > =

[Podofo-users] PATCH for PdfXRefStreamParserObject.cpp (Repost)

2015-01-13 Thread A. Massad
Hello PoDoFo developers, I think that I’ve fixed a bug in PdfXRefStreamParserObject which occurred if the first array entry in the „W“-Array has a zero value: Current SVN version r1665 treated this case as „type 0“ (free object), however according to the PDF-Spec this case should have a default