diff options
author | James Godfrey-Kittle <jamesgk@google.com> | 2015-04-16 14:29:38 -0700 |
---|---|---|
committer | jamesgk <jamesgk19@gmail.com> | 2015-04-16 14:29:38 -0700 |
commit | 3cc3e9d9a63a6c96f02d5f4eaf3adb9f986f6e54 (patch) | |
tree | 30b69eae781643c92c4575a046b9c6d87e895bb0 | |
parent | 1ae3ad301bf69908f83ede7a2bf77be6fea729c6 (diff) |
Clear base font's kerning when interpolating.
This matches the behavior of the old toolchain. The result should only contain kern rules for pairs present in both masters.
-rw-r--r-- | scripts/lib/fontbuild/mix.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/lib/fontbuild/mix.py b/scripts/lib/fontbuild/mix.py index 1a081c9..70d2e3a 100644 --- a/scripts/lib/fontbuild/mix.py +++ b/scripts/lib/fontbuild/mix.py @@ -293,6 +293,7 @@ class Mix: gF.copyToGlyph(g) except: "Nodes incompatible" + newFont.kerning.clear() newFont.kerning.update(self.mixKerns() or {}) return newFont |