Hylafax Mailing List Archives

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [hylafax-users] fatal error upgrading to latest hylafax



At 23:02 25/07/00 -0400, Jay R. Ashworth wrote:
>On Monday, July 24, 2000, at 10:24:37 AM, Robert Colquhoun wrote:
> > If the fonts/font metric information is in a different location from the
> > rpm builder you will need to create/edit a hyla.conf or .hylarc file and
> > set  the 'FontMap' and 'FontPath' to the correct locations(both are path
> > variables and normally set to the same thing) so that the info can be 
> found
> > by textfmt etc.
>
> > See the textfmt man page for further details.
>
>Are you willing to admit to "owning" that piece of code at the moment,
>Robert?  Any chance we could get that message to include the exact
>file name that the program was attempting to open?

Er it doesn't really try to open a file of a particular name.

Firstly it looks at the FontMap path variable and looks through each 
directory in order for a file named 'Fontmap', if a file with that name is 
present in the directory then it uses that as a lookup table to map the 
font name and repeats(sort of like sendmail's aliases file) until the path 
is exhausted.

It then uses the FontDir path parameter to search through to find the 
mapped name it got from above, if it finds a match it will use that file 
otherwise it will revert to just looking for the basename ie 
'Courier-Bold.afm' somewhere along the FontDir path.

The values of FontMap and FontDir can be seen by looking in the setup.cache 
file, normally they should be identical and set to the same value as the 
ghostscript search patch(type 'gs -h' to view the ghostscript search 
path).  If FontMap or FontDir need to be changed alter them in either the 
global hyla.conf or .hylarc in your home directory, do *not* bother 
altering setup.cache no binary component of hylafax looks there(...this is 
actually a another problem that needs fixing :-(  )

- Robert




____________________ HylaFAX(tm) Users Mailing List _______________________
 To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null



Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services