[gs-bugs] [Bug 691079] Failure to open PDF (font problems?)

bugzilla-daemon at ghostscript.com bugzilla-daemon at ghostscript.com
Fri Jul 30 14:54:37 UTC 2010


http://bugs.ghostscript.com/show_bug.cgi?id=691079

Ming <mingqiang at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mingqiang at gmail.com

--- Comment #2 from Ming <mingqiang at gmail.com> 2010-07-30 14:54:35 UTC ---
I have a very similar problem but with TimesNewRoman on Linux with Ghostscript
8.70: gs myfile.pdf

GPL Ghostscript 8.71 (2010-02-10)
Copyright (C) 2010 Artifex Software, Inc.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Processing pages 1 through 3.
Page 1
Can't find CID font "TimesNewRoman".
Substituting CID font /Adobe-Identity for /TimesNewRoman, 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:8/17(L)--   C2_4   1   --dict:5/5(L)--   --dict:5/5(L)--  
TimesNewRoman,Bold   --dict:10/12(ro)(G)--   --nostringval--   CIDFontObject  
--dict:7/7(L)--   --dict:7/7(L)--   Adobe-Identity
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--  
--nostringval--   2   %stopped_push   --nostringval--   --nostringval--  
--nostringval--   false   1   %stopped_push   1878   1   3   %oparray_pop  
1877   1   3   %oparray_pop   1861   1   3   %oparray_pop   --nostringval--  
--nostringval--   2   1   3   --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--   --nostringval--  
--nostringval--   %loop_continue
Dictionary stack:
   --dict:1158/1684(ro)(G)--   --dict:1/20(G)--   --dict:75/200(L)--  
--dict:75/200(L)--   --dict:108/127(ro)(G)--   --dict:288/300(ro)(G)--  
--dict:22/25(L)--   --dict:6/8(L)--   --dict:26/40(L)--
Current allocation mode is local
Last OS error: 2
GPL Ghostscript 8.71: Unrecoverable error, exit code 1

I have tried everything mentioned in Use.htm but none works. I was from section
8.3, "CID font resources must first be combined with a CMap resource, which
defines specific codes for glyphs, before it can be used as a font. The
simplest method to request a font composed of a CID font resource and a CMap
resource in a PostScript document is    /CIDFont-CMap findfont ...CID fonts
must be placed in the /Resource/CIDFont/ directory".

But I don't know even have a CIDFont directory in my Resource dir. How can I do
/CIDFont-CMap findfont? Thanks!

-- 
Configure bugmail: http://bugs.ghostscript.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the gs-bugs mailing list