1 #!/usr/local/bin/fontforge
2 # Usage: [fontforge -script] generate-otf.ff SOURCEFILE [FEATUREFILE ...] OTFFILE
14 # Set unique ID in TTF name table
18 DATE = Strftime("%Y%m%d")
20 SetTTFName(TTF_LANG_US, TTF_NAME_UNIQUEID, $fullname + " " + $fontversion + " " + DATE)
24 FLAG_OLDKERN = 0x800 # Include old fashioned kern tables for legacy applications
26 Generate($1, "", FLAG_OLDKERN)