HylaFAX The world's most advanced open source fax server

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

Re: HylaFAX on SCO 5.0.x, textfmt failing?



My file "/usr/share/fax/hyla.conf" contains:

   FontPath:               /usr/share/fax/afm

/usr/share/fax/afm contains:

AvantGarde-Book.afm               Helvetica-Oblique.afm
AvantGarde-BookOblique.afm        Helvetica.afm
AvantGarde-Demi.afm               NewCenturySchlbk-Bold.afm
AvantGarde-DemiOblique.afm        NewCenturySchlbk-BoldItalic.afm
Bookman-Demi.afm                  NewCenturySchlbk-Italic.afm
Bookman-DemiItalic.afm            NewCenturySchlbk-Roman.afm
Bookman-Light.afm                 Palatino-Bold.afm
Bookman-LightItalic.afm           Palatino-BoldItalic.afm
Courier-Bold.afm                  Palatino-Italic.afm
Courier-BoldOblique.afm           Palatino-Roman.afm
Courier-Oblique.afm               Symbol.afm
Courier.afm                       Times-Bold.afm
Helvetica-Bold.afm                Times-BoldItalic.afm
Helvetica-BoldOblique.afm         Times-Italic.afm
Helvetica-Narrow-Bold.afm         Times-Oblique.afm
Helvetica-Narrow-BoldOblique.afm  Times-Roman.afm
Helvetica-Narrow-Oblique.afm      ZapfChancery-MediumItalic.afm
Helvetica-Narrow.afm              ZapfDingbats.afm

But: sendfax -n -D -d+1-999-999-9999 <<!^JHello^J!

Still complains:

/usr/local/sbin/textfmt: No font metric information found for "Courier-Bold".
Usage: /usr/local/sbin/textfmt [-1] [-2] [-B] [-c] [-D] [-f fontname] [-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//faxsnda09919 </tmp//sndfaxa09919"

I would be grateful for any additional suggestions...

Thanks,
Dick

> > hylafax is missing the adobe-font-metrics 
> > (the file name is afm.tar.gz somewhere on the flexfax ftp-server i think
> >  or ask altavista)
> > untar this file in your font directory (e.g.
> > /usr/share/ghostscript/fonts)
> > put this dir in your hyla.conf-file:
> > FontDir: /usr/share/ghostscript/fonts
> > 
> 
> Not quite. Under the latest beta version, it looks for "FontPath"
> (case-insensitive). Check for it under the manpage for textfmt;
> and this is confirmed by a grep on "fontpath" on TextFmt.c++ on
> the source.
> 
> And that's why I posted the original question that started this
> whole thread. FontMap and FontPath don't seem to be working correctly
> if there the FontMap has at least one-level of indirection.
> 
> Jonathan Chen
> ----------------------------------------------------------------------
>              "A person should be able to do a small bit of everything,
>                                         specialisation is for insects"
> 




Project hosted by iFAX Solutions