Re: hylafax+ fedora server 23 textfmt: No font metric information found for "Courier-Bold"

Lee Howard <[email protected]>
Newsgroups gmane.comp.telephony.fax.hylafax.user
Message-ID <[email protected]>
Upcoming in HylaFAX+ 5.5.7 is this change:

http://sourceforge.net/p/hylafax/HylaFAX+/2384/

You can add the code to your existing faxsetup script, or you can simply 
download the new faxsetup script and replace yours.  Then, re-run faxsetup.

I suspect that this will resolve the problem (caused by changes in 
recent Ghostscript releases).

Thanks,

Lee.


On 12/07/2015 07:11 PM, Andras Kende wrote:
> I started migrating from HylaFax 6.0.6 Ubuntu 14LTS to HylaFax+ Fedora Server 23
>
> This is what I did so far:
>
> clean install “fedora server” without any extra packages
>
> dnf install hylafax
>
> /usr/sbin/faxsetup
>
> Created our own Fontmap file in /var/spool/hylafax/etc.
>
> Setting Ghostscript font path in /etc/hylafax/hyla.conf.
>
> Warning: /usr/share/ghostscript/9.16/Resource/Font does not exist or is not a directory!
>
> Warning: /usr/share/ghostscript/fonts does not exist or is not a directory!
> ...
> Should I run faxmodem for each configured modem [yes]?
> /usr/sbin/faxmodem ttyACM0
> Done verifying system setup.
>
> [root@fax1 ~]# faxgetty -D /dev/ttyACM0
>
> systemctl enable hylafax-faxq.service
> systemctl enable hylafax-hfaxd.service
>
> [root@fax1 ~]# faxstat
> HylaFAX scheduler on fax1: Running
> Modem ttyACM0 (+1.999.555.1212): Running and idle
>
> [root@fax1 ~]# sendfax -n -d 1112223333 test.txt
> /usr/sbin/textfmt: No font metric information found for "Courier-Bold".
> Usage: /usr/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/sbin/textfmt -B -f Courier-Bold	-Ml=0.4in -p 11 -s default >'/tmp/sndfaxYRkdoy' <'/etc/resolv.conf’"
>
>
> I googled around and found the same error, with different fixes.
> Any help whats the best way to fix this font error would be helpful.
>
>
>
> Thank you,
> Andras
>
> ____________________ HylaFAX(tm) Users Mailing List _______________________
>    To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
>   On UNIX: mail -s unsubscribe [email protected] < /dev/null
>    *To learn about commercial HylaFAX(tm) support, mail [email protected].*
>
>
>


____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe [email protected] < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail [email protected].*
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.