summaryrefslogtreecommitdiff
path: root/scripts/lib
diff options
context:
space:
mode:
authorJames Godfrey-Kittle <jamesgk@google.com>2015-05-12 14:02:21 -0700
committerjamesgk <jamesgk19@gmail.com>2015-05-12 14:02:21 -0700
commit6d3a657a5f0b15ac23e877acc68828b69e9b8881 (patch)
treedc08ce5740d465fdc18b9bc34086726c2cdf629c /scripts/lib
parent1166ac800c164d285208254c9e8128c7b226b7f3 (diff)
Copy kerning info when copying FFonts.
This affects the creation of condensed masters, without it they had no kerning info.
Diffstat (limited to 'scripts/lib')
-rw-r--r--scripts/lib/fontbuild/mix.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/lib/fontbuild/mix.py b/scripts/lib/fontbuild/mix.py
index 7123213..ef190ef 100644
--- a/scripts/lib/fontbuild/mix.py
+++ b/scripts/lib/fontbuild/mix.py
@@ -35,6 +35,7 @@ class FFont:
self.glyphs[key] = g.copy()
self.hstems = list(f.hstems)
self.vstems = list(f.vstems)
+ self.kerning = dict(f.kerning)
elif f != None:
self.copyFromFont(f)