diff options
Diffstat (limited to 'scripts/lib/fontbuild/kerning.py')
-rw-r--r-- | scripts/lib/fontbuild/kerning.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/scripts/lib/fontbuild/kerning.py b/scripts/lib/fontbuild/kerning.py index 01aac2a..302c330 100644 --- a/scripts/lib/fontbuild/kerning.py +++ b/scripts/lib/fontbuild/kerning.py @@ -43,22 +43,22 @@ class KernFeatureWriter(AbstractFeatureWriter): for rightName, rightContents in self.rightClasses: rightKey = rightContents[0] pair = leftKey, rightKey - val = self.kerning[pair] - if val is None: + kerningVal = self.kerning[pair] + if kerningVal is None: continue - classPairKerning[leftName, rightName] = val + classPairKerning[leftName, rightName] = kerningVal self.kerning.remove(pair) # collect rules with left class and right glyph - for pair, val in self.kerning.getLeft(leftKey): - leftClassKerning[leftName, pair[1]] = val + for pair, kerningVal in self.kerning.getLeft(leftKey): + leftClassKerning[leftName, pair[1]] = kerningVal self.kerning.remove(pair) # collect rules with left glyph and right class for rightName, rightContents in self.rightClasses: rightKey = rightContents[0] - for pair, val in self.kerning.getRight(rightKey): - rightClassKerning[pair[0], rightName] = val + for pair, kerningVal in self.kerning.getRight(rightKey): + rightClassKerning[pair[0], rightName] = kerningVal self.kerning.remove(pair) # write the feature |