[gs-bugs] [Bug 691531] pdfmark cross-references do not work in PDF when viewed with Adobe Reader

bugzilla-daemon at ghostscript.com bugzilla-daemon at ghostscript.com
Sun Aug 15 08:12:54 UTC 2010


http://bugs.ghostscript.com/show_bug.cgi?id=691531

--- Comment #4 from disposable593-gs at yahoo.com 2010-08-15 08:12:52 UTC ---
The Ghostscript 9 pre-release PDF file works fine in Acrobat Reader on my
system (Windows XP SP3). In fact, it is practically identical to the PDF file
generated by GS 8.64.

In the PDF file generated by Ghostscript 8.71, however, object numbers 12 and
13 are exchanged, and the reference is different:

  **GS 8.64 and GS 9 prerelease
      13 0 obj
      <</Page2 [12 0 R /XYZ null null null]>>endobj

  **GS 8.71
      12 0 obj
      <</Page2 [null /XYZ null null null]>>endobj

The null reference seems to cause the problem in Acrobat Reader (tested with
Adobe Reader 7.0.8 and Acrobat Reader 5.0).
For reference I will attach the PDF files. These were generated with newly
downloaded versions of GS 8.64 and GS 8.71:


C:\Robert\temp>gs8.71\bin\gswin32c -dBATCH -dNOPAUSE -sDEVICE=pdfwrite
-sOutputFile=out8.71.pdf test.ps
GPL Ghostscript 8.71 (2010-02-10)
Copyright (C) 2010 Artifex Software, Inc.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Loading NimbusRomNo9L-Regu font from %rom%Resource/Font/NimbusRomNo9L-Regu...
2530840 1209538 1668624 386778 1 done.

C:\Robert\temp>gs8.64\bin\gswin32c -dBATCH -dNOPAUSE -sDEVICE=pdfwrite
-sOutputFile=out8.64.pdf test.ps
GPL Ghostscript 8.64 (2009-02-03)
Copyright (C) 2009 Artifex Software, Inc.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Loading NimbusRomNo9L-Regu font from %rom%Resource/Font/NimbusRomNo9L-Regu...
2700448 1235505 7414464 6132266 1 done.

-- 
Configure bugmail: http://bugs.ghostscript.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the gs-bugs mailing list