summaryrefslogtreecommitdiff
path: root/scripts/build-v2.py
diff options
context:
space:
mode:
authorJames Godfrey-Kittle <jamesgk@google.com>2015-02-05 16:54:16 -0800
committerJames Godfrey-Kittle <jamesgk@google.com>2015-04-16 12:16:29 -0700
commit448a6f16f8067102c41fdb1442ef556fcfb9dd49 (patch)
tree6636d36938eacf524850255108153b65d5499850 /scripts/build-v2.py
parent0f7c7c3f6b998a121b167888929f1c47669dc2dc (diff)
Reworking docs, response to revision a9dc2593ec6a
Diffstat (limited to 'scripts/build-v2.py')
-rw-r--r--scripts/build-v2.py13
1 files changed, 5 insertions, 8 deletions
diff --git a/scripts/build-v2.py b/scripts/build-v2.py
index b21a8b4..d987116 100644
--- a/scripts/build-v2.py
+++ b/scripts/build-v2.py
@@ -52,20 +52,17 @@ def condenseFont(f, scale=.8, stemWidth=185):
proj = FontProject(rg.font, BASEDIR, "res/roboto.cfg", th.ffont)
-'''
-proj.incrementBuildNumber()
-'''
+#proj.incrementBuildNumber()
# FAMILYNAME = "Roboto 2 DRAFT"
# FAMILYNAME = "Roboto2"
FAMILYNAME = "Roboto"
proj.buildOTF = True
-'''
-proj.checkOTFOutlines = True
-proj.autohintOTF = True
-proj.buildFEA = True
-'''
+#proj.checkOTFOutlines = True
+#proj.autohintOTF = True
+#proj.buildFEA = True
+
proj.generateFont(th.font,"%s/Thin/Regular/Th"%FAMILYNAME)
proj.generateFont(Mix([th,rg], 0.45),"%s/Light/Regular/Lt"%FAMILYNAME)
proj.generateFont(Mix([th,rg], RPoint(0.90, 0.92)),"%s/Regular/Regular/Rg"%FAMILYNAME)