Add more glyphs to test group to prove order is preserved
This commit is contained in:
parent
6f72429150
commit
0e04e039cf
@ -4197,9 +4197,9 @@ class UFO3ReadDataTestCase(unittest.TestCase):
|
||||
# Kerning group duplicates are removed
|
||||
expected_groups = {
|
||||
"group1" : ["A"],
|
||||
"group2" : ["B", "B"],
|
||||
"group2" : ["B", "C", "B"],
|
||||
"public.kern1.A" : ["A"],
|
||||
"public.kern2.B" : ["B"],
|
||||
"public.kern2.B" : ["B", "A", "C"],
|
||||
}
|
||||
reader = UFOReader(self.getFontPath())
|
||||
groups = reader.readGroups()
|
||||
|
@ -9,6 +9,7 @@
|
||||
<key>group2</key>
|
||||
<array>
|
||||
<string>B</string>
|
||||
<string>C</string>
|
||||
<string>B</string>
|
||||
</array>
|
||||
<key>public.kern1.A</key>
|
||||
@ -18,7 +19,10 @@
|
||||
<key>public.kern2.B</key>
|
||||
<array>
|
||||
<string>B</string>
|
||||
<string>A</string>
|
||||
<string>B</string>
|
||||
<string>A</string>
|
||||
<string>C</string>
|
||||
</array>
|
||||
</dict>
|
||||
</plist>
|
||||
|
Loading…
x
Reference in New Issue
Block a user