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

Re: ghostview on linux - problem



On Sun, 17 Nov 1996, Shlomo Reches wrote:

> Ghostview complains of missing fonts on my Linux machine for
> certain pages in a document (ghostview works for me fine for
> many other documents), while same document is browsed by ghostview
> on SUN with out any problem.
> 
> I compared Linux and Sun available fonts (font directories content
> as well as fonts.dir and fonts.alias in each directory) and verified
> in Linux that X configuration file includes all fonts pathes. Both
> machines seems to have exactly the same fonts.
> 
> Could any one think what the problem could be ?
> 
> Thanks,
> Shlomo.

If you are using Ghostscript 3.33 then do:
[benavrhm@banjo benavrhm]$ gs -h
Aladdin Ghostscript 3.33 (4/10/1995)
Copyright (C) 1995 Aladdin Enterprises, Menlo Park, CA.  All rights 
reserved.
Usage: gs [switches] [file1.ps file2.ps ...]
Available devices:
        x11 x11alpha x11cmyk x11mono deskjet djet500 djet500c dnj650c
        laserjet ljetplus ljet2p ljet3 ljet3d ljet4 cdeskjet cdjcolor
        cdjmono cdj500 cdj550 pj pjxl pjxl300 bj10e bj200
        bjc600 epson eps9mid eps9high epsonc ibmpro jetp3852 faxg3
        faxg32d faxg4 cp50 tiffg3 tiffg32d tiffg4 pcxmono pcxgray
        pcx16 pcx256 pcx24b pbm pbmraw pgm pgmraw ppm
        ppmraw bit bitrgb bitcmyk tiffcrle tiffg3 tiffg32d tiffg4
        tifflzw tiffpack
Language interpreters:
        PostScript PostScriptLevel1 PostScriptLevel2 PDF
Search path:
    .
    /usr/share/ghostscript/3.33:/usr/share/ghostscript/fonts
                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Most frequently used switches: (you can use # in place of =)
    -c quit              (as the last switch) exit after processing files
    -d<name>[=<token>]   define name as token, or true if no token given
    -dNOPAUSE            don't pause between pages
    -g<width>x<height>   set width and height (`geometry'), in pixels
    -q                   `quiet' mode, suppress most messages
    -r<res>              set resolution, in pixels per inch
    -s<name>=<string>    define name as string
    -sDEVICE=<devname>   select initial device
    -sOutputFile=<file>  select output file: embed %d or %ld for page #,
                           - means stdout, use |command to pipe
    -                    read from stdin (e.g., a pipe) non-interactively
For more information, see the (plain text) file  use.doc  in the directory
        /usr/doc/ghostscript-3.33.

Notice that the the search path for the fonts is 
/usr/share/ghostscript/fonts but that the fonts are actually installed 
in/usr/share/ghostscript/3.33/fonts. That is, you have to make a link
like:
cd /usr/share/ghostscript; ln -s 3.33/fonts fonts

I spent about two hours before I figured this one out. I'm using the new
Cheap*bytes Redhat (Colgate) 4.0 which I am generally very pleased with.
I have extra copies if you want BTW.

 - yba

   EE 77 7F 30 4A 64 2E C5  83 5F E7 49 A6 82 29 BA    ~. .~   TclTek Ltd.
 =}-------------------------------------------------ooO--U--Ooo-----------{=
  - benavrhm@tcltek.co.il - tel: +972.52.670.353, http://www.tcltek.co.il -


References: