[gs-bugs] [Bug 691513] problems with TimesNewRoman font

bugzilla-daemon at ghostscript.com bugzilla-daemon at ghostscript.com
Tue Aug 10 20:51:38 UTC 2010


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

voipas <voipas at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|free URW                    |PDF Writer
            Version|unspecified                 |8.71
         AssignedTo|marcos.woehrmann at artifex.co |ken.sharp at artifex.com
                   |m                           |
            Product|Fonts                       |Ghostscript

--- Comment #3 from voipas <voipas at gmail.com> 2010-08-10 20:51:33 UTC ---
(In reply to comment #2)
> (In reply to comment #1)
> 
> >   Now I have made some changes in cidfmap:
> > /TimesNewRoman << /FileType /TrueType /Path
> > (/usr/share/fonts/truetype/msttcorefonts/times.ttf) /SubfontID 0 /CSI
> > [(Unicode) 0] >> ;
> 
> You should specify two strings in CSI, eg :
> 
> /CSI [(Artifex) (Unicode) 0]

Now I've made cidfmap like this:
/TimesNewRoman << /FileType /TrueType /Path
(/usr/share/fonts/msttcorefonts/times.ttf) /SubfontID 0 /CSI [(Artifex)
(Unicode) 0] >> ;

> 
> However this 'works' for me either way with the Windows version of times.ttf.
  Could you please share your font and cidfmap? I've tried in windows with gs
8.71 - the same issue?

> The glyphs are totally incorrect, but there is no error. This is using the HEAD
> revision of GS of course, you haven't specified which version of Ghostscript
> you are using.

The ghostscript version is 8.71.

  After these changes I tried again , but still without success:
 gs -dBATCH -dNOPAUSE -I/usr/local/share/ghostscript/8.71/Resource/Init
-sDEVICE=pdfwrite -sOutputFile=1.pdf 20100630144713_136.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 1.
Page 1
Loading a TT font from /usr/share/fonts/msttcorefonts/times.ttf to emulate a
CID font TimesNewRoman ... Done.
Error: /typecheck in --run--
Operand stack:
   --dict:8/17(L)--   F0   12   --dict:7/7(L)--   --dict:7/7(L)--  
TimesNewRoman   --dict:9/10(L)--   --dict:7/7(L)--   --dict:9/10(L)--  
--nostringval--   --nostringval--   0   0   1   2  
(\003\003\004\004\005\005\006\006\007\007\b\b\t\t\n\n\013\013\f\f\r\r\016\016\017\017\020\020\021\021\022\022\023\023\024\024\025\025\026\026\027\027\030\030\031\031\032\032\033\033\034\034\035\035\036\036\037\037

!!""##$$%%&&''\(\(\)\)**++,,--..//00112233445566778899::;;<<==>>??@@AABBCCDDEEFFGGHHIIJJKKLLMMNNOOPPQQRRSSTTUUVVWWXXYYZZ[[\\\\]]^^__``aa\003\003\243\243\204\204\205\205)
 
(\000!\000!\000"\000#\000$\000%\000&\000'\000\(\000\)\000*\000+\000,\000-\000.\000/\0000\0001\0002\0003\0004\0005\0006\0007\0008\0009\000:\000;\000<\000=\000>\000?\000@\000A\000B\000C\000D\000E\000F\000G\000H\000I\000J\000K\000L\000M\000N\000O\000P\000Q\000R\000S\000T\000U\000V\000W\000X\000Y\000Z\000[\000\\\000]\000^\000_\000`\000a\000b\000c\000d\000e\000f\000g\000h\000i\000j\000k\000l\000m\000n\000o\000p\000q\000r\000s\000t\000u\000v\000w\000x\000y\000z\000{\000|\000}\000~\000\240\000\241\000\242\000\243)
  (\000!)   33   34   1  
(\003\003\004\004\005\005\006\006\007\007\b\b\t\t\n\n\013\013\f\f\r\r\016\016\017\017\020\020\021\021\022\022\023\023\024\024\025\025\026\026\027\027\030\030\031\031\032\032\033\033\034\034\035\035\036\036\037\037

!!""##$$%%&&''\(\(\)\)**++,,--..//00112233445566778899::;;<<==>>??@@AABBCCDDEEFFGGHHIIJJKKLLMMNNOOPPQQRRSSTTUUVVWWXXYYZZ[[\\\\]]^^__``aa\003\003\243\243\204\204\205\205)
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   1   --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--   --nostringval--  
--nostringval--   --nostringval--   --nostringval--   %array_continue  
--nostringval--   5   5   729   --nostringval--   %for_pos_int_continue  
--nostringval--   4   2   197   --nostringval--   %for_pos_int_continue  
--nostringval--
Dictionary stack:
   --dict:1151/1684(ro)(G)--   --dict:1/20(G)--   --dict:76/200(L)--  
--dict:76/200(L)--   --dict:108/127(ro)(G)--   --dict:288/300(ro)(G)--  
--dict:22/25(L)--   --dict:6/8(L)--   --dict:21/40(L)--   --dict:1/1(ro)(G)--  
--dict:9/15(L)--   --dict:1/100(L)--
Current allocation mode is local
GPL Ghostscript 8.71: Unrecoverable error, exit code 1


  I've installed times.ttf:
 yum list installed | grep -i ms
msttcorefonts.noarch                     2.0-1                        
installed

-- 
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