From 7651e368e4abbd33b43f82874b1f5433798e2171 Mon Sep 17 00:00:00 2001 From: James Godfrey-Kittle Date: Mon, 2 Mar 2015 10:58:18 -0800 Subject: Better messages/comments in build. Don't print messages for tasks which are not currently being used. --- scripts/lib/fontbuild/Build.py | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'scripts/lib/fontbuild/Build.py') diff --git a/scripts/lib/fontbuild/Build.py b/scripts/lib/fontbuild/Build.py index d4c9a0c..5e9c34c 100644 --- a/scripts/lib/fontbuild/Build.py +++ b/scripts/lib/fontbuild/Build.py @@ -175,6 +175,7 @@ class FontProject: otFont = fontforge.open(otfName) if self.checkOTFOutlines: + log(">> Removing overlaps") for glyphName in otFont: otFont[glyphName].removeOverlap() otFont.generate(otfName) @@ -244,18 +245,19 @@ def generateGlyphs(f, glyphNames, glyphList={}): generateGlyph(f, glyphName, glyphList) def cleanCurves(f): - #TODO(jamesgk) remove calls to removeGlyphOverlap if we decide to use AFDKO - log(">> Removing overlaps") - for g in f: - removeGlyphOverlap(g) + #TODO(jamesgk) remove calls to removeGlyphOverlap if we use FDK or FontForge + # log(">> Removing overlaps") + # for g in f: + # removeGlyphOverlap(g) - log(">> Mitring sharp corners") + # log(">> Mitring sharp corners") # for g in f: # mitreGlyph(g, 3., .7) - log(">> Converting curves to quadratic") + # log(">> Converting curves to quadratic") # for g in f: # glyphCurvesToQuadratic(g) + pass def deleteGlyphs(f, deleteList): -- cgit v1.2.3