#!/usr/bin/fontforge # # Convert fonts from PfaEdit's native format to OpenType format if ($argc > 1) i = 1; while ( i < $argc ) Open($argv[i]) otfile = $fontname + ".otf" Print("Converting ",otfile) Generate(otfile) Close() i++ endloop else Print("Usage: $0 font.sfd [font.sfd ...]") endif