|Subject:||Invalid PDF file in test suite|
The "sample-xrefstm.pdf" can't be read with any PDF viewer I tried. Line 12 should contain "/N 2" (not "1") -- number of objects in object stream. (Ehm, what does test, which uses this PDF, test? :) If file is broken). After that file can be viewed OK with Ghostscript, Firefox, etc. Still not good enough for Adobe Reader, but it looks like Reader issue, it refuses uncompressed object streams and/or xref streams (? - doesn't matter). + MediaBox is required, and though most software forgives its absence, it's probably better if test suite contains 100% valid PDFs.