HylaFAX The world's most advanced open source fax server

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

[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




Project hosted by iFAX Solutions