def saveOTF(font, destFile, glyphOrder, truetype=False):
 if truetype:
  compiler = compileTTF
 else:
  compiler = compileOTF
 otf = compiler(font, featureCompilerClass=RobotoFeatureCompiler, kernWriter=RobotoKernWriter, glyphOrder=glyphOrder, useProductionNames=False)
 otf.save(destFile)

def saveOTF ( font , destFile , glyphOrder , truetype = False ) : if truetype : compiler = compileTTF else : compiler = compileOTF otf = compiler ( font , featureCompilerClass = RobotoFeatureCompiler , kernWriter = RobotoKernWriter , glyphOrder = glyphOrder , useProductionNames = False ) otf . save ( destFile )
save a robofab font as an otf binary using ufo2fdk .