Comments on ghostscript installation


After you install the ghostscript-9.00 package, you will need to set the following environment variables. In the C-shell, this looks something like (this may be different for your local setup)

setenv GS_FONTPATH /usr/openwin/lib/X11/fonts/Type1/outline
setenv GS_LIB /usr/openwin/lib/X11/fonts/Type1:/usr/openwin/lib/X11/fonts/Type3:/usr/local/share/ghostscript/9.00/lib/fonts

A user, Hubert Garavel, has made the following suggestion to ease font installation:

Fonts are not shipped as part of Ghostscript 9.00 To install the fonts, one can execute the following commands (again these locations may change with time)

        cd /tmp
        wget http://mirror.cs.wisc.edu/pub/mirrors/ghost/AFPL/fonts/ghostscript-fonts-other-6.0.tar.gz
        wget http://mirror.cs.wisc.edu/pub/mirrors/ghost/AFPL/fonts/ghostscript-fonts-std-6.0.tar.gz
        wget http://mirror.cs.wisc.edu/pub/mirrors/ghost/AFPL/fonts/ghostscript-fonts-std-8.11.tar.gz
        gunzip ghostscript-fonts*

        cd /usr/local/share/ghostscript/9.00/lib
        tar xvf /tmp/ghostscript-fonts-other-6.0.tar
        tar xvf /tmp/ghostscript-fonts-std-6.0.tar
        tar xvf /tmp/ghostscript-fonts-std-8.11.tar
        chown -R bin:bin fonts
        chmod a+rx fonts
    rm /tmp/ghostscript-fonts* 

It is strongly suggested that you read the documentation in /usr/local/doc/ghostscript/doc/ and understand how to install the font files and set environment variables. You should also test your gs installation with the files in /usr/local/doc/ghostscript/examples.



© Copyright 2011 Steven M. Christensen and Associates, Inc.
This page was last updated on January 1, 2011.