summaryrefslogtreecommitdiff
path: root/scripts/build-v2.py
diff options
context:
space:
mode:
authorJames Godfrey-Kittle <jamesgk@google.com>2015-04-20 17:23:48 -0700
committerjamesgk <jamesgk19@gmail.com>2015-04-20 17:28:37 -0700
commit2c8a3b194e13773a824d13ee48a958761fe085c0 (patch)
tree86d3f7e0f8eb906146625a951e37a4c9373fb0b4 /scripts/build-v2.py
parent4d7c8b8da3b2d69b5dfdef13fcb17736c7f79a88 (diff)
Re-add dropped anchors to glyphs during build.
This is a temporary workaround until VFB to UFO conversion is fixed.
Diffstat (limited to 'scripts/build-v2.py')
-rw-r--r--scripts/build-v2.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/scripts/build-v2.py b/scripts/build-v2.py
index a861a76..61c7cbb 100644
--- a/scripts/build-v2.py
+++ b/scripts/build-v2.py
@@ -31,9 +31,12 @@ BASEDIR = os.path.abspath(
# Masters
-rg = Master("%s/src/v2/Roboto_Regular.ufo" % BASEDIR)
-bd = Master("%s/src/v2/Roboto_Bold.ufo" % BASEDIR)
-th = Master("%s/src/v2/Roboto_Thin.ufo" % BASEDIR)
+rg = Master("%s/src/v2/Roboto_Regular.ufo" % BASEDIR,
+ anchorPath="%s/res/anchors_regular.txt" % BASEDIR)
+bd = Master("%s/src/v2/Roboto_Bold.ufo" % BASEDIR,
+ anchorPath="%s/res/anchors_bold.txt" % BASEDIR)
+th = Master("%s/src/v2/Roboto_Thin.ufo" % BASEDIR,
+ anchorPath="%s/res/anchors_thin.txt" % BASEDIR)
# build condensed masters