Bug 688282 - Xref-streams ignored in hybrid-ref PDFs
Summary: Xref-streams ignored in hybrid-ref PDFs
Status: NOTIFIED FIXED
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: PDF Interpreter (show other bugs)
Version: master
Hardware: PC All
: P3 normal
Assignee: Alex Cherepanov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-24 13:49 UTC by SaGS
Modified: 2008-12-19 08:31 UTC (History)
0 users

See Also:
Customer:
Word Size: ---


Attachments
Suggested patch. (816 bytes, patch)
2005-08-24 13:52 UTC, SaGS
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description SaGS 2005-08-24 13:49:16 UTC
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.
Comment 1 SaGS 2005-08-24 13:52:58 UTC
Created attachment 1650 [details]
Suggested patch.
Comment 2 Dan Coby 2005-08-26 16:50:50 UTC
Please attach a sample file.
Comment 3 SaGS 2005-08-26 23:29:23 UTC
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).
Comment 4 Henry Stiles 2007-12-31 13:39:20 UTC
This was not assigned correctly.
Comment 5 Alex Cherepanov 2008-01-01 13:59:41 UTC
The patch is adopted and committed as a rev. 8473.
Thank you, SaGS.

Regression testing shows no differences.