home *** CD-ROM | disk | FTP | other *** search
/ Internet Magazine 2002 February / INTERNET88.ISO / pc / software / windows / bits / pdf995 / data1.cab / Program_Executable_Files / res / pfbtopfa < prev    next >
Encoding:
Text File  |  2001-12-08  |  335 b   |  17 lines

  1. #!/bin/sh
  2. # $RCSfile: pfbtopfa,v $ $Revision: 1.2.2.1 $
  3. # Convert .pfb fonts to .pfa format
  4.  
  5. if [ $# -eq 2 ] 
  6. then
  7.     outfile=$2
  8. elif [ $# -eq 1 ]
  9. then
  10.     outfile=`basename $1 \.pfb`.pfa
  11. else
  12.     echo "Usage: `basename $0` input.pfb [output.pfa]" 1>&2
  13.     exit 1
  14. fi
  15.  
  16. exec gs -q -dNODISPLAY -- pfbtopfa.ps $1 $outfile
  17.