summaryrefslogtreecommitdiff
path: root/scripts/build-v2.py
diff options
context:
space:
mode:
authorJames Godfrey-Kittle <jamesgk@google.com>2015-02-12 10:28:09 -0800
committerJames Godfrey-Kittle <jamesgk@google.com>2015-04-16 12:16:29 -0700
commitb07c28c166c41252047cfbbb44525bb9bd834c93 (patch)
tree3df1c2b392d1e4143e720d57bd3d0d3b08fda586 /scripts/build-v2.py
parent9850fe60b4e87471e3c30ef6c1a07d66a9dfcc16 (diff)
Add conversion to TTF.
We convert from OTF to TTF using the fontforge python module. If time permits we may want to create our own tool to convert straight from UFO to TTF.
Diffstat (limited to 'scripts/build-v2.py')
-rw-r--r--scripts/build-v2.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/build-v2.py b/scripts/build-v2.py
index d987116..c232ad3 100644
--- a/scripts/build-v2.py
+++ b/scripts/build-v2.py
@@ -61,7 +61,8 @@ FAMILYNAME = "Roboto"
proj.buildOTF = True
#proj.checkOTFOutlines = True
#proj.autohintOTF = True
-#proj.buildFEA = True
+proj.buildTTF = 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)