/* FONTTEX EXEC
          Note: This REXX exec is used to run the FontTeX driver program.
   This exec will prompt the user for a filename if none was entered with
     the call to the exec.
*/
 
Address 'COMMAND';
Trace value 'n'
Parse Upper Arg inFn;
if inFn=' '
then do
   say 'Please enter filename of fontinfo file.'
   pull inFn .
end
state inFn 'FONTINFO *'
  if RC<>0 then do
     say inFn 'FONTINFO file not found.'
     exit
  end
'FONTTEX' inFn
'REBLOCK' inFn 'TFM';
'ERASE' inFn 'PRTFM';
exit