Bug 688492 - I get error on conversion of some pdf files: /rangecheck in --get--
Summary: I get error on conversion of some pdf files: /rangecheck in --get--
Status: RESOLVED DUPLICATE of bug 688465
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: PDF Interpreter (show other bugs)
Version: 8.53
Hardware: PC Windows 2000
: P4 normal
Assignee: Alex Cherepanov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-13 08:19 UTC by Reinemer
Modified: 2007-12-13 12:55 UTC (History)
1 user (show)

See Also:
Customer:
Word Size: ---


Attachments
You get the error using this file (120.59 KB, application/pdf)
2006-01-13 08:26 UTC, Reinemer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Reinemer 2006-01-13 08:19:31 UTC
AFPL Ghostscript 8.53 (2005-10-20)
Copyright (C) 2005 artofcode LLC, Benicia, CA.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Processing pages 1 through 1.
Page 1
Error: /rangecheck in --get--
Operand stack:
   --dict:5/5(L)--   F0   12   --dict:8/8(L)--   --dict:8/8(L)--   12574   --dic
t:8/8(L)--   --dict:8/11(L)--   --nostringval--   --nostringval--   topdicts   -
-nostringval--   1   9505   --nostringval--   79
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval-
-   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   fa
lse   1   %stopped_push   1   3   %oparray_pop   1   3   %oparray_pop   1   3
%oparray_pop   --nostringval--   --nostringval--   2   1   1   --nostringval--
 %for_pos_int_continue   --nostringval--   --nostringval--   --nostringval--   -
-nostringval--   %array_continue   --nostringval--   false   1   %stopped_push
 --nostringval--   %loop_continue   --nostringval--   --nostringval--   --nostri
ngval--   --nostringval--   --nostringval--   --nostringval--   --nostringval--
  --nostringval--
Dictionary stack:
   --dict:1123/1686(ro)(G)--   --dict:2/20(G)--   --dict:75/200(L)--   --dict:75
/200(L)--   --dict:105/127(ro)(G)--   --dict:258/347(ro)(G)--   --dict:21/24(L)-
-   --dict:4/6(L)--   --dict:20/20(L)--   --dict:1/1(ro)(G)--   --dict:6/8(L)--
  --dict:53/72(ro)(G)--   --dict:11/30(L)--
Current allocation mode is local
Last OS error: No such file or directory
AFPL Ghostscript 8.53: Unrecoverable error, exit code 1
Comment 1 Reinemer 2006-01-13 08:26:36 UTC
Created attachment 1929 [details]
You get the error using this file
Comment 2 Alex Cherepanov 2006-01-15 07:36:39 UTC
I cannot reproduce this on AMD64 provided by SourceForge:

$uname -a
Linux amd64-linux2.cf.sourceforge.net 2.6.9-1.667smp #1 SMP Tue Nov 2 15:09:11
EST 2004 x86_64 x86_64 x86_64 GNU/Linux

$gcc --version
gcc (GCC) 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)
Comment 3 Alex Cherepanov 2006-01-16 20:53:59 UTC
Please disregard my previous comment. It is about the bug 688486 and was posted
here by mistake.

This error is caused by a mistake in the PDF file. The file declares an embedded
font as a Type1C font but embeds an unmodified PFB font instead. Acrobat Reader
can repair the file and we should do this too.
Comment 4 Ray Johnston 2006-01-18 09:52:51 UTC
This is similar to the 688465 (a customer bug) where the Type and contents of the  
embedded font differ.  
 
Igor's suggestion is to load the font by the contents (similar to what the font loading 
of GS does) and issue a 'pdfformaterror' warning if they don't match. 
Comment 5 Ray Johnston 2006-01-18 09:53:04 UTC
This is similar to the 688465 (a customer bug) where the Type and contents of the  
embedded font differ.  
 
Igor's suggestion is to load the font by the contents (similar to what the font loading 
of GS does) and issue a 'pdfformaterror' warning if they don't match. 

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

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