File tree Expand file tree Collapse file tree 3 files changed +18
-31
lines changed
Expand file tree Collapse file tree 3 files changed +18
-31
lines changed Original file line number Diff line number Diff line change @@ -8,17 +8,13 @@ start transform 1 0 0 1 0 0
88 end clip
99 end transform
1010 push group
11- start transform 1 0 0 1 500 500
12- start transform 1 0.268 - 0 1 0 0
13- start transform 1 0 0 1 -500 -500
11+ start transform 1 0.268 0 1 0 -134
12+ start transform 1 0 0 1 0 0
13+ start clip glyph 3
1414 start transform 1 0 0 1 0 0
15- start clip glyph 3
16- start transform 1 0 0 1 0 0
17- solid 255 165 0 178
18- end transform
19- end clip
15+ solid 255 165 0 178
2016 end transform
21- end transform
17+ end clip
2218 end transform
2319 end transform
2420 pop group mode 4
Original file line number Diff line number Diff line change @@ -8,31 +8,23 @@ start clip rectangle 0 0 1e+03 1e+03
88 end clip
99 end transform
1010 push group
11- start transform 1 0 0 1 333 667
12- start transform 0.5 0 0 0.5 0 0
13- start transform 1 0 0 1 -333 -667
11+ start transform 0.5 0 0 0.5 166 334
12+ start transform 1 0 0 1 0 0
13+ start clip glyph 2
1414 start transform 1 0 0 1 0 0
15- start clip glyph 2
16- start transform 1 0 0 1 0 0
17- solid 255 220 1 255
18- end transform
19- end clip
15+ solid 255 220 1 255
2016 end transform
21- end transform
17+ end clip
2218 end transform
2319 end transform
2420 push group
25- start transform 1 0 0 1 667 333
26- start transform 0.5 0 0 0.5 0 0
27- start transform 1 0 0 1 -667 -333
21+ start transform 0.5 0 0 0.5 334 166
22+ start transform 1 0 0 1 0 0
23+ start clip glyph 2
2824 start transform 1 0 0 1 0 0
29- start clip glyph 2
30- start transform 1 0 0 1 0 0
31- solid 104 199 232 255
32- end transform
33- end clip
25+ solid 104 199 232 255
3426 end transform
35- end transform
27+ end clip
3628 end transform
3729 end transform
3830 pop group mode 3
Original file line number Diff line number Diff line change @@ -833,7 +833,7 @@ def test_get_nominal_glyph(self, blankfont):
833833
834834 def test_get_var_coords_normalized (self , mutatorsans ):
835835 coords = mutatorsans .get_var_coords_normalized ()
836- assert coords == []
836+ assert coords == [0 , 0 ]
837837 mutatorsans .set_variations ({"wght" : 500 })
838838 coords = mutatorsans .get_var_coords_normalized ()
839839 assert coords == [0 , 0.5 ]
@@ -850,10 +850,9 @@ def test_set_var_coords_normalized(self, mutatorsans):
850850 coords = mutatorsans .get_var_coords_normalized ()
851851 assert expected_coords == coords
852852
853- expected_coords = [0.5 ]
854- mutatorsans .set_var_coords_normalized (expected_coords )
853+ mutatorsans .set_var_coords_normalized ([0.5 ])
855854 coords = mutatorsans .get_var_coords_normalized ()
856- assert expected_coords == coords
855+ assert [ 0.5 , 0 ] == coords
857856
858857 with pytest .raises (TypeError ):
859858 mutatorsans .set_var_coords_normalized (["a" ])
You can’t perform that action at this time.
0 commit comments