Milo Thurston wrote: > I'm running Debian 3.0, and have run into a problem when viewing > ps files with gv. This is typical: > > ---------------------------------------------------------------- > Error: /invalidfont in findfontGNU Ghostscript 6.51: > Unrecoverable error, exit code 1 > > Operand stack: > elvetica Font Helvetica 327098 Helvetica --nostringval-- > Courier NimbusMonL-Regu (NimbusMonL-Regu) NimbusMonL-Regu > (NimbusMonL-Regu) NimbusMonL-Regu > xecution stack: > %interp_exit .runexec2 --nostringval-- --nostringval-- > --nostringval-- 2 %stopped_push --nostringval-- > --nostringval-- --nostringval-- false 1 %stopped_push > 1 3 %oparray_pop 1 3 %oparray_pop .runexec2 > --nostringval-- --nostringval-- --nostringval-- 2 %s > --------------------------------------------------------------- > > The gsfonts package is installed but I cannot read most postscript > documents.
Try adding the following to /etc/profile, and then logging out and back in to let it take effect: GS_LIB=/usr/share/gs/6.51:/usr/share/fonts/type1/gsfonts export GS_LIB I had the same problem recently, and that fixed it. It tells ghostscript where to look for fonts. Craig