summaryrefslogtreecommitdiff
path: root/scripts/lib/fontbuild/mkmkFeature.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/fontbuild/mkmkFeature.py')
-rwxr-xr-xscripts/lib/fontbuild/mkmkFeature.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/scripts/lib/fontbuild/mkmkFeature.py b/scripts/lib/fontbuild/mkmkFeature.py
index e2195f5..a839dae 100755
--- a/scripts/lib/fontbuild/mkmkFeature.py
+++ b/scripts/lib/fontbuild/mkmkFeature.py
@@ -1,3 +1,6 @@
+from fontbuild.features import updateFeature
+
+
def CreateAccNameList(font, acc_anchor_name):
lst = []
for g in font:
@@ -56,6 +59,4 @@ def GenerateFeature_mkmk(font):
text += "} mkmk;\n"
- if "mkmk" not in font.features.tags:
- font.features.tags.append("mkmk")
- font.features.values["mkmk"] = text
+ updateFeature(font, "mkmk", text)