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

Re: invalidfontAladdin



On Tue, Jan 09, 2001 at 06:07:39PM +0100, Nikolaus Neumaier wrote:
> Hi
> I do run a testing system (woody)
> whenever I try to display a postscript file generated by a2ps, grace or
> scigraphica or another programm, I get following error message from
> ghostscript:
> 
> Error: /invalidfontAladdin Ghostscript: Unrecoverable error, exit code 1
> 
>  in findfont
> Operand stack:
>    Times-Roman   Font   Times-Roman   32882   Times-Roman
> --nostringval--   Courier   NimbusMonL-Regu
> Execution stack:
>    %interp_exit   .runexec2   --nostringval--   --nostringval--
> --nostringval--   2   %stopped_push   --nostringval--
> --nostringval--   --nostringval--   false   1   %stopped_push   1   3
> %oparray_pop   .runexec2   --nostringval--   --nostringval--
> --nostringval--   2   %stopped_push   --nostringval--   1   3
> %oparray_pop   2   3   %oparray_pop   --no
> Error: PostScript interpreter failed in main window.
> 
> The same happens with the helvetica font.
> The printing works fine. It seems that this only a problem of finding
> the proper fonts for X.  When I grep the files listed in the font path
> in my XF86Config I do find some files that seem to list those fonts:
> /usr/X11R6/lib/X11/fonts
> Type1/fonts.alias:-adobe-times-medium-r-normal--0-0-0-0-p-0-iso8859-1
> "-urw-nimbus roman no9 l-regular-r-normal--0-0-0-0-p-0-iso8859-1"
> Type1/fonts.alias:-adobe-times-medium-i-normal--0-0-0-0-p-0-iso8859-1
> "-urw-nimbus roman no9 l-regular-i-normal--0-0-0-0-p-0-iso8859-1"
> Type1/fonts.alias:-adobe-times-bold-r-normal--0-0-0-0-p-0-iso8859-1
> "-urw-nimbus roman no9 l-medium-r-normal-medium-0-0-0-0-p-0-iso8859-1"
> Type1/fonts.alias:-adobe-times-bold-i-normal--0-0-0-0-p-0-iso8859-1
> "-urw-nimbus roman no9 l-medium-i-normal-medium-0-0-0-0-p-0-iso8859-1"

Hi,

(I currently don't have access to a woody box, so I can only give
you rough suggestions where to look...)

What does "gs -h" show under "Search path:"?
In one of those paths, your ghostscript type1-fonts should reside.
These need not necessarily be the ones used by X, because (afaik)
ghostscript does its own font rendering ( that's also why you could
already have anti-aliased font rendering (by specifying the appropriate
gs-driver 'x11alpha') before X was able to so... )

Also, ghostscript has its own config file for mapping fontnames (eg.
Helvetica) to filenames (*.pfb or *.pfa) and defining aliases which
map one fontname to another, eg. "/Helvetica" to "/NimbusSanL-Regu".
The file is called "Fontmap" and can be found in the directory
where ghostscript is installed (.../ghostscript/<version>/Fontmap,
I assume)

The default configuration should, however, be set up reasonably,
so at least the usual fonts like Times-Roman, Helvetica, etc.
should work...
So, I guess, you either haven't yet installed the gs font package,
or for some reason it ended up where it isn't found -- unlikely.

HTH,
Erdmut



-- 
Erdmut Pfeifer
science+computing gmbh

-- Bugs come in through open windows. Keep Windows shut! --



Reply to: