#! /bin/csh
# All of the UNIX steps necessary to create a .xfnt from 
# a Type 1 Postscript font saved as ASCII format.
# If the font is stored in binary encrypted format, change the
# "format" variable to -B.
# MUST be run from the ntitle/util directory...


set name	= $1
set resolution	= 0.0
set format	= -A

decoder $format $name				>  $name.dec
fromtype1 $name.dec $name.sf $resolution	>& /dev/null
conv_sf $name	 				>& /dev/null

# clean up
rm $name.sf $name.dec
