| 1 | #!/bin/sh |
| 2 | # Make an AFM file from PFB / PFA and (optionally) PFM files. Usage: |
| 3 | # pf2afm fontfilename |
| 4 | # Output goes to fontfilename.afm, which must not already exist. |
| 5 | # See pf2afm.ps for more details. |
| 6 | |
| 7 | # This definition is changed on install to match the |
| 8 | # executable name set in the makefile |
| 9 | GS_EXECUTABLE=gs |
| 10 | gs="`dirname \"$0\"`/$GS_EXECUTABLE" |
| 11 | if test ! -x "$gs"; then |
| 12 | gs="$GS_EXECUTABLE" |
| 13 | fi |
| 14 | GS_EXECUTABLE="$gs" |
| 15 | |
| 16 | exec "$GS_EXECUTABLE" -q -dNODISPLAY -P- -dSAFER -dDELAYSAFER -- pf2afm.ps "$@" |