HylaFAX The world's most advanced open source fax server

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

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



--On Wednesday, January 24, 2001 12:13 PM -0600 Bill Bradford 
<mrbill@mrbill.net> wrote:

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

Okay, so I am having this same problem and I didn't every see a 
solution posted.  It there one?

In my case I am installing on Red Hat 6.1 using the CVS HylaFAX 
sources.     (I have also tried starting from the rpm and from the tar 
ball all with the same result.)  I have already installed a newer 
ghostscript, version 6.50, just like mrbill.  In all cases it appears 
as though the *.conf files are not getting read, but I found that they 
were by using the -v switch.  What is interesting though is that the 
fontmap parameter is not recognized.  Here is the output from sendfax:


%sendfax -v -n -d 2540 /home/mac/junk.txt
Warning, verbose = Yes (line 1)
Warning, Read config file /usr/local/lib/fax/sendfax.conf
Warning, verbose = Yes (line 2)
Warning, Unknown configuration parameter "fontmap" ignored at line 3
match against (..., 512)
rule: offset 0 string = "%!" -- failed (comparison)
rule: offset 0 short = 0x4d4d -- failed (comparison)
rule: offset 0 short = 0x4949 -- failed (comparison)
rule: offset 0 short = 0x1da -- failed (comparison)
rule: offset 0 short = 0x1f1e -- failed (comparison)
rule: offset 0 short = 0x1f9d -- failed (comparison)
rule: offset 0 short = 0x506 -- failed (comparison)
rule: offset 0 short = 0x5343 -- failed (comparison)
rule: offset 0 short = 0xf702 -- failed (comparison)
rule: offset 0 string = "GIF" -- failed (comparison)
rule: offset 0 long = 0x59a66a95 -- failed (comparison)
rule: offset 0 string = "%PDF" -- failed (comparison)
rule: offset 0 string = "x T psc" -- failed (comparison)
rule: offset 0 string = "begin" -- failed (comparison)
rule: offset 0 string = "xbtoa" -- failed (comparison)
rule: offset 0 string = "P1" -- failed (comparison)
rule: offset 0 string = "P2" -- failed (comparison)
rule: offset 0 string = "P3" -- failed (comparison)
rule: offset 0 string = "P4" -- failed (comparison)
rule: offset 0 string = "P5" -- failed (comparison)
rule: offset 0 string = "P6" -- failed (comparison)
rule: offset 0 string = "WNGZWZSS" -- failed (comparison)
rule: offset 0 string = "#Inventor V" -- failed (comparison)
rule: offset 0 ascii = -- success (result postscript, rule "%F/textfmt 
-B -f Courier-Bold       -Ml=0.4in -p 11 -s %s >%o <%i")
CONVERT "/usr/local/sbin/textfmt -B -f Courier-Bold     -Ml=0.4in -p 11 
-s default >/tmp//sndfaxxDSWmV </home/mac/junk.txt"
/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 -Ml=0.4in -p 11 -s default >/tmp//sndfaxxDSWmV 
</home/mac/junk.txt"

I don't have a clue as to why I would need to specify the fontmap 
parameter even if I could since the setup.cache seems to know all about 
fontmap and fontpath.  Any help will be greatly appreciated.

Thanks,

Bill


+-----------------------------------------------
| Bill MacAllister
| Senior Programmer, Pride Industries
| 10030 Foothills Blvd., Roseville CA  95747
| Phone: +1 916.788.2402    Fax: +1 916.788-2540


> 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




Project hosted by iFAX Solutions