#!/bin/sh
#
# This script will convert all PFA and AFM files in the current directory
# and its subdirectories into PFB and TFM files.
#
# The programs afm2tfm and t1binary must be in the path.

for file in `find . -name '*.afm' -print`; do
  afm2tfm $file
done

for file in `find . -name '*.pfa' -print`; do
  new_file=`basename $file .pfa`.pfb
  t1binary $file $new_file
done
