summaryrefslogtreecommitdiff
path: root/scripts/lib/fontbuild/kerning.py
diff options
context:
space:
mode:
authorJames Godfrey-Kittle <jamesgk@google.com>2015-06-17 17:10:14 -0700
committerJames Godfrey-Kittle <jamesgk@google.com>2015-06-17 17:34:36 -0700
commit946a791a86444fdf9cbee3fdd093e98e1346a793 (patch)
tree39ac09d6301d0bc9db0078440c21b8345d12943b /scripts/lib/fontbuild/kerning.py
parent3ce1b056a9dad26b32e3d7ffcf5d2299977465d4 (diff)
Insert kerning subtables more aggressively.
Updated glyphs require more kerning subtable breaks to avoid crashing makeotf. The subtable sizes are still decided somewhat arbitrarily based on trial-and-error.
Diffstat (limited to 'scripts/lib/fontbuild/kerning.py')
-rw-r--r--scripts/lib/fontbuild/kerning.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/fontbuild/kerning.py b/scripts/lib/fontbuild/kerning.py
index 302c330..c93e303 100644
--- a/scripts/lib/fontbuild/kerning.py
+++ b/scripts/lib/fontbuild/kerning.py
@@ -85,7 +85,7 @@ class KernFeatureWriter(AbstractFeatureWriter):
else:
rulesAdded = 1
self.ruleCount += rulesAdded
- if self.ruleCount > 2048:
+ if self.ruleCount > 1024:
lines.append(" subtable;")
self.ruleCount = rulesAdded
lines.append(" %spos %s %s %d;" % (enum, left, right, val))