HylaFAX The world's most advanced open source fax server |
Ok, a bit more digging and I found that in the hyla.conf entry for FontMap was pointing to a non-existant directory so I pointed it to the one that does exist like so:- FontMap: /usr/share/ghostscript/8.71/lib But the textfmt command that is called by the script is still saying it cant find the font metrics. It’s looking like it should be easy to fix, but I don’t know the spell to cast to get the textfmt command to see the font metrics Any ideas anybody? From: hylafax-users-bounce@xxxxxxxxxxx [mailto:hylafax-users-bounce@xxxxxxxxxxx] On Behalf Of James Smith Ok, I fixed the initial script errors, but now faxmail is throwing me font errors Font Courier: /usr/share/fonts/type1/gsfonts/Courier: Can not open font metrics file; using fixed widths. Font Helvetica-Bold: /usr/share/fonts/type1/gsfonts/Helvetica-Bold: Can not open font metrics file; using fixed widths. Font Helvetica-Oblique: /usr/share/fonts/type1/gsfonts/Helvetica-Oblique: Can not open font metrics file; using fixed widths textfmt: No font metric information found for "Courier-Bold". I looked in the dir for the fonts mentioned and there are no font files with names, just numbers Now I really am lost From: hylafax-users-bounce@xxxxxxxxxxx [mailto:hylafax-users-bounce@xxxxxxxxxxx] On Behalf Of James Smith Hi I’m trying to get a mail to fax gateway going using the supplied mailfax script with postfix The problem I’m having is that the script is returning an error when it tries to process an email (Command died with status 2: "/usr/bin/mailfax". Command output: /usr/bin/mailfax: 121: Bad substitution ) I’ve typed the command in at the prompt with the parameters on the server just to check and it gives the same error The line in question is TMPVAR=${USER//\`/} Any ideas anyone? Thx |