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] textfmt problem



Carlos Garcia wrote:

Hello,

I've installed the hylafax server (4-1-8) from source on a debian woody (2.4.25 kernel). The process has gone ok, but now, when I exec the command

sendfax -n -d tel_number file_to_send

I always receive the error:

/usr/local/sbin/textfmt: No font metric information found for "Courier-Bold".
Usage: /usr/local/sbin/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 Courier -1 -p 11bp -o 0
Error converting data; command was "/usr/local/sbin/textfmt -B -f Courier-Bold -Ml=0.4in -p 11 -s default >/tmp//sndfaxKa7ko9 <file_to_send"


I've looked for info about that error and I've find that it can be a fonts path error. The file hyla.conf doesn't exist in my system. I've searched for the 'Courier-Bold' file and it's in '/usr/share/fonts/truetype/'.. well, not exactly, because the file is 'Courier_New_Bold.ttf'.

What do you think I should do to fix that problem?

Carlos,


Not having a hyla.conf file is a real problem, have you followed the setup instructions[0] fully?

man textfmt gives loads of information including the fact that it needs adobe fonts from the gs install and also where it looks for config files.

As you have gone to the effort of building from source instead of using the tested debian install .deb via apt-get you may like to upgrade to 4.2.0 or the cvs head?

Simon

[0] http://www.hylafax.org/setup.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