Skip to content

Commit

Permalink
chore(deps): upgrade skia to m116
Browse files Browse the repository at this point in the history
  • Loading branch information
nieyuyao authored and Brooooooklyn committed Aug 1, 2023
1 parent 968e501 commit c8c99dc
Show file tree
Hide file tree
Showing 11 changed files with 50 additions and 30 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[submodule "skia"]
path = skia
url = https://github.com/google/skia.git
branch = chrome/m89
branch = chrome/m116
[submodule "depot_tools"]
path = depot_tools
url = https://github.com/rust-skia/depot_tools.git
4 changes: 2 additions & 2 deletions __test__/pathkit.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ test('Convert stroke to path 2', (t) => {
path.stroke({ width: 10, join: StrokeJoin.Round, miterLimit: 1 }).simplify()

const svg = `<svg width="45" height="28" viewBox="0 0 45 28"><path fill="pink" d="${path.toSVGString()}"></path></svg>`
const expected = `<svg width="45" height="28" viewBox="0 0 45 28"><path fill="pink" d="M18.9645 1.46447L0.464466 19.9645L7.53553 27.0355L22.5 12.0711L37.4645 27.0355L44.5355 19.9645L26.0355 1.46447Q25.9487 1.37767 25.8578 1.29524Q25.7668 1.21282 25.672 1.13495Q25.5771 1.05708 25.4785 0.983962Q25.3799 0.910844 25.2778 0.842652Q25.1758 0.774459 25.0705 0.711357Q24.9652 0.648254 24.857 0.590394Q24.7487 0.532533 24.6378 0.480054Q24.5268 0.427574 24.4134 0.380602Q24.3 0.333631 24.1844 0.29228Q24.0689 0.250929 23.9514 0.215298Q23.834 0.179668 23.7149 0.149844Q23.5958 0.12002 23.4755 0.0960736Q23.3551 0.0721276 23.2337 0.0541174Q23.1122 0.0361073 22.9901 0.0240764Q22.8679 0.0120454 22.7453 0.00602272Q22.6227 0 22.5 0Q22.3773 0 22.2547 0.00602272Q22.1321 0.0120454 22.0099 0.0240764Q21.8878 0.0361073 21.7663 0.0541174Q21.6449 0.0721276 21.5245 0.0960736Q21.4042 0.12002 21.2851 0.149844Q21.166 0.179668 21.0486 0.215298Q20.9311 0.250929 20.8155 0.29228Q20.7 0.333631 20.5866 0.380602Q20.4732 0.427574 20.3622 0.480054Q20.2513 0.532533 20.143 0.590394Q20.0348 0.648254 19.9295 0.711357Q19.8242 0.774459 19.7221 0.842652Q19.6201 0.910844 19.5215 0.983962Q19.4229 1.05708 19.328 1.13495Q19.2332 1.21282 19.1422 1.29524Q19.0513 1.37767 18.9645 1.46447Z"></path></svg>`
const expected = `<svg width="45" height="28" viewBox="0 0 45 28"><path fill="pink" d="M18.9645 1.46447L0.464466 19.9645L7.53553 27.0355L22.5 12.0711L37.4645 27.0355L44.5355 19.9645L26.0355 1.46447Q25.9487 1.37767 25.8578 1.29524Q25.7668 1.21282 25.672 1.13495Q25.5771 1.05708 25.4785 0.983962Q25.3799 0.910844 25.2778 0.842652Q25.1758 0.774459 25.0705 0.711357Q24.9652 0.648254 24.857 0.590394Q24.7487 0.532533 24.6378 0.480053Q24.5268 0.427574 24.4134 0.380602Q24.3 0.333631 24.1844 0.29228Q24.0689 0.250929 23.9514 0.215298Q23.834 0.179668 23.7149 0.149844Q23.5958 0.12002 23.4754 0.0960736Q23.3551 0.0721276 23.2337 0.0541174Q23.1122 0.0361073 22.9901 0.0240764Q22.8679 0.0120454 22.7453 0.00602272Q22.6227 0 22.5 0Q22.3773 0 22.2547 0.00602272Q22.1321 0.0120454 22.0099 0.0240764Q21.8878 0.0361073 21.7663 0.0541174Q21.6449 0.0721276 21.5245 0.0960736Q21.4042 0.12002 21.2851 0.149844Q21.166 0.179668 21.0486 0.215298Q20.9311 0.250929 20.8155 0.29228Q20.7 0.333631 20.5866 0.380602Q20.4732 0.427574 20.3622 0.480053Q20.2513 0.532533 20.143 0.590394Q20.0348 0.648254 19.9295 0.711357Q19.8242 0.774459 19.7221 0.842652Q19.6201 0.910844 19.5215 0.983962Q19.4229 1.05708 19.328 1.13495Q19.2332 1.21282 19.1422 1.29524Q19.0513 1.37767 18.9645 1.46447Z"></path></svg>`
t.is(svg, expected)
})

Expand Down Expand Up @@ -213,7 +213,7 @@ test('StrokeJoin.Round', (t) => {

t.is(
box.toSVGString(),
'M-10 100L-10 0Q-10 -0.245486 -9.98795 -0.490677Q-9.97591 -0.735867 -9.95185 -0.980171Q-9.92778 -1.22448 -9.89176 -1.4673Q-9.85574 -1.71013 -9.80785 -1.9509Q-9.75996 -2.19167 -9.70031 -2.4298Q-9.64066 -2.66793 -9.5694 -2.90285Q-9.49814 -3.13776 -9.41544 -3.3689Q-9.33274 -3.60003 -9.23879 -3.82683Q-9.14485 -4.05363 -9.03989 -4.27555Q-8.93493 -4.49747 -8.81921 -4.71397Q-8.70349 -4.93047 -8.57729 -5.14103Q-8.45108 -5.35159 -8.31469 -5.5557Q-8.17831 -5.75982 -8.03207 -5.95699Q-7.88584 -6.15417 -7.7301 -6.34393Q-7.57437 -6.5337 -7.40951 -6.71559Q-7.24465 -6.89748 -7.07107 -7.07107Q-6.89748 -7.24465 -6.71559 -7.40951Q-6.5337 -7.57437 -6.34393 -7.7301Q-6.15417 -7.88584 -5.95699 -8.03207Q-5.75982 -8.17831 -5.5557 -8.3147Q-5.35159 -8.45108 -5.14103 -8.57729Q-4.93047 -8.70349 -4.71397 -8.81921Q-4.49747 -8.93493 -4.27555 -9.03989Q-4.05363 -9.14485 -3.82683 -9.23879Q-3.60003 -9.33274 -3.3689 -9.41544Q-3.13776 -9.49814 -2.90285 -9.5694Q-2.66793 -9.64066 -2.4298 -9.70031Q-2.19167 -9.75996 -1.9509 -9.80785Q-1.71013 -9.85574 -1.4673 -9.89176Q-1.22448 -9.92778 -0.980171 -9.95185Q-0.735867 -9.97591 -0.490677 -9.98795Q-0.245486 -10 0 -10L100 -10Q100.245 -10 100.491 -9.98795Q100.736 -9.97591 100.98 -9.95185Q101.224 -9.92778 101.467 -9.89176Q101.71 -9.85574 101.951 -9.80785Q102.192 -9.75996 102.43 -9.70031Q102.668 -9.64066 102.903 -9.5694Q103.138 -9.49814 103.369 -9.41544Q103.6 -9.33274 103.827 -9.23879Q104.054 -9.14485 104.276 -9.03989Q104.497 -8.93493 104.714 -8.81921Q104.93 -8.70349 105.141 -8.57729Q105.352 -8.45108 105.556 -8.31469Q105.76 -8.17831 105.957 -8.03207Q106.154 -7.88584 106.344 -7.7301Q106.534 -7.57437 106.716 -7.40951Q106.897 -7.24465 107.071 -7.07107Q107.245 -6.89748 107.41 -6.71559Q107.574 -6.5337 107.73 -6.34393Q107.886 -6.15417 108.032 -5.95699Q108.178 -5.75982 108.315 -5.5557Q108.451 -5.35159 108.577 -5.14103Q108.703 -4.93047 108.819 -4.71397Q108.935 -4.49747 109.04 -4.27555Q109.145 -4.05363 109.239 -3.82683Q109.333 -3.60003 109.415 -3.3689Q109.498 -3.13776 109.569 -2.90285Q109.641 -2.66793 109.7 -2.4298Q109.76 -2.19167 109.808 -1.9509Q109.856 -1.71013 109.892 -1.4673Q109.928 -1.22448 109.952 -0.980171Q109.976 -0.735867 109.988 -0.490677Q110 -0.245486 110 0L110 100Q110 100.245 109.988 100.491Q109.976 100.736 109.952 100.98Q109.928 101.224 109.892 101.467Q109.856 101.71 109.808 101.951Q109.76 102.192 109.7 102.43Q109.641 102.668 109.569 102.903Q109.498 103.138 109.415 103.369Q109.333 103.6 109.239 103.827Q109.145 104.054 109.04 104.276Q108.935 104.497 108.819 104.714Q108.703 104.93 108.577 105.141Q108.451 105.352 108.315 105.556Q108.178 105.76 108.032 105.957Q107.886 106.154 107.73 106.344Q107.574 106.534 107.41 106.716Q107.245 106.897 107.071 107.071Q106.897 107.245 106.716 107.41Q106.534 107.574 106.344 107.73Q106.154 107.886 105.957 108.032Q105.76 108.178 105.556 108.315Q105.352 108.451 105.141 108.577Q104.93 108.703 104.714 108.819Q104.497 108.935 104.276 109.04Q104.054 109.145 103.827 109.239Q103.6 109.333 103.369 109.415Q103.138 109.498 102.903 109.569Q102.668 109.641 102.43 109.7Q102.192 109.76 101.951 109.808Q101.71 109.856 101.467 109.892Q101.224 109.928 100.98 109.952Q100.736 109.976 100.491 109.988Q100.245 110 100 110L0 110Q-0.245486 110 -0.490677 109.988Q-0.735867 109.976 -0.980171 109.952Q-1.22448 109.928 -1.4673 109.892Q-1.71013 109.856 -1.9509 109.808Q-2.19167 109.76 -2.4298 109.7Q-2.66793 109.641 -2.90285 109.569Q-3.13776 109.498 -3.3689 109.415Q-3.60003 109.333 -3.82683 109.239Q-4.05363 109.145 -4.27555 109.04Q-4.49747 108.935 -4.71397 108.819Q-4.93047 108.703 -5.14103 108.577Q-5.35159 108.451 -5.5557 108.315Q-5.75982 108.178 -5.95699 108.032Q-6.15417 107.886 -6.34393 107.73Q-6.5337 107.574 -6.71559 107.41Q-6.89748 107.245 -7.07107 107.071Q-7.24465 106.897 -7.40951 106.716Q-7.57437 106.534 -7.7301 106.344Q-7.88584 106.154 -8.03207 105.957Q-8.17831 105.76 -8.3147 105.556Q-8.45108 105.352 -8.57729 105.141Q-8.70349 104.93 -8.81921 104.714Q-8.93493 104.497 -9.03989 104.276Q-9.14485 104.054 -9.23879 103.827Q-9.33274 103.6 -9.41544 103.369Q-9.49814 103.138 -9.5694 102.903Q-9.64066 102.668 -9.70031 102.43Q-9.75996 102.192 -9.80785 101.951Q-9.85574 101.71 -9.89176 101.467Q-9.92778 101.224 -9.95185 100.98Q-9.97591 100.736 -9.98795 100.491Q-10 100.245 -10 100ZM10 10L10 90L90 90L90 10L10 10Z',
'M-10 100L-10 0Q-10 -0.245486 -9.98796 -0.490677Q-9.97591 -0.735867 -9.95185 -0.980171Q-9.92779 -1.22448 -9.89176 -1.4673Q-9.85574 -1.71013 -9.80785 -1.9509Q-9.75996 -2.19167 -9.70031 -2.4298Q-9.64067 -2.66793 -9.5694 -2.90285Q-9.49814 -3.13776 -9.41544 -3.3689Q-9.33274 -3.60003 -9.2388 -3.82683Q-9.14485 -4.05363 -9.03989 -4.27555Q-8.93493 -4.49747 -8.81921 -4.71397Q-8.70349 -4.93047 -8.57729 -5.14103Q-8.45108 -5.35159 -8.3147 -5.5557Q-8.17831 -5.75982 -8.03208 -5.95699Q-7.88584 -6.15417 -7.73011 -6.34393Q-7.57437 -6.5337 -7.40951 -6.71559Q-7.24465 -6.89748 -7.07107 -7.07107Q-6.89748 -7.24465 -6.71559 -7.40951Q-6.5337 -7.57437 -6.34393 -7.7301Q-6.15417 -7.88584 -5.95699 -8.03207Q-5.75982 -8.17831 -5.5557 -8.3147Q-5.35159 -8.45108 -5.14103 -8.57729Q-4.93047 -8.70349 -4.71397 -8.81921Q-4.49747 -8.93493 -4.27555 -9.03989Q-4.05363 -9.14485 -3.82683 -9.23879Q-3.60003 -9.33274 -3.3689 -9.41544Q-3.13776 -9.49814 -2.90285 -9.5694Q-2.66793 -9.64067 -2.4298 -9.70031Q-2.19167 -9.75996 -1.9509 -9.80785Q-1.71013 -9.85574 -1.4673 -9.89176Q-1.22448 -9.92778 -0.980171 -9.95185Q-0.735867 -9.97591 -0.490677 -9.98796Q-0.245486 -10 0 -10L100 -10Q100.245 -10 100.491 -9.98795Q100.736 -9.97591 100.98 -9.95185Q101.224 -9.92779 101.467 -9.89176Q101.71 -9.85574 101.951 -9.80785Q102.192 -9.75996 102.43 -9.70031Q102.668 -9.64067 102.903 -9.5694Q103.138 -9.49814 103.369 -9.41544Q103.6 -9.33274 103.827 -9.2388Q104.054 -9.14485 104.276 -9.03989Q104.497 -8.93493 104.714 -8.81921Q104.93 -8.70349 105.141 -8.57729Q105.352 -8.45108 105.556 -8.3147Q105.76 -8.17831 105.957 -8.03208Q106.154 -7.88584 106.344 -7.73011Q106.534 -7.57437 106.716 -7.40951Q106.897 -7.24465 107.071 -7.07107Q107.245 -6.89748 107.41 -6.71559Q107.574 -6.5337 107.73 -6.34393Q107.886 -6.15417 108.032 -5.95699Q108.178 -5.75982 108.315 -5.5557Q108.451 -5.35159 108.577 -5.14103Q108.703 -4.93047 108.819 -4.71397Q108.935 -4.49747 109.04 -4.27555Q109.145 -4.05363 109.239 -3.82683Q109.333 -3.60003 109.415 -3.3689Q109.498 -3.13776 109.569 -2.90285Q109.641 -2.66793 109.7 -2.4298Q109.76 -2.19167 109.808 -1.9509Q109.856 -1.71013 109.892 -1.4673Q109.928 -1.22448 109.952 -0.980171Q109.976 -0.735867 109.988 -0.490677Q110 -0.245486 110 0L110 100Q110 100.245 109.988 100.491Q109.976 100.736 109.952 100.98Q109.928 101.224 109.892 101.467Q109.856 101.71 109.808 101.951Q109.76 102.192 109.7 102.43Q109.641 102.668 109.569 102.903Q109.498 103.138 109.415 103.369Q109.333 103.6 109.239 103.827Q109.145 104.054 109.04 104.276Q108.935 104.497 108.819 104.714Q108.703 104.93 108.577 105.141Q108.451 105.352 108.315 105.556Q108.178 105.76 108.032 105.957Q107.886 106.154 107.73 106.344Q107.574 106.534 107.41 106.716Q107.245 106.897 107.071 107.071Q106.897 107.245 106.716 107.41Q106.534 107.574 106.344 107.73Q106.154 107.886 105.957 108.032Q105.76 108.178 105.556 108.315Q105.352 108.451 105.141 108.577Q104.93 108.703 104.714 108.819Q104.497 108.935 104.276 109.04Q104.054 109.145 103.827 109.239Q103.6 109.333 103.369 109.415Q103.138 109.498 102.903 109.569Q102.668 109.641 102.43 109.7Q102.192 109.76 101.951 109.808Q101.71 109.856 101.467 109.892Q101.224 109.928 100.98 109.952Q100.736 109.976 100.491 109.988Q100.245 110 100 110L0 110Q-0.245486 110 -0.490677 109.988Q-0.735867 109.976 -0.980171 109.952Q-1.22448 109.928 -1.4673 109.892Q-1.71013 109.856 -1.9509 109.808Q-2.19167 109.76 -2.4298 109.7Q-2.66793 109.641 -2.90285 109.569Q-3.13776 109.498 -3.3689 109.415Q-3.60003 109.333 -3.82683 109.239Q-4.05363 109.145 -4.27555 109.04Q-4.49747 108.935 -4.71397 108.819Q-4.93047 108.703 -5.14103 108.577Q-5.35159 108.451 -5.5557 108.315Q-5.75982 108.178 -5.95699 108.032Q-6.15417 107.886 -6.34393 107.73Q-6.5337 107.574 -6.71559 107.41Q-6.89748 107.245 -7.07107 107.071Q-7.24465 106.897 -7.40951 106.716Q-7.57437 106.534 -7.7301 106.344Q-7.88584 106.154 -8.03207 105.957Q-8.17831 105.76 -8.3147 105.556Q-8.45108 105.352 -8.57729 105.141Q-8.70349 104.93 -8.81921 104.714Q-8.93493 104.497 -9.03989 104.276Q-9.14485 104.054 -9.23879 103.827Q-9.33274 103.6 -9.41544 103.369Q-9.49814 103.138 -9.5694 102.903Q-9.64067 102.668 -9.70031 102.43Q-9.75996 102.192 -9.80785 101.951Q-9.85574 101.71 -9.89176 101.467Q-9.92778 101.224 -9.95185 100.98Q-9.97591 100.736 -9.98796 100.491Q-10 100.245 -10 100ZM10 10L10 90L90 90L90 10L10 10Z',
)
})

Expand Down
2 changes: 1 addition & 1 deletion __test__/svg-canvas.spec.ts.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Generated by [AVA](https://avajs.dev).
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="1024" height="768">␊
<rect fill="yellow" width="1024" height="768"/>␊
<rect fill="none" stroke="#FF69B4" stroke-width="3" stroke-miterlimit="10" x="50" y="450" width="100" height="100"/>␊
<path fill="#FF69B4" d="M590 120Q590 122.209 589.892 124.416Q589.783 126.623 589.567 128.822Q589.35 131.02 589.026 133.206Q588.702 135.391 588.271 137.558Q587.84 139.725 587.303 141.868Q586.766 144.011 586.125 146.126Q585.483 148.24 584.739 150.32Q583.995 152.4 583.149 154.441Q582.304 156.483 581.359 158.48Q580.414 160.477 579.373 162.426Q578.331 164.374 577.196 166.269Q576.06 168.164 574.832 170.001Q573.605 171.838 572.289 173.613Q570.973 175.388 569.571 177.095Q568.169 178.803 566.686 180.44Q565.202 182.077 563.64 183.64Q562.077 185.202 560.44 186.686Q558.803 188.169 557.095 189.571Q555.387 190.973 553.613 192.289Q551.838 193.605 550.001 194.832Q548.164 196.06 546.269 197.196Q544.374 198.331 542.426 199.373Q540.477 200.414 538.48 201.359Q536.483 202.304 534.441 203.149Q532.4 203.995 530.32 204.739Q528.24 205.483 526.126 206.125Q524.011 206.766 521.868 207.303Q519.725 207.84 517.558 208.271Q515.391 208.702 513.206 209.026Q511.02 209.35 508.822 209.567Q506.623 209.783 504.416 209.892Q502.209 210 500 210Q497.791 210 495.584 209.892Q493.377 209.783 491.178 209.567Q488.98 209.35 486.794 209.026Q484.609 208.702 482.442 208.271Q480.275 207.84 478.132 207.303Q475.989 206.766 473.874 206.125Q471.76 205.483 469.68 204.739Q467.6 203.995 465.558 203.149Q463.517 202.304 461.52 201.359Q459.523 200.414 457.574 199.373Q455.626 198.331 453.731 197.196Q451.836 196.06 449.999 194.832Q448.162 193.605 446.387 192.289Q444.612 190.973 442.905 189.571Q441.197 188.169 439.56 186.686Q437.923 185.202 436.36 183.64Q434.798 182.077 433.314 180.44Q431.831 178.803 430.429 177.095Q429.027 175.388 427.711 173.613Q426.395 171.838 425.168 170.001Q423.94 168.164 422.804 166.269Q421.669 164.374 420.627 162.426Q419.586 160.477 418.641 158.48Q417.696 156.483 416.851 154.441Q416.005 152.4 415.261 150.32Q414.517 148.24 413.875 146.126Q413.234 144.011 412.697 141.868Q412.16 139.725 411.729 137.558Q411.298 135.391 410.974 133.206Q410.65 131.02 410.433 128.822Q410.217 126.623 410.108 124.416Q410 122.209 410 120Q410 117.791 410.108 115.584Q410.217 113.377 410.433 111.178Q410.65 108.98 410.974 106.794Q411.298 104.609 411.729 102.442Q412.16 100.275 412.697 98.1318Q413.234 95.9886 413.875 93.8744Q414.517 91.7601 415.261 89.6799Q416.005 87.5997 416.851 85.5585Q417.696 83.5173 418.641 81.52Q419.586 79.5228 420.627 77.5743Q421.669 75.6258 422.804 73.7307Q423.94 71.8357 425.168 69.9987Q426.395 68.1616 427.711 66.3871Q429.027 64.6125 430.429 62.9046Q431.831 61.1967 433.314 59.5597Q434.798 57.9226 436.36 56.3604Q437.923 54.7981 439.56 53.3144Q441.197 51.8307 442.905 50.4291Q444.612 49.0274 446.387 47.7113Q448.162 46.3952 449.999 45.1677Q451.836 43.9403 453.731 42.8044Q455.626 41.6686 457.574 40.6271Q459.523 39.5856 461.52 38.641Q463.517 37.6963 465.558 36.8508Q467.6 36.0053 469.68 35.261Q471.76 34.5167 473.874 33.8754Q475.989 33.234 478.132 32.6972Q480.275 32.1604 482.442 31.7293Q484.609 31.2983 486.794 30.9741Q488.98 30.6499 491.178 30.4334Q493.377 30.2168 495.584 30.1084Q497.791 30 500 30Q502.209 30 504.416 30.1084Q506.623 30.2168 508.822 30.4334Q511.02 30.6499 513.206 30.9741Q515.391 31.2983 517.558 31.7293Q519.725 32.1604 521.868 32.6972Q524.011 33.234 526.126 33.8754Q528.24 34.5167 530.32 35.261Q532.4 36.0053 534.441 36.8508Q536.483 37.6963 538.48 38.641Q540.477 39.5856 542.426 40.6271Q544.374 41.6686 546.269 42.8044Q548.164 43.9403 550.001 45.1677Q551.838 46.3952 553.613 47.7113Q555.387 49.0274 557.095 50.4291Q558.803 51.8307 560.44 53.3144Q562.077 54.7981 563.64 56.3604Q565.202 57.9226 566.686 59.5597Q568.169 61.1967 569.571 62.9046Q570.973 64.6125 572.289 66.3871Q573.605 68.1616 574.832 69.9987Q576.06 71.8357 577.195 73.7307Q578.331 75.6258 579.373 77.5743Q580.414 79.5228 581.359 81.52Q582.304 83.5173 583.149 85.5585Q583.995 87.5997 584.739 89.6799Q585.483 91.7601 586.125 93.8744Q586.766 95.9886 587.303 98.1318Q587.84 100.275 588.271 102.442Q588.702 104.609 589.026 106.794Q589.35 108.98 589.567 111.178Q589.783 113.377 589.892 115.584Q590 117.791 590 120"/>␊
<path fill="#FF69B4" d="M590 120Q590 122.209 589.892 124.416Q589.783 126.623 589.567 128.822Q589.35 131.02 589.026 133.206Q588.702 135.391 588.271 137.558Q587.84 139.725 587.303 141.868Q586.766 144.011 586.125 146.126Q585.483 148.24 584.739 150.32Q583.995 152.4 583.149 154.441Q582.304 156.483 581.359 158.48Q580.414 160.477 579.373 162.426Q578.331 164.374 577.196 166.269Q576.06 168.164 574.832 170.001Q573.605 171.838 572.289 173.613Q570.973 175.387 569.571 177.095Q568.169 178.803 566.686 180.44Q565.202 182.077 563.64 183.64Q562.077 185.202 560.44 186.686Q558.803 188.169 557.095 189.571Q555.387 190.973 553.613 192.289Q551.838 193.605 550.001 194.832Q548.164 196.06 546.269 197.196Q544.374 198.331 542.426 199.373Q540.477 200.414 538.48 201.359Q536.483 202.304 534.441 203.149Q532.4 203.995 530.32 204.739Q528.24 205.483 526.126 206.125Q524.011 206.766 521.868 207.303Q519.725 207.84 517.558 208.271Q515.391 208.702 513.206 209.026Q511.02 209.35 508.822 209.567Q506.623 209.783 504.416 209.892Q502.209 210 500 210Q497.791 210 495.584 209.892Q493.377 209.783 491.178 209.567Q488.98 209.35 486.794 209.026Q484.609 208.702 482.442 208.271Q480.275 207.84 478.132 207.303Q475.989 206.766 473.874 206.125Q471.76 205.483 469.68 204.739Q467.6 203.995 465.558 203.149Q463.517 202.304 461.52 201.359Q459.523 200.414 457.574 199.373Q455.626 198.331 453.731 197.196Q451.836 196.06 449.999 194.832Q448.162 193.605 446.387 192.289Q444.612 190.973 442.905 189.571Q441.197 188.169 439.56 186.686Q437.923 185.202 436.36 183.64Q434.798 182.077 433.314 180.44Q431.831 178.803 430.429 177.095Q429.027 175.388 427.711 173.613Q426.395 171.838 425.168 170.001Q423.94 168.164 422.804 166.269Q421.669 164.374 420.627 162.426Q419.586 160.477 418.641 158.48Q417.696 156.483 416.851 154.441Q416.005 152.4 415.261 150.32Q414.517 148.24 413.875 146.126Q413.234 144.011 412.697 141.868Q412.16 139.725 411.729 137.558Q411.298 135.391 410.974 133.206Q410.65 131.02 410.433 128.822Q410.217 126.623 410.108 124.416Q410 122.209 410 120Q410 117.791 410.108 115.584Q410.217 113.377 410.433 111.178Q410.65 108.98 410.974 106.794Q411.298 104.609 411.729 102.442Q412.16 100.275 412.697 98.1318Q413.234 95.9886 413.875 93.8744Q414.517 91.7601 415.261 89.6799Q416.005 87.5997 416.851 85.5585Q417.696 83.5173 418.641 81.52Q419.586 79.5228 420.627 77.5743Q421.669 75.6258 422.804 73.7308Q423.94 71.8357 425.168 69.9987Q426.395 68.1616 427.711 66.3871Q429.027 64.6125 430.429 62.9046Q431.831 61.1967 433.314 59.5597Q434.798 57.9226 436.36 56.3604Q437.923 54.7981 439.56 53.3144Q441.197 51.8307 442.905 50.4291Q444.612 49.0274 446.387 47.7113Q448.162 46.3952 449.999 45.1677Q451.836 43.9403 453.731 42.8044Q455.626 41.6686 457.574 40.6271Q459.523 39.5856 461.52 38.641Q463.517 37.6963 465.558 36.8508Q467.6 36.0053 469.68 35.261Q471.76 34.5167 473.874 33.8754Q475.989 33.234 478.132 32.6972Q480.275 32.1604 482.442 31.7293Q484.609 31.2983 486.794 30.9741Q488.98 30.6499 491.178 30.4334Q493.377 30.2168 495.584 30.1084Q497.791 30 500 30Q502.209 30 504.416 30.1084Q506.623 30.2168 508.822 30.4334Q511.02 30.6499 513.206 30.9741Q515.391 31.2983 517.558 31.7293Q519.725 32.1604 521.868 32.6972Q524.011 33.234 526.126 33.8754Q528.24 34.5167 530.32 35.261Q532.4 36.0053 534.441 36.8508Q536.483 37.6963 538.48 38.641Q540.477 39.5856 542.426 40.6271Q544.374 41.6686 546.269 42.8044Q548.164 43.9403 550.001 45.1677Q551.838 46.3952 553.613 47.7113Q555.388 49.0274 557.095 50.4291Q558.803 51.8307 560.44 53.3144Q562.077 54.7981 563.64 56.3604Q565.202 57.9226 566.686 59.5597Q568.169 61.1967 569.571 62.9046Q570.973 64.6125 572.289 66.3871Q573.605 68.1616 574.832 69.9987Q576.06 71.8357 577.196 73.7307Q578.331 75.6258 579.373 77.5743Q580.414 79.5228 581.359 81.52Q582.304 83.5173 583.149 85.5585Q583.995 87.5997 584.739 89.6799Q585.483 91.7601 586.125 93.8744Q586.766 95.9886 587.303 98.1318Q587.84 100.275 588.271 102.442Q588.702 104.609 589.026 106.794Q589.35 108.98 589.567 111.178Q589.783 113.377 589.892 115.584Q590 117.791 590 120"/>␊
</svg>`

## should be able to export text
Expand Down
Binary file modified __test__/svg-canvas.spec.ts.snap
Binary file not shown.
Loading

0 comments on commit c8c99dc

Please sign in to comment.