Re: AFM files & Solaris...

Gisle Aas (aas@bergen.sn.no)
18 Mar 1997 10:59:45 +0100


Marc Espie <espie@clipper.ens.fr> writes:
> I've got a Solaris 2.5 box with the afm files installed as
> /usr/openwin/lib/X11/fonts/F3/afm
> 
> strange location, most certainly...
> libwww should probably include some system-dependent configuration
> information, at least so that I can tell it where to find the afm
> files...

You can set the METRICS environment variable.  The documentation says:

     METRICS   Contains the path to seach for AFM-files.  Format
               is as for the PATH environment variable. The
               default path built into this library is:

                /usr/lib/afm:/usr/local/lib/afm:/usr/openwin/lib/fonts/afm/:.


> Ideally, the scheme should be in site_perl/arch as it may depend
> on the actual machine used...

Or you can just patch the path in Font::AFM before you install it.

-- 
Gisle Aas <aas@sn.no>