Hylafax Mailing List Archives

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

Re: [hylafax-users] same old problem (but..not.)



If you do a 'gs -h', what does ghostscript think the font path is??
ken
# gs -h
Aladdin Ghostscript 5.50 (1998-9-16)
Copyright (C) 1998 Aladdin Enterprises, Menlo Park, CA.  All rights
reserved.
Usage: gs [switches] [file1.ps file2.ps ...]
Most frequently used switches: (you can use # in place of =)
 -dNOPAUSE           no pause after page   | -q       `quiet', fewer
messages
 -g<width>x<height>  page size in pixels   | -r<res>  pixels/inch resolution
 -sDEVICE=<devname>  select device         | -dBATCH  exit after last file
 -sOutputFile=<file> select output file: - for stdout, |command for pipe,
                                         embed %d or %ld for page #
Input formats: PostScript PostScriptLevel1 PostScriptLevel2 PDF
Available devices:
   deskjet djet500 laserjet ljetplus ljet2p ljet3 ljet4 cdeskjet cdjcolor
   cdjmono cdj550 pj pjxl pjxl300 uniprint bj10e bj200 bjc600 bjc800 faxg3
   faxg32d faxg4 jpeg jpeggray pcxmono pcxgray pcx16 pcx256 pcx24b pbm
   pbmraw pgm pgmraw pgnm pgnmraw pnm pnmraw ppm ppmraw tiffcrle tiffg3
   tiffg32d tiffg4 tifflzw tiffpack tiff12nc tiff24nc psmono psgray bit
   bitrgb bitcmyk pngmono pnggray png16 png256 png16m pdfwrite bbox pswrite
   epswrite pxlmono pxlcolor nullpage
Search path:
   . : /usr/local/share/ghostscript/5.50 :
   /usr/local/share/ghostscript/fonts
For more information, see /usr/local/share/ghostscript/5.50/doc/Use.htm.
Report bugs to ghost@aladdin.com, using the form in Bug-form.htm.

-----Original Message-----
From: Bill Bradford [mailto:mrbill@mrbill.net]
Sent: Wednesday, January 24, 2001 10:13 AM
To: hylafax-users@hylafax.org
Subject: [hylafax-users] same old problem (but..not.)


Got a problem where ghostscript cant seem to find its Fontmap file, even
though I've got everything setup correctly:

First, the error from textfmt:

root@sunpub2:/usr/local/lib/fax> sendfax -n -d 95971323 /etc/hosts
/usr/local/sbin/textfmt: No font metric information found for
"Courier-Bold".
Usage: /usr/local/sbin/textfmt [-1] [-2] [-B] [-c] [-D] [-f fontname] [-F
fontdir(
s)] [-m N] [-o #] [-p #] [-r] [-U] [-Ml=#,r=#,t=#,b=#] [-V #] files...
>out.ps
Default options: -f Courier -1 -p 11bp -o 0
Error converting data; command was "/usr/local/sbin/textfmt -B -f
Courier-Bold  -p
 11 -s default >/tmp//faxsndj9aWWC </etc/hosts"

Okay, it cant find Fontmap.  Here's /usr/local/lib/fax/hyla.conf:

root@sunpub2:/usr/local/lib/fax> ls -al hyla.conf
-rw-r--r--   1 root     other         91 Jan 24 05:04 hyla.conf

root@sunpub2:/usr/local/lib/fax> cat hyla.conf
FontDir: /usr/local/share/ghostscript/fonts
FontMap: /usr/local/share/ghostscript/6.50/lib

And the files are where I've told Ghostscript they are:

root@sunpub2:/usr/local/lib/fax> ls -al
/usr/local/share/ghostscript/6.50/lib/Font
map*
-rw-r--r--   1 root     other         83 Jan 24 00:55
/usr/local/share/ghostscript
/6.50/lib/Fontmap
-rw-r--r--   1 root     other      13707 Jan 24 00:55
/usr/local/share/ghostscript
/6.50/lib/Fontmap.GS

root@sunpub2:/usr/local/lib/fax> ls /usr/local/share/ghostscript/fonts
a010013l.afm  c059013l.pfm  hritro.gsf    n019024l.pfb  n022023l.pfm
a010013l.pfb  c059016l.afm  hrpld.pfa     n019024l.pfm  n022024l.afm
a010013l.pfm  c059016l.pfb  hrpldb.gsf    n019043l.afm  n022024l.pfb
a010015l.afm  c059016l.pfm  hrpldbi.gsf   n019043l.pfb  n022024l.pfm
<etc..>

and Courier-Bold is defined in Fontmap.GS, and the font file IS there:

root@sunpub2:/usr/local/share/ghostscript/6.50/lib> grep Courier-Bold
Fontmap*
Fontmap.GS:/Courier-Bold                /NimbusMonL-Bold        ;
Fontmap.GS:/Courier-BoldOblique         /NimbusMonL-BoldObli    ;

root@sunpub2:/usr/local/share/ghostscript/6.50/lib> grep NimbusMonL-Bold
Fontmap.G
S
/NimbusMonL-Bold        (n022004l.pfb)  ;
/NimbusMonL-BoldObli    (n022024l.pfb)  ;
/Courier-Bold                   /NimbusMonL-Bold        ;
/Courier-BoldOblique            /NimbusMonL-BoldObli    ;

root@sunpub2:/usr/local/share/ghostscript/6.50/lib> ls
../../fonts/n022004l.pfb
../../fonts/n022004l.pfb

Any ideas?  I'm about to tear my hair out... This is on Solaris 7/SPARC.

Bill

-- 
Bill Bradford
mrbill@mrbill.net
Austin, TX


____________________ HylaFAX(tm) Users Mailing List _______________________
 To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null


____________________ HylaFAX(tm) Users Mailing List _______________________
 To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null



Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services