[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem with type 42 font

I don't know if anyone on this list is sufficiently familiar with Type 42 fonts:

I wanted to try ttf2ps, and took the most common font: times.ttf (the WGL4 version
as it is included in Win95, WinNT or as it can be fetched from www.microsoft.com/typography)
When I convert it to times.pfa and try to use it in a file, I get the following
error message in GhostScript 5.50 (both Linux and Mac):

Aladdin Ghostscript 5.50 (1998-9-16)
Copyright (C) 1998 Aladdin Enterprises, Menlo Park, CA.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
GS>{ [72.0 72.0] [612.0 792.0] 8 4 1 (temp0000.ps) false .newwindow  (Klein:Desktop Folder:temp0000.ps) run } .runjob
Error: /rangecheck in --.type42execchar--
Operand stack:
   --dict:13/14(L)--   103   g   74
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   0   3   %oparray_pop   --nostringval--   %loop_continue   1   3   %oparray_pop   --nostringval--   --nostringval--   false   1   %stopped_push   --nostringval--   --nostringval--   false   1   %stopped_push   1   3   %oparray_pop   1   3   %oparray_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   1   4   %oparray_pop   %finish_show   3   4   0   0   --nostringval--   (gs_show_enum)   %op_show_continue   --nostringval--   --nostringval--
Dictionary stack:
   --dict:858/941(G)--   --dict:0/20(G)--   --dict:50/200(L)--   --dict:100/300(L)--
Current allocation mode is local
Current file position is 613261

The same file is converted perfectly into PDF by Distiller. I get this error message only
with times.ttf: other styles (times(i|bd|bi).ttf) and other fonts (arial, verdana, georgia, etc.)
all display correctly under GhostScript. 

have you any idea where this error comes from? Is the problem in GhosScript or in the font
or in ttf2ps??

Thanks in advance for any hint


| Yannis Haralambous, Ph.D.                  yannis@fluxus-virus.com |
|                                 http://www.fluxus-virus.com/yannis |
| 187, rue Nationale                     fax :  +33 (0) |
| 59800 Lille, France                    tél. : +33 (0) |
| Visit the Omega home page!!                http://www.ens.fr/omega |
                         ...pour distinguer l'extérieur d'un aquarium, 
                                        mieux vaut n'être pas poisson

                        ...the ball I threw while playing in the park
                                         has never reached the ground