diff options
author | James Godfrey-Kittle <jamesgk@google.com> | 2015-06-17 17:10:14 -0700 |
---|---|---|
committer | James Godfrey-Kittle <jamesgk@google.com> | 2015-06-17 17:34:36 -0700 |
commit | 946a791a86444fdf9cbee3fdd093e98e1346a793 (patch) | |
tree | 39ac09d6301d0bc9db0078440c21b8345d12943b /scripts/lib/fontbuild/kerning.py | |
parent | 3ce1b056a9dad26b32e3d7ffcf5d2299977465d4 (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.py | 2 |
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)) |