From 3df2b8ab73087a63b0e95b235ed25a3dc9fe38cf Mon Sep 17 00:00:00 2001 From: Nikolaus Waxweiler Date: Fri, 24 May 2024 14:37:03 +0100 Subject: [PATCH] Sort kerning pairs --- Lib/ufo2ft/featureWriters/kernFeatureWriter2.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/ufo2ft/featureWriters/kernFeatureWriter2.py b/Lib/ufo2ft/featureWriters/kernFeatureWriter2.py index deb92ec4..de4eb663 100644 --- a/Lib/ufo2ft/featureWriters/kernFeatureWriter2.py +++ b/Lib/ufo2ft/featureWriters/kernFeatureWriter2.py @@ -251,6 +251,7 @@ def getKerningPairs(font, side1Classes, side2Classes, glyphSet=None, options=Non glyphSet or {}, options or SimpleNamespace(**KernFeatureWriter.options), ) + pairs.sort() side1toClass: Mapping[tuple[str, ...], ast.GlyphClassDefinition] = { tuple( glyph