Bug 689739 - Different interpretation of PDF with AcrobatReader and Ghostscript
Summary: Different interpretation of PDF with AcrobatReader and Ghostscript
Status: NOTIFIED FIXED
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: PDF Interpreter (show other bugs)
Version: 8.60
Hardware: PC Windows XP
: P2 normal
Assignee: Marcos H. Woehrmann
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-06 02:58 UTC by artifex
Modified: 2008-12-19 08:31 UTC (History)
0 users

See Also:
Customer: 870
Word Size: ---


Attachments
patch (1.40 KB, patch)
2008-07-14 11:16 UTC, Marcos H. Woehrmann
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description artifex 2008-03-06 02:58:08 UTC
Viewing the attached PDF-file with AcrobatReader 8 and Ghostscript delivers a
total different result. The graphics that you can see with the AcrobatReader you
cannot see with the Ghostscript and vice versa. 
The file contains several images and image-masks which interpretation seems to
be very different.
Comment 1 artifex 2008-03-06 02:59:40 UTC
Created attachment 3840 [details]
different viewing with AcrobatReader and Ghostscript
Comment 2 Alex Cherepanov 2008-03-06 18:53:05 UTC
Created attachment 3842 [details]
i5.pdf  - simplified sample file

This PDF file contains a single JBIG2 image. By some reason Ghostscript
renders it blank.
Comment 3 Henry Stiles 2008-05-07 11:16:37 UTC
Ralph owns jbig2.
Comment 4 Ralph Giles 2008-06-30 17:14:04 UTC
The image in the simplified test file has and invalid segment length. This is
the same Xerox WorkCentre bug that was addressed inbBug 689852. Applying the
patch from r8778 should resolve this issue.

However, there seem to be some scaling or compositing issues on top of the jbig2
issue. I get some vertical blank bands with the screen display, and no image at
all with the ppmraw device at 300 dpi. Assigning back to support for review of
this part.
Comment 5 Ray Johnston 2008-07-14 08:26:43 UTC
With Rev 8838, Ghostscript output is identical to Acrobat Reader 7.

We will contact the customer to see if they need a patch or can wait for the
August 8.63 release.
Comment 6 Marcos H. Woehrmann 2008-07-14 11:16:37 UTC
Created attachment 4216 [details]
patch

This patch works with gs8.60 (and likely any later version).