Work through the pairs in a reliable order.

This commit is contained in:
Tal Leming 2016-03-28 07:19:21 -04:00
parent 44474ee8e5
commit e193b72ff3

View File

@ -931,7 +931,7 @@ def kerningValidatorReportPairs(kerning, groups):
# search for conflicts
errors = []
pairs = []
for first, second in kerning.keys():
for first, second in sorted(kerning.keys()):
firstIsGroup = first.startswith("public.kern1.")
secondIsGroup = second.startswith("public.kern2.")
# skip anything other than glyph + group and group + glyph