Bug 690061 - /undefinedresource with CATX3506.pdf
Summary: /undefinedresource with CATX3506.pdf
Status: RESOLVED FIXED
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: Other Driver (show other bugs)
Version: master
Hardware: PC Linux
: P2 normal
Assignee: Chris Liddell (chrisl)
URL:
Keywords:
: 690067 690095 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-09-09 11:46 UTC by Ralph Giles
Modified: 2012-07-20 14:02 UTC (History)
6 users (show)

See Also:
Customer:
Word Size: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ralph Giles 2008-09-09 11:46:17 UTC
Ghostscript r9075 fails in the CID substitution logic on page 6 of the file
CATX3506.pdf from the Quality Logic PDF 1.7 coverage suite.

$ bin/gs -dFirstPage=6 ../tests_private/pdf/PDFIA1.7_SUBSET/CATX3506.pdf 
GPL GhostscriptSVN PRE-RELEASE 8.64 (2008-08-02)
Copyright (C) 2008 Artifex Software, Inc.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Processing pages 6 through 19.
Page 6
Loading NimbusRomNo9L-Regu font from %rom%Resource/Font/NimbusRomNo9L-Regu...
3204912 1699649 10293504 8974671 3 done.
Loading NimbusSanL-Bold font from %rom%Resource/Font/NimbusSanL-Bold... 3306084
1861277 10403768 9097389 3 done.
Loading NimbusRomNo9L-Medi font from %rom%Resource/Font/NimbusRomNo9L-Medi...
3489340 2036999 10477416 9167205 3 done.
Substituting CID font resource/Adobe-Identity for /SPCMarkersBullets.
Error: /undefinedresource in findresource
Operand stack:
   --nostringval--   --dict:8/17(L)--   TT4   1   --dict:6/6(L)--  
--dict:6/6(L)--   SPCMarkersBullets   --dict:11/12(ro)(G)--   --nostringval--  
CIDFontObject   --dict:7/7(L)--   --dict:7/7(L)--   Adobe-Identity   CIDFont  
Adobe-Identity
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--  
--nostringval--   2   %stopped_push   --nostringval--   --nostringval--  
--nostringval--   false   1   %stopped_push   1830   1   3   %oparray_pop   1829
  1   3   %oparray_pop   1813   1   3   %oparray_pop   --nostringval--  
--nostringval--   7   1   19   --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--   %array_continue  
--nostringval--   --nostringval--   --nostringval--   --nostringval--  
--nostringval--   %loop_continue   --nostringval--   1781   14   9  
%oparray_pop   findresource   %errorexec_pop   --nostringval--   --nostringval--
  --nostringval--
Dictionary stack:
   --dict:1141/1684(ro)(G)--   --dict:1/20(G)--   --dict:74/200(L)--  
--dict:74/200(L)--   --dict:106/127(ro)(G)--   --dict:276/300(ro)(G)--  
--dict:22/25(L)--   --dict:4/6(L)--   --dict:26/40(L)--   --dict:20/26(ro)(G)--
Current allocation mode is local
Last OS error: 2
GPL GhostscriptSVN PRE-RELEASE 8.64: Unrecoverable error, exit code 1
Comment 1 Ray Johnston 2008-09-11 09:54:13 UTC
Adobe Acrobat gives a warning that the SPCMarkerBullets is not embedded and some
characters may be missing.

We should do the same thing and continue processing the file.
Comment 2 Ralph Giles 2008-09-16 13:08:37 UTC
Bumping priority since this afftects the regression output.
Comment 3 Ken Sharp 2008-09-26 02:27:04 UTC
*** Bug 690095 has been marked as a duplicate of this bug. ***
Comment 4 Alex Cherepanov 2008-11-27 09:45:50 UTC
*** Bug 690067 has been marked as a duplicate of this bug. ***
Comment 5 Ralph Giles 2009-01-15 14:40:07 UTC
I've disabled this file in the tests to reduce report noise until this issue is
resolved.
Comment 6 Petr Sumbera 2009-04-06 05:19:14 UTC
Anything new with this bug? Workaround, root cause or patch?
Comment 7 Masaki Ushizaka 2009-08-12 00:53:23 UTC
Tried with GS8.70 release version installed by an installer.  Still failed although error and operand stack 
are little bit different.

C>gswin32c -dFirstPage=6 CATX3506.pdf
GPL Ghostscript 8.70 (2009-07-31)
Copyright (C) 2009 Artifex Software, Inc.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Processing pages 6 through 19.
Page 6
Loading NimbusRomNo9L-Regu font from %rom%Resource/Font/NimbusRomNo9L-Regu... 23
58904 1030061 11369752 10072883 3 done.
Loading NimbusSanL-Bold font from %rom%Resource/Font/NimbusSanL-Bold... 2503596
1183205 11463088 10166019 3 done.
Loading NimbusRomNo9L-Medi font from %rom%Resource/Font/NimbusRomNo9L-Medi... 26
40860 1323179 11499872 10202627 3 done.
Can't find CID font "SPCMarkersBullets".
Substituting CID font /Adobe-Identity for /SPCMarkersBullets, see doc/Use.htm#CI
DFontSubstitution.
The substitute CID font "Adobe-Identity" is not provided either. Will exit with
error.
Error: /undefined in findresource
Operand stack:
   --dict:8/17(L)--   TT4   1   --dict:6/6(L)--   --dict:6/6(L)--   SPCMarkersBu
llets   --dict:11/12(ro)(G)--   --nostringval--   CIDFontObject   --dict:7/7(L)-
...
Comment 8 Henry Stiles 2011-06-01 14:30:47 UTC
Part of CID enhancement assigning to font group.
Comment 9 Chris Liddell (chrisl) 2012-07-20 14:02:17 UTC
The CIDFont substitution fallback fixes the error.