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] mailfax script



The distro is Ubuntu 10.04 with backports repository, which probably explains the FontMap line, but I have no idea why textfmt isn’t seeing the font metrics

 

 

From: Matthew Nickerson [mailto:mnickerson@xxxxxxxxxx]
Sent: Monday, October 25, 2010 1:31 PM
To: James Smith; hylafax-users (hylafax-users@xxxxxxxxxxx)
Subject: RE: [hylafax-users] mailfax script

 

What version of linux are you on?

 

From: hylafax-users-bounce@xxxxxxxxxxx [mailto:hylafax-users-bounce@xxxxxxxxxxx] On Behalf Of James Smith
Sent: Monday, October 25, 2010 9:07 AM
To: hylafax-users (hylafax-users@xxxxxxxxxxx)
Subject: Re: [hylafax-users] mailfax script

 

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
Sent: Monday, October 25, 2010 11:44 AM
To: hylafax-users (hylafax-users@xxxxxxxxxxx)
Subject: Re: [hylafax-users] mailfax script

 

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
Sent: Monday, October 25, 2010 10:30 AM
To: hylafax-users (hylafax-users@xxxxxxxxxxx)
Subject: [hylafax-users] mailfax script

 

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

 

 




Project hosted by iFAX Solutions