You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
498 B

1 month ago
  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. # This definition is changed on install to match the
  7. # executable name set in the makefile
  8. GS_EXECUTABLE=gs
  9. gs="`dirname \"$0\"`/$GS_EXECUTABLE"
  10. if test ! -x "$gs"; then
  11. gs="$GS_EXECUTABLE"
  12. fi
  13. GS_EXECUTABLE="$gs"
  14. exec "$GS_EXECUTABLE" -q -dNODISPLAY -P- -dSAFER -dDELAYSAFER -- pf2afm.ps "$@"