summaryrefslogtreecommitdiff
path: root/scripts/lib/fontbuild/Build.py
diff options
context:
space:
mode:
authorJames Godfrey-Kittle <jamesgk@google.com>2015-03-02 10:58:18 -0800
committerJames Godfrey-Kittle <jamesgk@google.com>2015-04-16 12:16:31 -0700
commit7651e368e4abbd33b43f82874b1f5433798e2171 (patch)
tree75e5816f0b71a6f99ebbfd96ac9bb87285122054 /scripts/lib/fontbuild/Build.py
parent59f758a478d96358bb5837af20553020f3e76fa4 (diff)
Better messages/comments in build.
Don't print messages for tasks which are not currently being used.
Diffstat (limited to 'scripts/lib/fontbuild/Build.py')
-rw-r--r--scripts/lib/fontbuild/Build.py14
1 files changed, 8 insertions, 6 deletions
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):