Bug 691022 - Error reading PDF file: /undefined in --run--
Summary: Error reading PDF file: /undefined in --run--
Status: NOTIFIED FIXED
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: PDF Interpreter (show other bugs)
Version: master
Hardware: All All
: P2 normal
Assignee: Alex Cherepanov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-26 23:47 UTC by Marcos H. Woehrmann
Modified: 2010-01-27 06:47 UTC (History)
0 users

See Also:
Customer: 384
Word Size: ---


Attachments
patch (856 bytes, patch)
2009-12-27 08:00 UTC, Alex Cherepanov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marcos H. Woehrmann 2009-12-26 23:47:17 UTC
The attached file generates an "Error: /undefined in --run-" when read by Ghostscript head (r10559) or 
earlier versions.  Acrobat 9.2 and Apple Preview 5.0.1 open the file without problem.

The command line I'm using for testing:

  bin/gs -sDEVICE=ppmraw -o test.ppm ./9658857.PDF
Comment 1 Marcos H. Woehrmann 2009-12-26 23:47:42 UTC
Created attachment 5807 [details]
9658857.PDF
Comment 2 Alex Cherepanov 2009-12-27 08:00:01 UTC
Created attachment 5814 [details]
patch

Assume /FirstChar is 0 and /LastChar is 255 when they are not defined, and
issue a warning.
Comment 3 Alex Cherepanov 2009-12-27 08:01:21 UTC
The patch has been committed as a rev. 10561.
Regression testing shows no differences.