There are 2 main types of xref tables: the "classic xref" available in all PDF versions, and "xref streams" available in PDF1.5+. There is also a mix in the form of "hybrid-reference PDFs". For the latter, GS ignores the xref-stream part, beheaving as a PDF1.4-and-earlier viewer, even it does handle both main types of xref.
Created attachment 1650 [details] Suggested patch.
Please attach a sample file.
See the sample for bug 688283 "'trailer' without 'startxref'". Notes: - There's extra trouble with that file, which compounds the problem described here (patch attached on that bug report). - For that file, only structure information is hidden from PDF1.4 viewers, so don't expect to see any difference by displaying/printing the file. I stumbeld against this while fixing pdfinflt.ps (and there you will see the difference).
This was not assigned correctly.
The patch is adopted and committed as a rev. 8473. Thank you, SaGS. Regression testing shows no differences.