summaryrefslogtreecommitdiff
path: root/scripts/lib/fontbuild/Build.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/fontbuild/Build.py')
-rw-r--r--scripts/lib/fontbuild/Build.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/scripts/lib/fontbuild/Build.py b/scripts/lib/fontbuild/Build.py
index fcdb3c1..5c6ffca 100644
--- a/scripts/lib/fontbuild/Build.py
+++ b/scripts/lib/fontbuild/Build.py
@@ -157,6 +157,8 @@ class FontProject:
readFeatureFile(f, self.ot_kerningclasses)
log(">> Generating font files")
+ GenerateFeature_mark(f)
+ GenerateFeature_mkmk(f)
ufoName = self.generateOutputPath(f, "ufo")
f.save(ufoName)
@@ -172,12 +174,6 @@ class FontProject:
otFont = fontforge.open(otfName)
otFont.generate(self.generateOutputPath(f, "ttf"))
- if self.buildFEA:
- log(">> Generating FEA files")
- GenerateFeature_mark(f)
- GenerateFeature_mkmk(f)
- writeFeatureFile(f, self.generateOutputPath(f, "fea"))
-
def transformGlyphMembers(g, m):
g.width = int(g.width * m.a)