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
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.
Bumping priority since this afftects the regression output.
*** Bug 690095 has been marked as a duplicate of this bug. ***
*** Bug 690067 has been marked as a duplicate of this bug. ***
I've disabled this file in the tests to reduce report noise until this issue is resolved.
Anything new with this bug? Workaround, root cause or patch?
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)- ...
Part of CID enhancement assigning to font group.
The CIDFont substitution fallback fixes the error.