Bug 691882 - Bad PostScript file produced by Ghostscript
Summary: Bad PostScript file produced by Ghostscript
Status: RESOLVED DUPLICATE of bug 691928
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: PS Writer (show other bugs)
Version: master
Hardware: PC All
: P4 normal
Assignee: Ken Sharp
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-12 20:42 UTC by Marcos H. Woehrmann
Modified: 2011-02-02 13:32 UTC (History)
0 users

See Also:
Customer:
Word Size: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcos H. Woehrmann 2011-01-12 20:42:09 UTC
The file Bug690300.pdf generates a bad PostScript file when converted using Ghostscript head (r12021) and ps2write @ 300 dpi.  The same file works correctly @ 72 dpi.

The command lines I'm using for testing:

  bin/gs -sDEVICE=ps2write -o test.ps -r300 ./Bug690300.pdf
  bin/gs -sDEVICE=ppmraw -o test.ppm ./test.ps

Error message:

GPL Ghostscript SVN PRE-RELEASE 9.01 (2010-09-14)
Copyright (C) 2010 Artifex Software, Inc.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Loading NimbusSanL-Regu font from %rom%Resource/Font/NimbusSanL-Regu... 3408312 2023379 5724464 3514376 1 done.
Loading NimbusSanL-Bold font from %rom%Resource/Font/NimbusSanL-Bold... 3441592 2126452 5724464 3520952 1 done.
Loading NimbusSanL-BoldItal font from %rom%Resource/Font/NimbusSanL-BoldItal... 3555608 2245178 5724464 3532259 1 done.
%%[ Error handled by opdfread.ps : undefined; OffendingCommand: p ]%%
Loading NimbusMonL-Regu font from %rom%Resource/Font/NimbusMonL-Regu... 3716360 2393128 7991952 5921466 2 done.
%%[STACK:
-mark-
-mark-
-mark-
%%]%
Comment 1 Marcos H. Woehrmann 2011-01-12 20:45:41 UTC
The file Bug690349.ps fails in exactly the opposite way: @ 300 dpi the generated PostScript file is bad but @ 72 dpi it's okay.
Comment 2 Marcos H. Woehrmann 2011-01-12 20:54:46 UTC
Here is the complete list of regression test file that generate a bad PostScript file with ps2write:

tests__pdf__Bug6901014_Additional_testcase.pdf.ps.pkmraw.300.0
tests__pdf__Bug6901014_Additional_testcase.pdf.ps.ppmraw.300.0
tests__pdf__Bug6901014_Fourth_crash_signature_testcase.pdf.ps.ppmraw.72.0
tests__pdf__Bug6901014_SMP_Warwick_14.pdf.ps.pkmraw.300.0
tests__pdf__Bug6901014_SMP_Warwick_14.pdf.ps.ppmraw.300.0
tests__pdf__singular_ctm_3_tr_mode.pdf.ps.pkmraw.300.0
tests__pdf__singular_ctm_3_tr_mode.pdf.ps.ppmraw.300.0
tests__pdf__singular_ctm_3_tr_mode.pdf.ps.ppmraw.72.0
tests_private__comparefiles__Bug687797.pdf.ps.pkmraw.300.0
tests_private__comparefiles__Bug687797.pdf.ps.ppmraw.300.0
tests_private__comparefiles__Bug689614.pdf.ps.pkmraw.300.0
tests_private__comparefiles__Bug689614.pdf.ps.ppmraw.300.0
tests_private__comparefiles__Bug689614.pdf.ps.ppmraw.72.0
tests_private__comparefiles__Bug690090.pdf.ps.ppmraw.72.0
tests_private__comparefiles__Bug690300.pdf.ps.pkmraw.300.0
tests_private__comparefiles__Bug690300.pdf.ps.ppmraw.300.0
tests_private__comparefiles__Bug690349.ps.ps.ppmraw.72.0
tests_private__comparefiles__Bug690837.pdf.ps.pkmraw.300.0
tests_private__comparefiles__Bug690837.pdf.ps.ppmraw.300.0
tests_private__comparefiles__Bug690837.pdf.ps.ppmraw.72.0
tests_private__comparefiles__Bug691031.pdf.ps.pkmraw.300.0
tests_private__comparefiles__Bug691031.pdf.ps.ppmraw.300.0
tests_private__comparefiles__Bug691031.pdf.ps.ppmraw.72.0
tests_private__comparefiles__Bug691076.pdf.ps.ppmraw.72.0
tests_private__comparefiles__bugsample.pdf.ps.pkmraw.300.0
tests_private__comparefiles__bugsample.pdf.ps.ppmraw.300.0
tests_private__comparefiles__bugsample.pdf.ps.ppmraw.72.0
tests_private__comparefiles__p2b-100.pdf.ps.ppmraw.72.0
tests_private__comparefiles__test-setweightvector.ps.ps.pkmraw.300.0
tests_private__comparefiles__test-setweightvector.ps.ps.ppmraw.300.0
tests_private__comparefiles__test-setweightvector.ps.ps.ppmraw.72.0
tests_private__comparefiles__tpc2.ps.ps.pkmraw.300.0
tests_private__comparefiles__tpc2.ps.ps.ppmraw.300.0
tests_private__comparefiles__tpc2.ps.ps.ppmraw.72.0
tests_private__pdf__PDFIA1.7_SUBSET__CATX0356.pdf.ps.pkmraw.300.0
tests_private__pdf__PDFIA1.7_SUBSET__CATX0356.pdf.ps.ppmraw.300.0
tests_private__pdf__PDF_1.7_FTS__fts_20_2005.pdf.ps.pkmraw.300.0
tests_private__pdf__PDF_1.7_FTS__fts_20_2005.pdf.ps.ppmraw.300.0
tests_private__pdf__PDF_1.7_FTS__fts_20_2005.pdf.ps.ppmraw.72.0
tests_private__ps__ps3cet__09-11.PS.ps.pkmraw.300.0
tests_private__ps__ps3cet__09-11.PS.ps.ppmraw.300.0
tests_private__ps__ps3cet__09-34.PS.ps.pkmraw.300.0
tests_private__ps__ps3cet__09-34.PS.ps.ppmraw.300.0
tests_private__ps__ps3cet__09-34.PS.ps.ppmraw.72.0
tests_private__ps__ps3cet__09-47A.PS.ps.pkmraw.300.0
tests_private__ps__ps3cet__09-47A.PS.ps.ppmraw.300.0
tests_private__ps__ps3cet__09-47A.PS.ps.ppmraw.72.0
tests_private__ps__ps3cet__09-47B.PS.ps.pkmraw.300.0
tests_private__ps__ps3cet__09-47B.PS.ps.ppmraw.300.0
tests_private__ps__ps3cet__09-47B.PS.ps.ppmraw.72.0
tests_private__ps__ps3cet__12-07A.PS.ps.pkmraw.300.0
tests_private__ps__ps3cet__12-07A.PS.ps.ppmraw.300.0
tests_private__ps__ps3cet__12-07A.PS.ps.ppmraw.72.0
tests_private__ps__ps3cet__18-02B.PS.ps.pkmraw.300.0
tests_private__ps__ps3cet__18-02B.PS.ps.ppmraw.300.0
tests_private__ps__ps3cet__18-02B.PS.ps.ppmraw.72.0
Comment 3 Ken Sharp 2011-02-02 13:32:45 UTC

*** This bug has been marked as a duplicate of bug 691928 ***