diff options
Diffstat (limited to 'scripts/lib/fontbuild/saveOTF.py')
-rw-r--r-- | scripts/lib/fontbuild/saveOTF.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/scripts/lib/fontbuild/saveOTF.py b/scripts/lib/fontbuild/saveOTF.py index d150f51..3f03127 100644 --- a/scripts/lib/fontbuild/saveOTF.py +++ b/scripts/lib/fontbuild/saveOTF.py @@ -6,15 +6,12 @@ from ufo2fdk.makeotfParts import MakeOTFPartsCompiler from ufo2fdk.outlineOTF import OutlineOTFCompiler -def saveOTF(font, destFile, checkOutlines=False, autohint=False): +def saveOTF(font, destFile, autohint=False): """Save a RoboFab font as an OTF binary using ufo2fdk.""" compiler = OTFCompiler(partsCompilerClass=_PartsCompilerCustomGlyphOrder, outlineCompilerClass=_OutlineCompilerFormat12) - reports = compiler.compile(font, destFile, checkOutlines=checkOutlines, - autohint=autohint) - if checkOutlines: - print reports["checkOutlines"] + reports = compiler.compile(font, destFile, autohint=autohint) if autohint: print reports["autohint"] print reports["makeotf"] |