Tested with fontforge-cygwin_2012_08_02.zip on Windows 7.
if not exist "cygwin\etc\passwd" ( mkpasswd > "cygwin\etc\passwd" ) if not exist "cygwin\etc\group" ( mkgroup > "cygwin\etc\group" )
With:
if not exist "cygwin\etc\passwd" ( mkpasswd -l > "cygwin\etc\passwd" ) if not exist "cygwin\etc\group" ( mkgroup -l > "cygwin\etc\group" )
This is to prevent the passwd and group files from being filled with all Active Directory accounts and groups.
#!/usr/local/bin/fontforge Print("Opening "+$1); Open($1); Print("Saving "+$1:r+".ttf"); Generate($1:r+".ttf"); Quit(0);
fontforge.exe -script otf2ttf.txt font.otf