[cups.general] /invalidfont ERROR

Helge Blischke H.Blischke at srz-berlin.de
Thu Sep 9 06:01:36 PDT 2004


Chris McKeever wrote:
> 
> I have installed the ESP Ghostscript 7.07.1 and when trying to print
> via cups I get the error message below.  I am thinking this is
> directly related to the FONT files either
> 
> A - not being installed on my system
> B - font files not where there are supposed to be
> 
> after looking through the archives and in the INSTALL file, I have
> noticed that there is a ./configure flag:
> 
>         --with-fontpath="/some/dir1:/some/dir2:...:/some/dirN"
> 
>             Set the font search path
>             (default = /usr/share/ghostscript/fonts)
> 
> checking the GS install - I am positive that
> /usr/share/ghostscript/fonts does not exist.  As to where (or even if
> it is) on the system I am a bit blank.  I am not sure what I am
> looking for in terms of the contents.  If someone has GS installed and
> that directory exists, can you please let me know its contents?  orif
> someone knows how to remedy this, that would be great.
> 
> Is there another menthod to get that directory in place at install time?
> 
> thanks
> 
>  Error: /invalidfont in findfont
> D [09/Sep/2004:00:50:50 -0500] [Job 25] Operand stack:
> D [09/Sep/2004:00:50:50 -0500] [Job 25] bigFont   Helvetica-Bold
> Font   Helvetica-Bold   408590   Helvetica-Bold   --nostringval--
> Helvetica-Bold   NimbusSanL-Bold   (NimbusSanL-Bold)   NimbusSanL-Bold
>   (NimbusSanL-Bold)   NimbusSanL-Bold
> D [09/Sep/2004:00:50:50 -0500] [Job 25] Execution stack:
> D [09/Sep/2004:00:50:50 -0500] [Job 25] %interp_exit   .runexec2
> --nostringval--   --nostringval--   --nostringval--   2
> %stopped_push   --nostringval--   --nostringval--   --nostringval--
> false   1   %stopped_push   1   3   %oparray_pop   1   3
> %oparray_pop   1   3   %oparray_pop   .runexec2   --nostringval--
> --nostringval--   --nostringval--   2   %stopped_push
> --nostringval--   2   3   %oparray_pop   3   3   %oparray_pop
> --nostringval--   --nostringval--   --nostringval--   --nostringval--
>  --nostringval--   false   1   %stopped_push   6   4   %oparray_pop
> --nostringval--   --nostringval--   --nostringval--   5   -1   1
> --nostringval--   %for_neg_int_continue   --nostringval--
> --nostringval--

Edit your Fontmap file (gs -h shows the directories it is looking for
such files)
so that the path names therein point to the real locations of the fonts.

Alernatively, you may set the environment variable GS_FONTPATH
appropriately,
but then gs searches the directories therein every time it starts.

Helge

-- 
Helge Blischke
Softwareentwicklung
SRZ Berlin | Firmengruppe besscom
http://www.srz.de
tel: +49 30 75301-360




More information about the cups mailing list