Minor
This commit is contained in:
parent
36adb92f58
commit
a0019a3e75
@ -618,7 +618,7 @@ class ClassDefBuilder(object):
|
||||
# we should determine the encoded size. If the glyphs in a large
|
||||
# class form a contiguous range, the encoding is actually quite
|
||||
# compact, whereas a non-contiguous set might need a lot of bytes
|
||||
# in the output file. We don't get this right with key=len below.
|
||||
# in the output file. We don't get this right with the key below.
|
||||
result = sorted(self.classes_, key=lambda s: (len(s), s), reverse=True)
|
||||
if not self.useClass0_:
|
||||
result.insert(0, frozenset())
|
||||
|
Loading…
x
Reference in New Issue
Block a user