RE: Ghostscript Version: 4.01-4

1997-01-10 Thread Paul Rightley
Whenever I have had such problems, it usually results from the fonts being in
the incorrect directory.  I seem to remember that sometimes GS expects its
fonts under /usr/local/share/...  It seems to depend on how the binary was
compiled (though I am not sure).  I do not know how to tell GS in what
directory to look for fonts.

PAul Rightley

On 09-Jan-97 Mario Olimpio de Menezes wrote:
Hi,

   I'm getting a error concerning fonts not found:

Aladdin Ghostscript 4.01 (1996-7-10)
Copyright (C) 1996 Aladdin Enterprises, Menlo Park, CA.  All rights
reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Can't find (or can't open) font file n021003l.pfb.
Unable to substitute for font.
Error: /invalidfont in findfont
Operand stack:
   --nostringval--   Times-Roman   28548   --nostringval--   Times-Roman
NimbusRomNo9L-Regu
   

   The specified file exist and is in /usr/lib/ghostscript/fonts:

-rw-r--r--   1 root root35161 Oct 24 18:55 n021003l.pfb
-rw-r--r--   1 root root34996 Oct 24 18:56 n021004l.pfb
-rw-r--r--   1 root root37139 Oct 24 18:56 n021023l.pfb
-rw-r--r--   1 root root36325 Oct 24 18:56 n021024l.pfb

   Is this a problem with this version of GS? Is it possible to test,
in some way, a *.pfb file? 

   Any hints?
[]s, mario

   Mario O.de Menezes -  oo-O-oo- mailto:[EMAIL PROTECTED] 
 | Nuclear and Energetic Research Institute - IPEN-CNEN/SP | 
 | BRAZIL -  fone (+55) 011-816.9175   fax (+55) 011-8l6.9188  |
 |  http://tucano.ipen.br  -  http://www.ipen.br/~mario/mario.html |

--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]

--
Paul Rightley DX-3 Hydrodynamics, MS P940
Los Alamos National LaboratoryLos Alamos, NM 87545
Phone: (505)667-0460  Fax: (505)665-3359
Email: Paul Rightley [EMAIL PROTECTED]
--


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


RE: Ghostscript Version: 4.01-4

1997-01-10 Thread Rick Macdonald
On Thu, 9 Jan 1997, Paul Rightley wrote:

 Whenever I have had such problems, it usually results from the fonts being in
 the incorrect directory.  I seem to remember that sometimes GS expects its
 fonts under /usr/local/share/...  It seems to depend on how the binary was
 compiled (though I am not sure).  I do not know how to tell GS in what
 directory to look for fonts.

I found where it was looking by running gs under strace 
(eg: strace gs sum.ps)

Then, you can see it trying different places to find fonts:

open(./Fontmap, O_RDONLY) = -1 ENOENT (No such file or
directory)
open(/usr/lib/ghostscript/4.03/Fontmap, O_RDONLY) = -1 ENOENT (No such
file or directory)
open(/usr/lib/ghostscript/fonts/Fontmap, O_RDONLY) = 4

...and...

open(/usr/lib/ghostscript/fonts/n021003l.pfb, O_RDONLY) = 5

But, as has been posted, the latest gs and gs-alladin deb files
have this fixed.

...RickM...


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


Re: Ghostscript Version: 4.01-4

1997-01-09 Thread joost witteveen
 
 
 Hi,
 
   I'm getting a error concerning fonts not found:
 
 Aladdin Ghostscript 4.01 (1996-7-10)

Please upgrade to gs-aladdin-4.03-recent. That will fix it.
Or, use gs-3.33-recent.


-- 
joost witteveen
[EMAIL PROTECTED]
  [EMAIL PROTECTED]
--
Use Debian/GNU Linux!


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


Re: Ghostscript Version: 4.01-4

1997-01-09 Thread Rick Macdonald
Mario Olimpio de Menezes wrote:

 I'm getting a error concerning fonts not found:
 
 Aladdin Ghostscript 4.01 (1996-7-10)

 Can't find (or can't open) font file n021003l.pfb.
 Unable to substitute for font.
 Error: /invalidfont in findfont
 Operand stack:
--nostringval--   Times-Roman   28548   --nostringval--   Times-Roman
 NimbusRomNo9L-Regu
 
 
 The specified file exist and is in /usr/lib/ghostscript/fonts:
 
 -rw-r--r--   1 root root35161 Oct 24 18:55 n021003l.pfb
 -rw-r--r--   1 root root34996 Oct 24 18:56 n021004l.pfb
 -rw-r--r--   1 root root37139 Oct 24 18:56 n021023l.pfb
 -rw-r--r--   1 root root36325 Oct 24 18:56 n021024l.pfb

I had this _exact_ problem. I initially fixed it by making a symlink of
the fonts directory from /usr/lib/ghostscript/4.01/fonts, or whatever it
was,
but then I was told this was because I had an old debian package
installed.

I (and you) had an old ghostscript installed. The latest (4.03) is the
/non-free/binary-i386/gs-aladdin_4.03-7.deb and this problem will go
away when you install this new package.

If I remember correctly, I couldn't coerce dselect to do this
installation because of the version numbers. The ghostscript in text has
the name
gs_3.33-3.deb, which dselect sees as older than our 4.01. I assume
that
when we originally installed ghostscript it was called 4.01, but then
due to
copyright reasons it was replaced whith an older version. Your problem
is (I believe) also fixed in gs_3.33-3.deb, so you can install it or
gs-aladdin_4.03-7.deb. Go with the gs-aladdin_4.03-7.deb unless you have
a problem with the copyright business.

I don't recall, but I may have done a --purge on ghostscript first,
and then
installed gs-aladdin_4.03-7.deb.

BTW, if you use ghostview, you'll probably like gv _much_ better, as I
found.

-- 
...RickM...


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]