#!/usr/bin/fontforge i=1 Open($argv[i], 1) #Use gen_flags=Defualt fmflags value as -1 gen_flags = -1 Generate("" + $fontname + ".ttf", "", gen_flags)