Bug 688612 - rangecheck in readstring
Summary: rangecheck in readstring
Status: NOTIFIED DUPLICATE of bug 688465
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: General (show other bugs)
Version: master
Hardware: All All
: P4 normal
Assignee: leonardo
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-22 21:05 UTC by Dan Coby
Modified: 2011-09-18 21:45 UTC (History)
0 users

See Also:
Customer: 870
Word Size: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Coby 2006-03-22 21:05:12 UTC
Note:  Problem reported on Linux with 8.53 but also verified on WinXP and head.

WinXP cmd line:  

bin/gswin32c datenblatt.pdf -c quit


Original report:

------------------------------------------------------------------------
Symptoms:

interpreting the PDF file datenblatt.pdf does not work, the error message:

"Error: /rangecheck in --readstring -- "

is reported. The file can be viewed by the Acrobat Reader.


------------------------------------------------------------------------
Ghostscript version (or include output from "gs -h"):

Aladdin Ghostscript 8.53 (2005-10-20)

------------------------------------------------------------------------
Where you got Ghostscript:

Artifex

------------------------------------------------------------------------
Hardware system you are using (including printer model if the problem
involves printing):

------------------------------------------------------------------------
Operating system you are using:

linux

------------------------------------------------------------------------
If you are using X Windows, and your problem involved output to the
screen, the output from running xdpyinfo and xwininfo:

------------------------------------------------------------------------
C compiler you are using, including its version, if you compiled
Ghostscript yourself:

gcc 2.91.66

------------------------------------------------------------------------
If you compiled Ghostscript yourself, changes you made to the makefiles:

------------------------------------------------------------------------
Environment variables:

	GS_DEVICE

	GS_FONTPATH

	GS_LIB

	GS_OPTIONS

------------------------------------------------------------------------
Command line:

------------------------------------------------------------------------
URL or FTP location of test files (include the data at the end of this
form if 500K or less):


------------------------------------------------------------------------
Suggested fix, if any:



------------------------------------------------------------------------
Other comments:
Comment 1 Dan Coby 2006-03-22 21:06:32 UTC
Created attachment 2122 [details]
test file
Comment 2 Dan Coby 2006-03-22 21:11:12 UTC
Changing the assignment since the problem seems to be font related:

Here is the tail end of the output from -dPDFDEBUG:


%Resolving: [16 0]
<<
/Type /FontDescriptor /FontName /Blockstile,Bold /Flags 34 /FontBBox [
-179 -262 4691 917 ]
/StemV 93 /ItalicAngle 0 /CapHeight 917 /Ascent 917 /Descent -262 /FontFile2 
17 0 R
>>
endobj
%Resolving: [17 0]
<<
/Filter /FlateDecode /Length 18 0 R
/Length1 19 0 R
>>
stream
%Resolving: [18 0]
34049 endobj
%FilePosition: 24223
%Resolving: [18 0]
endobj
%Resolving: [18 0]
%Resolving: [16 0]
Error: /rangecheck in --readstring--
Operand stack:
   --dict:5/5(L)--   F1   4.08   --dict:9/9(L)--   --dict:9/9(L)--   2347   --
dict:9/9(L)--   tables   --nostringval--   ()
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --
nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --
nostringval--   false   1   %stopped_push   1   3   %oparray_pop   1   3   %
oparray_pop   1   3   %oparray_pop   --nostringval--   --nostringval--   2   
1   2   --nostringval--   %for_pos_int_continue   --nostringval--   --
nostringval--   --nostringval--   --nostringval--   %array_continue   --
nostringval--   false   1   %stopped_push   --nostringval--   %
loop_continue   --nostringval--   --nostringval--   --nostringval--   --
nostringval--   --nostringval--   --nostringval--   --nostringval--
Dictionary stack:
   --dict:1120/1686(ro)(G)--   --dict:2/20(G)--   --dict:75/200(L)--   --
dict:75/200(L)--   --dict:105/127(ro)(G)--   --dict:261/347(ro)(G)--   --
dict:21/24(L)--   --dict:4/6(L)--   --dict:26/31(L)--   --dict:33/50(ro)(G)--
   --dict:6/40(L)--
Current allocation mode is local
Comment 3 Alex Cherepanov 2006-03-23 03:41:31 UTC
This is yet anoyher case of a PDF file with broken font keys.
The file has /FontFile2 key pointing to a PFB font.


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