Bug 692001 - Cannot find correct CID Font "Arial"
Summary: Cannot find correct CID Font "Arial"
Status: RESOLVED INVALID
Alias: None
Product: Artifex GSview
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: PC Windows 7
: P4 blocker
Assignee: Russell Lang
URL:
Keywords: discuss
Depends on:
Blocks:
 
Reported: 2011-02-24 22:40 UTC by Ken Aung
Modified: 2011-02-28 11:44 UTC (History)
1 user (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 Ken Aung 2011-02-24 22:40:16 UTC
Can't find CID font "Arial".
Substituting CID font /Adobe-Identity for /Arial, see doc/Use.htm#CIDFontSubstitution.
The substitu   **** Warning: can't process font stream, loading font by the name.
te CID font "Adobe-Identity" is not provided either. Will exit with error.
Can't find CID font "Arial".
Substituting CID font /Adobe-Identity for /Arial, see doc/Use.htm#CIDFontSubstitution.
The substitute CID font "Adobe-Identity" is not provided either. Will exit with error.
Error: /undefined in findresource
Operand stack:
   --dict:6/6(L)--   F13   9.96   --dict:7/7(L)--   --dict:7/7(L)--   Arial   --dict:10/12(ro)(G)--   --nostringval--   CIDFontObject   --dict:8/8(L)--   --dict:8/8(L)--   Adobe-Identity
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   false   1   %stopped_push   1910   1   3   %oparray_pop   1909   1   3   %oparray_pop   1893   1   3   %oparray_pop   1787   1   3   %oparray_pop   --nostringval--   %errorexec_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --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
Dictionary stack:
   --dict:1164/1684(ro)(G)--   --dict:1/20(G)--   --dict:86/200(L)--   --dict:108/127(ro)(G)--   --dict:295/300(ro)(G)--   --dict:23/30(L)--   --dict:6/8(L)--   --dict:21/40(L)--   --dict:6/15(L)--
Current allocation mode is local
Last OS error: No such file or directory
pdf_page failed
Comment 1 Russell Lang 2011-02-24 23:07:46 UTC
Which version of Ghostscript are you using?
Do you get the same result when you open the file with Ghostscript alone?
Comment 2 Ken Sharp 2011-02-28 11:44:42 UTC
Your PDF file uses a CIDFont (Arial) but does not include the font. You must supply a replacement CIDFont with the correct name in order for Ghostscript to be able to process the PDF file.

There are 2 ways to do this:

1) Locate a genuine CIDFont named Arial, place it in gs/Resource/CIDFont and then tell Ghostscript to use disk files as well as the built in file system. This is done with the -I command line switch (eg -I/gs/Resource).

2) Use a TrueType font as a replacement. To do this you need to edit gs/Resource/Init/cidfmap and add an entry for the font (Arial), specifying the TrueType font to be used instead and some other parameters. You must then also tell Ghostscritp to use the specified file, again using the -I switch as above.

You can also use an existing CIDfont with a different name as a replacement by specifying this in the cidfmap file.

Please refer to the documentation in :
/gs/doc/Use.htm

Look for "CID fonts" and "CID font substitution".