Skip to content

Commit 21db903

Browse files
committed
Update test data for fonttools splitCubicAtT fix
fonttools improved splitCubicAtT to ensure the first segment starts exactly at pt1 and the last segment ends exactly at pt4, eliminating floating point drift (e.g. 250.00000000000003 -> 250.0). Regenerated expected output for Q and QTail_reversed glyphs across all boolean operation layers (union, difference, intersection, xor).
1 parent c83d3bc commit 21db903

8 files changed

Lines changed: 13 additions & 13 deletions

File tree

tests/testData/test.ufo/glyphs.difference/Q_.glif

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<point x="316.25401306152344" y="115.74598693847656" type="line"/>
1717
<point x="296.205190429384" y="105.674005342992"/>
1818
<point x="273.686684" y="100.0"/>
19-
<point x="250.00000000000003" y="100.0" type="curve" smooth="yes"/>
19+
<point x="250.0" y="100.0" type="curve" smooth="yes"/>
2020
<point x="168.0" y="100.0"/>
2121
<point x="100.0" y="168.0"/>
2222
<point x="100.0" y="250.0" type="curve" smooth="yes"/>
@@ -32,7 +32,7 @@
3232
<point x="455.01900482177734" y="106.98099517822266" type="line"/>
3333
<point x="483.36549467244805" y="147.495045593896"/>
3434
<point x="500.00000000000006" y="196.816732"/>
35-
<point x="500.0" y="249.99999999999997" type="curve" smooth="yes"/>
35+
<point x="500.0" y="250.0" type="curve" smooth="yes"/>
3636
<point x="500.0" y="388.0"/>
3737
<point x="388.0" y="500.0"/>
3838
<point x="250.0" y="500.0" type="curve" smooth="yes"/>

tests/testData/test.ufo/glyphs.difference/Q_T_ail_reversed.glif

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<point x="316.26061248779297" y="115.73938751220703" type="line"/>
1717
<point x="296.210179594696" y="105.675262540048"/>
1818
<point x="273.689308" y="100.0"/>
19-
<point x="249.99999999999997" y="100.0" type="curve" smooth="yes"/>
19+
<point x="250.0" y="100.0" type="curve" smooth="yes"/>
2020
<point x="168.0" y="100.0"/>
2121
<point x="100.0" y="168.0"/>
2222
<point x="100.0" y="250.0" type="curve" smooth="yes"/>
@@ -32,7 +32,7 @@
3232
<point x="455.01900482177734" y="106.98099517822266" type="line"/>
3333
<point x="483.36549467244805" y="147.495045593896"/>
3434
<point x="500.00000000000006" y="196.816732"/>
35-
<point x="500.0" y="249.99999999999997" type="curve" smooth="yes"/>
35+
<point x="500.0" y="250.0" type="curve" smooth="yes"/>
3636
<point x="500.0" y="388.0"/>
3737
<point x="388.0" y="500.0"/>
3838
<point x="250.0" y="500.0" type="curve" smooth="yes"/>

tests/testData/test.ufo/glyphs.intersection/Q_.glif

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<point x="382.20357513427734" y="179.79642486572266" type="line"/>
2121
<point x="393.540909595132" y="200.78517673041398"/>
2222
<point x="400.0" y="224.727682"/>
23-
<point x="400.00000000000006" y="250.0" type="curve" smooth="yes"/>
23+
<point x="400.0" y="250.0" type="curve" smooth="yes"/>
2424
<point x="400.0" y="332.0"/>
2525
<point x="332.0" y="400.0"/>
2626
<point x="250.0" y="400.0" type="curve" smooth="yes"/>

tests/testData/test.ufo/glyphs.intersection/Q_T_ail_reversed.glif

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<point x="382.20421600341797" y="179.79578399658203" type="line"/>
2121
<point x="393.541161083068" y="200.78610895348598"/>
2222
<point x="400.0" y="224.72817399999997"/>
23-
<point x="400.0" y="249.99999999999997" type="curve" smooth="yes"/>
23+
<point x="400.0" y="250.0" type="curve" smooth="yes"/>
2424
<point x="400.0" y="332.0"/>
2525
<point x="332.0" y="400.0"/>
2626
<point x="250.0" y="400.0" type="curve" smooth="yes"/>

tests/testData/test.ufo/glyphs.union/Q_.glif

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<point x="455.01900482177734" y="106.98099517822266" type="line"/>
1313
<point x="483.36549467244805" y="147.495045593896"/>
1414
<point x="500.00000000000006" y="196.816732"/>
15-
<point x="500.0" y="249.99999999999997" type="curve" smooth="yes"/>
15+
<point x="500.0" y="250.0" type="curve" smooth="yes"/>
1616
<point x="500.0" y="388.0"/>
1717
<point x="388.0" y="500.0"/>
1818
<point x="250.0" y="500.0" type="curve" smooth="yes"/>
@@ -23,7 +23,7 @@
2323
<point x="112.0" y="0.0"/>
2424
</contour>
2525
<contour>
26-
<point x="250.00000000000003" y="100.0" type="curve" smooth="yes"/>
26+
<point x="250.0" y="100.0" type="curve" smooth="yes"/>
2727
<point x="168.0" y="100.0"/>
2828
<point x="100.0" y="168.0"/>
2929
<point x="100.0" y="250.0" type="curve" smooth="yes"/>

tests/testData/test.ufo/glyphs.union/Q_T_ail_reversed.glif

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<point x="455.01900482177734" y="106.98099517822266" type="line"/>
2121
<point x="483.36549467244805" y="147.495045593896"/>
2222
<point x="500.00000000000006" y="196.816732"/>
23-
<point x="500.0" y="249.99999999999997" type="curve" smooth="yes"/>
23+
<point x="500.0" y="250.0" type="curve" smooth="yes"/>
2424
<point x="500.0" y="388.0"/>
2525
<point x="388.0" y="500.0"/>
2626
<point x="250.0" y="500.0" type="curve" smooth="yes"/>

tests/testData/test.ufo/glyphs.xor/Q_.glif

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<point x="316.25401306152344" y="115.74598693847656" type="line"/>
1717
<point x="296.205190429384" y="105.674005342992"/>
1818
<point x="273.686684" y="100.0"/>
19-
<point x="250.00000000000003" y="100.0" type="curve" smooth="yes"/>
19+
<point x="250.0" y="100.0" type="curve" smooth="yes"/>
2020
<point x="168.0" y="100.0"/>
2121
<point x="100.0" y="168.0"/>
2222
<point x="100.0" y="250.0" type="curve" smooth="yes"/>
@@ -38,7 +38,7 @@
3838
<point x="455.01900482177734" y="106.98099517822266" type="line"/>
3939
<point x="483.36549467244805" y="147.495045593896"/>
4040
<point x="500.00000000000006" y="196.816732"/>
41-
<point x="500.0" y="249.99999999999997" type="curve" smooth="yes"/>
41+
<point x="500.0" y="250.0" type="curve" smooth="yes"/>
4242
<point x="500.0" y="388.0"/>
4343
<point x="388.0" y="500.0"/>
4444
<point x="250.0" y="500.0" type="curve" smooth="yes"/>

tests/testData/test.ufo/glyphs.xor/Q_T_ail_reversed.glif

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<point x="316.26061248779297" y="115.73938751220703" type="line"/>
1717
<point x="296.210179594696" y="105.675262540048"/>
1818
<point x="273.689308" y="100.0"/>
19-
<point x="249.99999999999997" y="100.0" type="curve" smooth="yes"/>
19+
<point x="250.0" y="100.0" type="curve" smooth="yes"/>
2020
<point x="168.0" y="100.0"/>
2121
<point x="100.0" y="168.0"/>
2222
<point x="100.0" y="250.0" type="curve" smooth="yes"/>
@@ -38,7 +38,7 @@
3838
<point x="455.01900482177734" y="106.98099517822266" type="line"/>
3939
<point x="483.36549467244805" y="147.495045593896"/>
4040
<point x="500.00000000000006" y="196.816732"/>
41-
<point x="500.0" y="249.99999999999997" type="curve" smooth="yes"/>
41+
<point x="500.0" y="250.0" type="curve" smooth="yes"/>
4242
<point x="500.0" y="388.0"/>
4343
<point x="388.0" y="500.0"/>
4444
<point x="250.0" y="500.0" type="curve" smooth="yes"/>

0 commit comments

Comments
 (0)