Bug 691022

Summary: Error reading PDF file: /undefined in --run--
Product: Ghostscript Reporter: Marcos H. Woehrmann <marcos.woehrmann>
Component: PDF InterpreterAssignee: Alex Cherepanov <alex>
Status: NOTIFIED FIXED    
Severity: normal    
Priority: P2    
Version: master   
Hardware: All   
OS: All   
Customer: 384 Word Size: ---
Attachments: patch

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.