The PDF provided in the tesproject was just used as an example and has absolutely no meaning to me what so ever. But I cannot provide you with a real world business document and actually that doesn't matter as the error occurs with any of our documents.
As mentioned in the comments of the example project (in Main method) we convert RTF files to PDF using a third party library and every PDF created with that library fails to be combined using your library.
Also in the comments I explained about a fix for this issue:
Changing the code in a file called FlateDecode.cs in the current codeplex source code after the #else for #if NET_ZIP into
Code:
byte header; // 0x30 0x59
header = (byte)msInput.ReadByte();
//Debug.Assert(header == 48);
header = (byte)msInput.ReadByte();
//Debug.Assert(header == 89);
InflaterInputStream iis = new InflaterInputStream(msInput, new Inflater(true));
from just
Code:
InflaterInputStream iis = new InflaterInputStream(msInput, new Inflater(false));
The problem is we do not know the side effects of such a change.
Thank you for your help.