[SLL] hylafax on Kubuntu

Phil Hughes nicafyl at gmail.com
Wed Mar 5 12:03:46 PST 2008


First, thanks Chris for the pointer. It pretty much convinced me that it is
supposed to be broken. :-)

For those that actually want to fix it, the two steps I took were:
 1. Change the font path and and map entries in /etc/hylafax/hyla.conf to a
place where there are real font metrics and a file named Fontmap. The second
one was the trick and font.map is the standard font map file for enscript,
ghostscript, ... And, it turns out that the expected format of the font
metrics file is different as well.
 2. This, then, is to create Fontmap that textformat is happy with.

On Gutsy, I specfically did the following:
* changed both pointers in hyla.conf to /usr/share/enscript/afm which is
enscript's font metric files.
* Copied font.map in this directory to Fontmap and did some creative vi work
so each line looked like this:
   /AvantGarde-Demi               (agd.afm) ;
Basically that means adding the leading /, putting the actual font metric
filename in parenthesis (with the extension) and adding a semicolon. This
format was suggested in one of the messages Chris pointed to. Maybe
something else works but one thing that doesn't is the regular font.map file
format.



On Wed, Mar 5, 2008 at 10:56 AM, Chris Fischer <chris at protek.cc> wrote:

> Hi Phil,
>
> A couple possibilities:
>
>
> http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg208498.html
>
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=154506
>
> This seems to be a long standing bug/problem in the debianized version,
> but I don't really know enough about it to say much.
>
> Regards,
>
> Chris
>
> Phil Hughes wrote:
> > First the good news. I set up a hylafax server and it seems happy. But,
> > textfmt isn't. That is, sending a PostScript file seems fine but if I
> try to
> > send a text file, I get the message
> >   textfmt: No font metric information found for "Courier-Bold".
> > Now, I could "figure this out" meaning find a font metric file but it
> seems
> > there should be one somewhere that gets installed. Even looking in the
> > package manager (adept) I didn't find a good answer. Any clues?
> >
> > Thanks.
> >
> >
>
>


-- 
Phil Hughes -- nicafyl at gmail.com


More information about the linux-list mailing list