当前位置: 代码迷 >> 综合 >> hylafax中发送传真时textfmt: No font metric information found for “Courier-Bold”.的解决办法
  详细解决方案

hylafax中发送传真时textfmt: No font metric information found for “Courier-Bold”.的解决办法

热度:75   发布时间:2024-01-20 13:38:51.0

错误内容:

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 Courier -1 -p 11bp -o 0
Error converting document; command was "textfmt -B -f Courier-Bold -Ml=0.4in -p 11 -s default >'/tmp//sndfaxUSNM632′ <'/etc/issue.net'"

错误原因:找不到"Courier-Bold"字体

解决办法:

# find / -name *Courier* -print
/usr/share/doc/dovecot-1.0.7/wiki/Migration.Courier.txt
/usr/share/cups/fonts/Courier-Bold
/usr/share/cups/fonts/Courier
/usr/share/cups/fonts/Courier-BoldOblique
/usr/share/cups/fonts/Courier-Oblique
将/usr/share/cups/fonts添加到/etc/hylafax/hyla.conf中FontMap和FontPath最后即可

Powered by Zoundry Raven

  相关解决方案