A shell script that can use other command line tools to produce @font-face compatible fonts in all browsers. Works under Windows (using Cygwin), Mac OS X and Linux
#.. If this is an OTF Font, then convert it to TTF. if [ "$IS_OTF" = "0" ] then if [ ! -f $FIL E_STUB.ttf ] then toTTF $NEW_FILE fi NEW_FILE="$FILE_STUB.ttf" fi
The space in if [ ! -f $FILE_STUB.ttf ] should be removed.
#.. If this is an OTF Font, then convert it to TTF. if [ "$IS_OTF" = "0" ] then if [ ! -f $FIL E_STUB.ttf ] then toTTF $NEW_FILE fi NEW_FILE="$FILE_STUB.ttf" fi
The space in
if [ ! -f $FILE_STUB.ttf ]
should be removed.