pbh@jake.cc.wayne.edu (Patrick Haggood) (06/26/91)
I just downloaded ghostscript the other day and have loaded it into my E: drive under \ghostscr.ipt directory. In my cli (MT-C shell) I've set GS_LIB to both e:/ghostscr.ipt and e:\ghostscr.ipt in the profile. I try to print one of the example files as 'gs chess.ps' and get: reading ghost.ps (Printing in memory, please ..etc) ghost.ps read Cant find Fontmap! (copyleft info) GS<4> (and a prompt) What am I doing wrong? What's this fontmap it's looking for? -- Patrick B. Haggood Wayne STate University Detroit, MI Physics - Class of 1991 (-2?)
marc@sequoia.cray.com (Marc Bouron) (06/26/91)
In article <1991Jun26.033501.2626@cs.wayne.edu>, pbh@jake.cc.wayne.edu (Patrick Haggood) writes: > I just downloaded ghostscript the other day and have loaded it into > my E: drive under \ghostscr.ipt directory. In my cli (MT-C shell) I've > set GS_LIB to both e:/ghostscr.ipt and e:\ghostscr.ipt in the profile. > I try to print one of the example files as 'gs chess.ps' and get: > > reading ghost.ps (Printing in memory, please ..etc) > ghost.ps read > Cant find Fontmap! > (copyleft info) > GS<4> (and a prompt) > > What am I doing wrong? What's this fontmap it's looking for? The fontmap file maps between the PostScript font names (e.g. /Times-Roman) and GhostScript font FILES (e.g. ptmr.gsf). It live in the ./fonts subdirectory. Now, to make the rest of it work, you need to modify your GS_LIB variable: GSLIB=e:\ghostscr.ipt\fonts,e:\ghostscr.ipt\ps Basically, it's a search path for any file GS wants to open. Can't remember if the slashes face forward or back (forward in the variable, backwards on the command line?). > -- > Patrick B. Haggood > Wayne STate University > Detroit, MI > Physics - Class of 1991 (-2?) Hope that helps :-) [M][a][r][c] ################################################################################ # # marc@sequoia.cray.com # . . # # Marc CR Bouron # M.Bouron@cray.co.uk (ARPA) # _|\ /|_ # # Cray Research (UK) Ltd. # M.Bouron@crayuk.uucp (DOMAIN) # (_|_V_|_) # # +44 344 485971 x2208 # M.Bouron@uk.co.cray (JANET) # | | # # # ...!ukc!crayuk!M.Bouron (UUCP) # # ################################################################################
gjh@hplb.hpl.hp.com (Graham Higgins) (06/26/91)
++ What am I doing wrong? What's this fontmap it's looking for? If anyone else sees this error, it's covered in the readme file. The GS_LIB env-var hold the pathnames to the subdirectories 'ps' and 'fonts' and should be (in the example) e:/ghostscr.ipt/ps,e:/ghostscr.ipt/fonts. BTW - The postscript generator in the software suite accompanying the Yale Bright Star catalogue appears to generate valid PS files. Ghostscript successfully produces prn_1000 files from the PS output. Looks good. Graham ====== ------------------------------------------------------------------ Graham Higgins | gjh%ghiggins@hpl.hp.co.uk Hewlett-Packard Labs | gjh%ghiggins@hplb.hpl.hp.com Filton Road, Stoke Gifford | gjh%hplb.csnet@csnet-relay.arpa Bristol, U.K. | ...!mcvax!ukc!hplb!gjh Tel: +44 272 799910 x24014 Fax: +44 272 790554 ------------------------------------------------------------------ Disclaimer: My opinions above are exactly that, mine and opinions. ------------------------------------------------------------------
pbh@jake.tmc.edu (Patrick Haggood) (06/26/91)
In article <034213.21977@timbuk.cray.com> marc@sequoia.cray.com (Marc Bouron) writes: > >In article <1991Jun26.033501.2626@cs.wayne.edu>, pbh@jake.cc.wayne.edu (Patrick Haggood) writes: >> I just downloaded ghostscript the other day and have loaded it into >>...etc >> What am I doing wrong? What's this fontmap it's looking for? > >The fontmap file maps between the PostScript font names (e.g. /Times-Roman) and >GhostScript font FILES (e.g. ptmr.gsf). It live in the ./fonts subdirectory. >Now, to make the rest of it work, you need to modify your GS_LIB variable: > >GSLIB=e:\ghostscr.ipt\fonts,e:\ghostscr.ipt\ps > >Basically, it's a search path for any file GS wants to open. Can't remember if >the slashes face forward or back (forward in the variable, backwards on the >command line?). > Hm, are there supposed to be more font files with the distribution? The only one in the distrib I got was UGLY(something).GSF. So .GSF files have to live in a FONTS directory. To keep my path uncomplicated, I put the GS executable in the \bin subdirectory. Does my fontmap file have to live there too or will it suffice to keep put it in some directory pointed to by GS_LIB? -- Patrick B. Haggood Wayne STate University Detroit, MI Physics - Class of 1991 (-2?)
marc@sequoia.cray.com (Marc Bouron) (06/27/91)
The fontmap file needs to be in the GS_LIB path. Regarding fonts, there are no further .gsf fonts in the distribution, but they are freely available from various ftp sites. You can also make them yourself from .bdf fonts on Unix. [M][a][r][c] ################################################################################ # # marc@sequoia.cray.com # . . # # Marc CR Bouron # M.Bouron@cray.co.uk (ARPA) # _|\ /|_ # # Cray Research (UK) Ltd. # M.Bouron@crayuk.uucp (DOMAIN) # (_|_V_|_) # # +44 344 485971 x2208 # M.Bouron@uk.co.cray (JANET) # | | # # # ...!ukc!crayuk!M.Bouron (UUCP) # # ################################################################################