#!/bin/sh # $Id: pf2afm 8107 2007-07-05 19:04:29Z till $ # Make an AFM file from PFB / PFA and (optionally) PFM files. Usage: # pf2afm fontfilename # Output goes to fontfilename.afm, which must not already exist. # See pf2afm.ps for more details. # This definition is changed on install to match the # executable name set in the makefile GS_EXECUTABLE=gs gs="`dirname $0`/$GS_EXECUTABLE" if test ! -x "$gs"; then gs="$GS_EXECUTABLE" fi GS_EXECUTABLE="$gs" exec "$GS_EXECUTABLE" -q -dNODISPLAY -dSAFER -dDELAYSAFER -- pf2afm.ps "$@"