Date: Wed, 18 Dec 96 14:05:07 EST
From: raoul@kerberos.cirl <raoul@kerberos.cirl>
Subject: Fonts for HylaFAX, was Re: commercial postscript to fax interpreters?
Aladdin Ghostscript has better fonts than the older ghostscript
versions, especially the version 4.0x fonts. True. The freeware
ones, at least, still look somewhat icky after being translated
to fax. I don't know about the commercial version, not having seen
its output.
I've also got some notes about how to get ghostscript to
properly use different fonts you might have installed, included below.
OK, here are my notes for re-configuring your font selection for
HylaFAX and ghostscript (whose standard fonts are kind of sucky for
things like faxmail).
Get some fonts: I got mine from an Adobe font distribution to
customers with Illustrator. You want the *.pfa fonts for UNIX.
Designate a directory for them: I use /usr/local/spool/hylafax/fonts, but
that easily could be a symbolic link to the real source
directory.
Add a couple of lines to "ps2fax.gs", setting
FAXFONT=/usr/local/spool/hylafax/fonts
and add an argument to gs, to get it to look in your directory first
for fonts and things.
-I$(FAXFONT) \
Either read Fontmap and add links from the font files you want (such
as Courier-BoldOblique.pfa) to the files named in the Fontmap,
(whatever-dos-compatible-name-it-is.gs) so that it finds your file
first rather than the ghostscript distributed one, or copy Fontmap
into your $(FAXFONT) directory and edit to change the table to point
to your file instead of the standard ghostscript name (which is what I
did, I hate those DOS names).
Look out for the aliases: There are several that I had to reverse,
since I had the aliased name and didn't have its alternate form.
Test it on a few files, view them with viewfax and/or ghostscript, and
you're in business.
Nico Garcia
Engineer, CIRL
Mass. Eye and Ear Infirmary
raoul@cirl.harvard.edu