Bug 690609 - Lines missing for ripped PDF file
Summary: Lines missing for ripped PDF file
Status: NOTIFIED FIXED
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: PDF Interpreter (show other bugs)
Version: master
Hardware: Macintosh MacOS X
: P1 normal
Assignee: Alex Cherepanov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-07 15:34 UTC by Marcos H. Woehrmann
Modified: 2011-09-18 21:46 UTC (History)
0 users

See Also:
Customer: 531
Word Size: ---


Attachments
Nordwest_d.pdf (6.58 KB, application/pdf)
2009-07-07 15:35 UTC, Marcos H. Woehrmann
Details
comparison.png (62.79 KB, image/png)
2009-07-07 15:36 UTC, Marcos H. Woehrmann
Details
dflt-stroke-after-fill.pdf - simplified sample file (988 bytes, application/pdf)
2009-07-07 19:03 UTC, Alex Cherepanov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcos H. Woehrmann 2009-07-07 15:34:36 UTC
The customer reports and I've verified that the attached PDF file is missing all of the vertical lines when 
ripped by Ghostscript as compared to Acrobat Pro 9.  

The command line I'm using:

  bin/gs -sDEVICE=tiff24nc -r600 -o test.tif ./Nordwest_d.pdf
Comment 1 Marcos H. Woehrmann 2009-07-07 15:35:20 UTC
Created attachment 5192 [details]
Nordwest_d.pdf
Comment 2 Marcos H. Woehrmann 2009-07-07 15:36:45 UTC
Created attachment 5193 [details]
comparison.png

Comparison of Adobe Acrobat Pro 9 output (top) to Ghostscript output (bottom). 
Both output files are at 600 dpi.
Comment 3 Alex Cherepanov 2009-07-07 19:03:35 UTC
Created attachment 5194 [details]
dflt-stroke-after-fill.pdf - simplified sample file

The sample file is rather simple.
The file selects a fill color, fills an object, and strokes a line
with default color.
  q 1 1 1 rg  0 0 8 8 re f 0.75 w 2 J 0 0 m 0 8 l S Q
Ghostscript appears to use the fill color for stroking.

This bug exists on all versions of Ghostscript. It should be quite easy to fix.
Comment 4 Alex Cherepanov 2009-07-08 18:26:49 UTC
Set default color and colorspace for colored pattern stream that relies on
default values; keep the color unset as required for uncolored pattern.

The following patch has been committed as a rev. 9850.
http://ghostscript.com/pipermail/gs-cvs/2009-July/009547.html
Regression testing shows no differences.

The simplified file dflt-stroke-after-fill.pdf has been added to the public
test suite by the rev. 9851.
Comment 5 Marcos H. Woehrmann 2011-09-18 21:46:48 UTC
Changing customer bugs that have been resolved more than a year ago to closed.