Bug 688577

Summary: /rangecheck in readstring (.loadfonttables)
Product: Ghostscript Reporter: Raph Levien <raph.levien>
Component: PDF InterpreterAssignee: Stefan Kemper <stefan.kemper>
Status: NOTIFIED DUPLICATE    
Severity: normal    
Priority: P4    
Version: master   
Hardware: All   
OS: All   
Customer: 870 Word Size: ---

Description Raph Levien 2006-03-01 09:33:00 UTC
With the attached test file, Ghostscript fails with a /rangecheck in readstring
error. I've narrowed it down to this line in gs_ttf.ps (line 699 in current
svn), when processing the font in 17 0 obj:

  /tables f offsets 4 getu16 16 mul string readstring pop def
Comment 1 Raph Levien 2006-03-01 09:33:24 UTC
Created attachment 2066 [details]
datenblatt.pdf
Comment 2 Alex Cherepanov 2006-03-01 09:43:15 UTC
Work for me on my patched version.
Probably, the font is mis-identified.
Comment 3 Alex Cherepanov 2006-03-01 15:38:18 UTC
The sample file has /FontFile2 key (normally TrueType) pointing to
a PFB font. This is a duplicate of the bug 688465 .

*** This bug has been marked as a duplicate of 688465 ***
Comment 4 Marcos H. Woehrmann 2011-09-18 21:47:24 UTC
Changing customer bugs that have been resolved more than a year ago to closed.