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] Hylafax Font Metric Errors



hesco@xxxxxxxxxx wrote:

Hello:

That's a never mind on the password issue, browsing around among man
pages and how-to documents, I found the faxadduser command, used it and
got past the Login errors. I also, finally, got another successful test
of faxing out a .pdf. That leaves the text files and the font metrics
issue, still, though.


Here is what happens when I try to fee the sendfax command an ascii text
file instead of a .pdf. I haven't tried it yet, but I assume that the
.ps files work fine.


hesco@biko:~$ ./fax.sh
Password:
textfmt: No font metric information found for "Courier-Bold".
Usage: 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 com -1 -p 11bp -o 0
Error converting data; command was "textfmt -B -f Courier-Bold
-Ml=0.4in -p 11 -s default >/tmp//sndfaxi0MWGB <testfax.txt"
hesco@biko:~$

I used the Debian Packages search engine to figure out what packages I
needed to install to fill in the missing files that were identified in
the faxsetup log, reprinted below. But my attempts to apt-get install
gsfonts and gsfonts-other said those packages are already installed and up-to-date. I found a ghostscript/fonts directory in /usr/share and
tried symlinking it from /usr/local/share, but that generated the same
errors.


I see that the sendfax command is attempting to create a temporary file
at /tmp//sndfaxiOMWGB. It appears that a sub-directory name is missing
in /tmp, which might be partially responsible. But that doesn't explain
the "No font metric information found" error. Might it just be a matter
of Courier-Bold being missing? Where is a configuration file where I
might choose another default font?


All clues are appreciated.



Hugh,

This has come up recently [0] to recap you need to create some symlinks from the directories where hylafax is looking for ghostscript files to where debian has them installed.

hth

Simon




[0] http://www.hylafax.org/archive/2004-04/msg00079.php


____________________ HylaFAX(tm) Users Mailing List _______________________
 To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
 *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*




Project hosted by iFAX Solutions