HylaFAX The world's
most advanced open source fax server
|
|
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
Re: Using ghostscript 4.03 and HylaFAX
On Fri, 7 Mar 1997, Matthew Rice wrote:
> > Problem is, when I did my first test fax (sendfax -n -d 723304 /etc/passwd)
> > textfmt bombed out with
> > "No font metric information found for Courier-Bold"
>
> Well it looks like I get to talk about the textfmt problem afterall :-)
> Did anyone ever have this problem on a non-Linux system?
I ran into similar stuff building the SCO binaries.
The fonts that come with HylaFAX must be in $AFMDIR for textfmt to work
Check .../spool/etc/setup.cache. Look for the AFMDIR= line.
Make sure it points to the same directory as you ghostscript fonts.
Make sure the following font files from HylaFAX are there.
AvantGarde-Book Helvetica-Oblique
AvantGarde-BookOblique NewCenturySchlbk-Bold
AvantGarde-Demi NewCenturySchlbk-BoldItalic
AvantGarde-DemiOblique NewCenturySchlbk-Italic
Bookman-Demi NewCenturySchlbk-Roman
Bookman-DemiItalic Palatino-Bold
Bookman-Light Palatino-BoldItalic
Bookman-LightItalic Palatino-Italic
Courier Palatino-Oblique
Courier-Bold Palatino-Roman
Courier-BoldOblique Symbol
Courier-Oblique Times-Bold
Helvetica Times-BoldItalic
Helvetica-Bold Times-Italic
Helvetica-BoldOblique Times-Oblique
Helvetica-Narrow Times-Roman
Helvetica-Narrow-Bold ZapfChancery-MediumItalic
Helvetica-Narrow-BoldOblique ZapfDingbats
Helvetica-Narrow-Oblique
I found that if I ran configure again when those fonts were in place
the "make install" would not install the fonts. So when I moved my
prodction HylaFAX and ghostscript fonts out of the way to
do a "make install" for distribution there were no fonts installed.
Hope this helps some.
>
>
> > I have even checked the ghostscript Fontmap is ensure that Courier-Bold is
> > declared. [ While typing this, I have been stuck with the thought that
> > perhaps HylaFAX cannot find the Fontmap - it is in /usr/share/ghostscript/
> > 4.03/ directory (?)].
>
> Actually, from tracing textfmt, I've found that it doesn't even look for
> Fontmap. The next update will probably be compiled to use /usr/share/...
> as the AFMDIR because 3.33 uses it too.
>
>
> > Anyone got any ideas what to try next ? Other than obtaining the sources
> > and starting from scratch, that is.
>
> Use strace(1) to watch the files that are being stat/open'ed.
> Here's a snippet that others have used to solve this problem:
> /********** BEGIN EXCERPT *****************/
> I did a trace on textfmt here and it doesn't seem to be opening the
> Fontmap file. I get:
>
> open("/usr/lib/ghostscript/fonts/Courier.afm", O_RDONLY) = -1 ENOENT (No such
> fi
> le or directory)
> open("/usr/lib/ghostscript/fonts/Courier", O_RDONLY) = 7
>
> You could try putting a link from ncrb.gsf to Courier.
> /********** END EXCERPT ******************/
>
> If you send me details about your solution, I would be more than
> happy to add it to the INSTALL notes.
>
> Regards,
> --
> Matthew Rice e-mail: matthew.rice@ftlsol.com
>
--
Tim Rice Multitalents (707) 887-1469 (voice)
tim@trr.metro.net