Merge pull request #54 from googlei18n/var-rename

[minor] rename variable
This commit is contained in:
James Godfrey-Kittle 2016-10-20 11:36:50 -07:00 committed by GitHub
commit 0c579c2c3f

View File

@ -228,13 +228,13 @@ def fonts_to_quadratic(
modified = False
for name in set().union(*(f.keys() for f in fonts)):
glyphs = []
my_errors = []
cur_max_errors = []
for font, error in zip(fonts, max_errors):
if name in font:
glyphs.append(font[name])
my_errors.append(error)
cur_max_errors.append(error)
modified |= _glyphs_to_quadratic(
glyphs, my_errors, reverse_direction, stats)
glyphs, cur_max_errors, reverse_direction, stats)
if modified and dump_stats:
spline_lengths = sorted(stats.keys())