From c6af883bb335817e606278bd66d795f2f3b08c0c Mon Sep 17 00:00:00 2001 From: LongYinan Date: Sat, 8 Jun 2024 18:14:08 +0800 Subject: [PATCH] feat: chrome/m116 --- .github/workflows/CI.yaml | 2 +- .github/workflows/skia.yaml | 14 +++++----- README-zh.md | 2 +- README.md | 2 +- __test__/pathkit.spec.ts | 39 ++++++++++------------------ __test__/pathkit.spec.ts.md | 30 +++++++++++++++++++++ __test__/pathkit.spec.ts.snap | Bin 225 -> 2808 bytes __test__/svg-canvas.spec.ts.md | 4 +-- __test__/svg-canvas.spec.ts.snap | Bin 8351 -> 10533 bytes __test__/svg.spec.ts | 7 ++++- __test__/text-to-path.svg | 18 ++++++------- rust-toolchain.toml | 2 +- scripts/__test__/utils.spec.ts.snap | Bin 448 -> 449 bytes skia | 2 +- 14 files changed, 72 insertions(+), 50 deletions(-) diff --git a/.github/workflows/CI.yaml b/.github/workflows/CI.yaml index 96371b70..12643d8d 100644 --- a/.github/workflows/CI.yaml +++ b/.github/workflows/CI.yaml @@ -178,7 +178,7 @@ jobs: - uses: goto-bus-stop/setup-zig@v2 if: ${{ matrix.settings.target == 'armv7-unknown-linux-gnueabihf' }} with: - version: 0.11.0 + version: 0.13.0 - name: Set env if: matrix.settings.host == 'windows-latest' diff --git a/.github/workflows/skia.yaml b/.github/workflows/skia.yaml index ba28560b..96d66170 100644 --- a/.github/workflows/skia.yaml +++ b/.github/workflows/skia.yaml @@ -17,7 +17,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, macos-14, windows-latest] + os: [ubuntu-latest, macos-latest, windows-latest] name: stable - ${{ matrix.os }} - build skia runs-on: ${{ matrix.os }} @@ -49,7 +49,7 @@ jobs: - name: Install tools on macOS run: brew install ninja llvm - if: matrix.os == 'macos-14' + if: matrix.os == 'macos-latest' - name: Install tools on Windows if: matrix.os == 'windows-latest' @@ -79,7 +79,7 @@ jobs: docker run --user "$(id -u):$(id -g)" -e PYTHONHTTPSVERIFY=0 -e SKIP_SYNC_SK_DEPS=0 --rm -v $(pwd):/canvas -w /canvas builder node ./scripts/build-skia.js - name: Compile skia - if: matrix.os == 'macos-14' + if: matrix.os == 'macos-latest' env: PYTHONHTTPSVERIFY: 0 run: | @@ -107,7 +107,7 @@ jobs: if: "!contains(github.event.head_commit.message, 'skip skia')" name: stable - apple-silicon - build skia - runs-on: macos-14 + runs-on: macos-latest steps: - uses: actions/checkout@v4 @@ -313,9 +313,9 @@ jobs: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes docker buildx build --load --platform linux/arm/v7 -t ubuntu:jammy-armv7 . -f jammy-armv7.Dockerfile docker run --rm -dt --name ubuntu-jammy-armv7 ubuntu:jammy-armv7 - sudo mkdir -p /usr/arm-linux-gnueabihf/lib/llvm-14 - sudo docker cp ubuntu-jammy-armv7:/usr/lib/llvm-14/lib /usr/arm-linux-gnueabihf/lib/llvm-14/lib - sudo docker cp ubuntu-jammy-armv7:/usr/lib/llvm-14/include /usr/arm-linux-gnueabihf/lib/llvm-14/include + sudo mkdir -p /usr/arm-linux-gnueabihf/lib/llvm-18 + sudo docker cp ubuntu-jammy-armv7:/usr/lib/llvm-18/lib /usr/arm-linux-gnueabihf/lib/llvm-18/lib + sudo docker cp ubuntu-jammy-armv7:/usr/lib/llvm-18/include /usr/arm-linux-gnueabihf/lib/llvm-18/include docker stop ubuntu-jammy-armv7 - name: Compile skia diff --git a/README-zh.md b/README-zh.md index 4cb9d49c..6103d643 100644 --- a/README-zh.md +++ b/README-zh.md @@ -1,7 +1,7 @@ # `skr canvas` ![CI](https://github.com/Brooooooklyn/canvas/workflows/CI/badge.svg) -![Skia Version](https://img.shields.io/badge/Skia-chrome%2Fm125-hotpink) +![Skia Version](https://img.shields.io/badge/Skia-chrome%2Fm126-hotpink) [![install size](https://packagephobia.com/badge?p=@napi-rs/canvas)](https://packagephobia.com/result?p=@napi-rs/canvas) [![Downloads](https://img.shields.io/npm/dm/@napi-rs/canvas.svg?sanitize=true)](https://npmcharts.com/compare/@napi-rs/canvas?minimal=true) diff --git a/README.md b/README.md index 30d9f38b..d781d452 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # `skr canvas` ![CI](https://github.com/Brooooooklyn/canvas/workflows/CI/badge.svg) -![Skia Version](https://img.shields.io/badge/Skia-chrome%2Fm125-hotpink) +![Skia Version](https://img.shields.io/badge/Skia-chrome%2Fm126-hotpink) [![install size](https://packagephobia.com/badge?p=@napi-rs/canvas)](https://packagephobia.com/result?p=@napi-rs/canvas) [![Downloads](https://img.shields.io/npm/dm/@napi-rs/canvas.svg?sanitize=true)](https://npmcharts.com/compare/@napi-rs/canvas?minimal=true) diff --git a/__test__/pathkit.spec.ts b/__test__/pathkit.spec.ts index 75b5b409..f237fcd9 100644 --- a/__test__/pathkit.spec.ts +++ b/__test__/pathkit.spec.ts @@ -30,10 +30,7 @@ test('Union boolean operation', (t) => { 'M58 0H142C146.418 0 150 3.58172 150 8V92C150 96.4183 146.418 100 142 100H58C53.5817 100 50 96.4183 50 92V8C50 3.58172 53.5817 0 58 0Z', ) - t.is( - pathOne.op(pathTwo, PathOp.Union).toSVGString(), - 'M142 0L58 0C53.5817 0 50 3.58172 50 8L50 50L8 50C3.58172 50 0 53.5817 0 58L0 142C0 146.418 3.58172 150 8 150L92 150C96.4183 150 100 146.418 100 142L100 100L142 100C146.418 100 150 96.4183 150 92L150 8C150 3.58172 146.418 0 142 0Z', - ) + t.snapshot(pathOne.op(pathTwo, PathOp.Union).toSVGString()) }) test('Difference boolean operation', (t) => { @@ -46,7 +43,7 @@ test('Difference boolean operation', (t) => { t.is( pathOne.op(pathTwo, PathOp.Difference).toSVGString(), - 'M50 50L8 50C3.58172 50 0 53.5817 0 58L0 142C0 146.418 3.58172 150 8 150L92 150C96.4183 150 100 146.418 100 142L100 100L58 100C53.5817 100 50 96.4183 50 92L50 50Z', + 'M50 50L8 50C3.5817201 50 0 53.581699 0 58L0 142C0 146.418 3.5817201 150 8 150L92 150C96.418297 150 100 146.418 100 142L100 100L58 100C53.581699 100 50 96.418297 50 92L50 50Z', ) }) @@ -60,7 +57,7 @@ test('ReverseDifference boolean operation', (t) => { t.is( pathOne.op(pathTwo, PathOp.ReverseDifference).toSVGString(), - 'M142 0L58 0C53.5817 0 50 3.58172 50 8L50 50L92 50C96.4183 50 100 53.5817 100 58L100 100L142 100C146.418 100 150 96.4183 150 92L150 8C150 3.58172 146.418 0 142 0Z', + 'M142 0L58 0C53.581699 0 50 3.5817201 50 8L50 50L92 50C96.418297 50 100 53.581699 100 58L100 100L142 100C146.418 100 150 96.418297 150 92L150 8C150 3.5817201 146.418 0 142 0Z', ) }) @@ -74,7 +71,7 @@ test('Intersect boolean operation', (t) => { t.is( pathOne.op(pathTwo, PathOp.Intersect).toSVGString(), - 'M100 100L58 100C53.5817 100 50 96.4183 50 92L50 50L92 50C96.4183 50 100 53.5817 100 58L100 100Z', + 'M100 100L58 100C53.581699 100 50 96.418297 50 92L50 50L92 50C96.418297 50 100 53.581699 100 58L100 100Z', ) }) @@ -86,10 +83,7 @@ test('Xor boolean operation', (t) => { 'M58 0H142C146.418 0 150 3.58172 150 8V92C150 96.4183 146.418 100 142 100H58C53.5817 100 50 96.4183 50 92V8C50 3.58172 53.5817 0 58 0Z', ) - t.is( - pathOne.op(pathTwo, PathOp.Xor).toSVGString(), - 'M142 0L58 0C53.5817 0 50 3.58172 50 8L50 50L8 50C3.58172 50 0 53.5817 0 58L0 142C0 146.418 3.58172 150 8 150L92 150C96.4183 150 100 146.418 100 142L100 100L142 100C146.418 100 150 96.4183 150 92L150 8C150 3.58172 146.418 0 142 0ZM100 100L100 58C100 53.5817 96.4183 50 92 50L50 50L50 92C50 96.4183 53.5817 100 58 100L100 100Z', - ) + t.snapshot(pathOne.op(pathTwo, PathOp.Xor).toSVGString()) }) test('FillType must be Winding after conversion by AsWinding()', (t) => { @@ -117,7 +111,7 @@ test('Use .asWinding() to convert filltype evenodd to nonzero', (t) => { 'M24.2979 13.6364H129.394V40.9091H24.2979L14.6278 27.2727L24.2979 13.6364ZM21.9592 0C19.0246 0 16.2716 1.42436 14.571 3.82251L1.67756 22.0043C-0.559186 25.1585 -0.559186 29.387 1.67756 32.5411L14.571 50.7227C16.2716 53.1209 19.0246 54.5455 21.9592 54.5455H70.4673V68.1818H16.073C11.0661 68.1818 7.00728 72.2518 7.00728 77.2727V113.636C7.00728 118.657 11.0661 122.727 16.073 122.727H70.4673V150H84.0658V122.727H128.041C130.975 122.727 133.729 121.303 135.429 118.905L148.323 100.723C150.559 97.5686 150.559 93.3405 148.323 90.1864L135.429 72.0045C133.729 69.6064 130.975 68.1818 128.041 68.1818H84.0658V54.5455H133.927C138.934 54.5455 142.993 50.4755 142.993 45.4545V9.09091C142.993 4.07014 138.934 0 133.927 0H21.9592ZM125.702 109.091H20.6058V81.8182H125.702L135.372 95.4545L125.702 109.091Z', ) const nonzeroPath = - 'M24.2979 13.6364L129.394 13.6364L129.394 40.9091L24.2979 40.9091L14.6278 27.2727L24.2979 13.6364ZM21.9592 0C19.0246 0 16.2716 1.42436 14.571 3.82251L1.67756 22.0043C-0.559186 25.1585 -0.559186 29.387 1.67756 32.5411L14.571 50.7227C16.2716 53.1209 19.0246 54.5455 21.9592 54.5455L70.4673 54.5455L70.4673 68.1818L16.073 68.1818C11.0661 68.1818 7.00728 72.2518 7.00728 77.2727L7.00728 113.636C7.00728 118.657 11.0661 122.727 16.073 122.727L70.4673 122.727L70.4673 150L84.0658 150L84.0658 122.727L128.041 122.727C130.975 122.727 133.729 121.303 135.429 118.905L148.323 100.723C150.559 97.5686 150.559 93.3405 148.323 90.1864L135.429 72.0045C133.729 69.6064 130.975 68.1818 128.041 68.1818L84.0658 68.1818L84.0658 54.5455L133.927 54.5455C138.934 54.5455 142.993 50.4755 142.993 45.4545L142.993 9.09091C142.993 4.07014 138.934 0 133.927 0L21.9592 0ZM125.702 109.091L20.6058 109.091L20.6058 81.8182L125.702 81.8182L135.372 95.4545L125.702 109.091Z' + 'M24.297899 13.6364L129.394 13.6364L129.394 40.9091L24.297899 40.9091L14.6278 27.272699L24.297899 13.6364ZM21.9592 0C19.024599 0 16.271601 1.42436 14.571 3.82251L1.67756 22.004299C-0.55918598 25.158501 -0.55918598 29.386999 1.67756 32.5411L14.571 50.722698C16.271601 53.120899 19.024599 54.545502 21.9592 54.545502L70.4673 54.545502L70.4673 68.181801L16.073 68.181801C11.0661 68.181801 7.0072799 72.251801 7.0072799 77.272697L7.0072799 113.636C7.0072799 118.657 11.0661 122.727 16.073 122.727L70.4673 122.727L70.4673 150L84.065804 150L84.065804 122.727L128.041 122.727C130.97501 122.727 133.729 121.303 135.429 118.905L148.323 100.723C150.55901 97.568604 150.55901 93.3405 148.323 90.186401L135.429 72.004501C133.729 69.6064 130.97501 68.181801 128.041 68.181801L84.065804 68.181801L84.065804 54.545502L133.927 54.545502C138.93401 54.545502 142.993 50.475498 142.993 45.454498L142.993 9.09091C142.993 4.0701399 138.93401 0 133.927 0L21.9592 0ZM125.702 109.091L20.605801 109.091L20.605801 81.818199L125.702 81.818199L135.37199 95.454498L125.702 109.091Z' evenOddPath.setFillType(FillType.EvenOdd) // The FillType of the original path is evenodd @@ -130,7 +124,7 @@ test('Use .asWinding() and .simplify() to convert cubic Bezier curve to quadrati ) // Quadratic bezier curve const quadraticPath = - 'M0 10C0 4.47715 4.47715 0 10 0L90 0C95.5229 0 100 4.47715 100 10C100 15.5228 95.5229 20 90 20L10 20C4.47715 20 0 15.5228 0 10Z' + 'M0 10C0 4.47715 4.47715 0 10 0L90 0C95.522903 0 100 4.47715 100 10C100 15.5228 95.522903 20 90 20L10 20C4.47715 20 0 15.5228 0 10Z' t.is(path.asWinding().simplify().toSVGString(), quadraticPath) }) @@ -142,14 +136,14 @@ test('Use .simplify() to remove overlapping paths', (t) => { t.is( path.simplify().toSVGString(), - 'M89.005 3.818L2.933 89.89Q1.526 91.296 0.765 93.134Q0.004 94.972 0.004 96.961Q0.004 98.95 0.765 100.788Q1.526 102.625 2.933 104.032Q4.339 105.439 6.177 106.2Q8.015 106.961 10.004 106.961Q11.993 106.961 13.831 106.2Q15.668 105.439 17.075 104.032L96.076 25.031L175.077 104.032Q176.484 105.439 178.322 106.2Q180.159 106.961 182.148 106.961Q184.138 106.961 185.975 106.2Q187.813 105.439 189.219 104.032Q190.626 102.625 191.387 100.788Q192.148 98.95 192.148 96.961Q192.148 94.972 191.387 93.134Q190.626 91.296 189.22 89.89L103.147 3.818Q101.741 2.411 99.903 1.65Q98.065 0.889 96.076 0.889Q94.087 0.889 92.249 1.65Q90.412 2.411 89.005 3.818Z', + 'M89.004997 3.8180001L2.9330001 89.889999Q1.526 91.295998 0.76499999 93.134003Q0.0040000002 94.972 0.0040000002 96.960999Q0.0040000002 98.949997 0.76499999 100.788Q1.526 102.625 2.9330001 104.032Q4.3390002 105.439 6.177 106.2Q8.0150003 106.961 10.004 106.961Q11.993 106.961 13.831 106.2Q15.668 105.439 17.075001 104.032L96.075996 25.031002L175.077 104.032Q176.48399 105.439 178.32201 106.2Q180.159 106.961 182.14799 106.961Q184.138 106.961 185.97501 106.2Q187.813 105.439 189.21899 104.032Q190.62601 102.625 191.38699 100.788Q192.14799 98.949997 192.14799 96.960999Q192.14799 94.972 191.38699 93.134003Q190.62601 91.295998 189.22 89.889999L103.147 3.8180001Q101.741 2.411 99.903 1.65Q98.065002 0.889 96.075996 0.889Q94.086998 0.889 92.249001 1.65Q90.412003 2.411 89.004997 3.8180001Z', ) }) test('Convert fill-type to nonzero and cubic Bezier curve to quadratic', (t) => { const pathTriangle = new Path2D('M70 0L0.717957 120H139.282L70 0ZM70 30L26.6987 105H113.301L70 30Z') // Quadratic bezier curve - const quadraticPath = 'M0.717957 120L70 0L139.282 120L0.717957 120ZM113.301 105L70 30L26.6987 105L113.301 105Z' + const quadraticPath = 'M0.71795702 120L70 0L139.282 120L0.71795702 120ZM113.301 105L70 30L26.6987 105L113.301 105Z' pathTriangle.setFillType(FillType.EvenOdd) t.is(pathTriangle.asWinding().simplify().toSVGString(), quadraticPath) @@ -170,18 +164,14 @@ test('Convert stroke to path', (t) => { ) path.stroke({ width: 10, miterLimit: 1 }).simplify().asWinding() - const expected = `M57.6458 39.75L37.2942 4.5Q34.6962 -2.38419e-06 29.5 -2.38419e-06Q24.3038 -2.90573e-06 21.7058 4.5L1.35417 39.75Q-1.2439 44.25 1.35418 48.75Q3.95226 53.25 9.14841 53.25L49.8516 53.25Q55.0478 53.25 57.6458 48.75Q60.2439 44.25 57.6458 39.75ZM29.5 11L48.1195 43.25L10.8805 43.25L29.5 11Z` - - t.is(path.toSVGString(), expected) + t.snapshot(path.toSVGString()) }) test('Convert stroke to path 2', (t) => { const path = new Path2D('M4 23.5L22.5 5L41 23.5') path.stroke({ width: 10, join: StrokeJoin.Round, miterLimit: 1 }).simplify() - const svg = `` - const expected = `` - t.is(svg, expected) + t.snapshot(path.toSVGString()) }) // 直角 @@ -211,10 +201,7 @@ test('StrokeJoin.Round', (t) => { box.rect(0, 0, 100, 100) box.stroke({ width: 20, join: StrokeJoin.Round }) - t.is( - box.toSVGString(), - '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', - ) + t.snapshot(box.toSVGString()) }) test('computeTightBounds', (t) => { @@ -254,7 +241,7 @@ test('dash', (t) => { ctx.stroke(phased) t.is( c.getContent().toString('utf8'), - ``, + ``, ) }) diff --git a/__test__/pathkit.spec.ts.md b/__test__/pathkit.spec.ts.md index 64fbaed8..7394636d 100644 --- a/__test__/pathkit.spec.ts.md +++ b/__test__/pathkit.spec.ts.md @@ -4,6 +4,36 @@ The actual snapshot is saved in `pathkit.spec.ts.snap`. Generated by [AVA](https://avajs.dev). +## Union boolean operation + +> Snapshot 1 + + 'M142 0L58 0C53.581699 0 50 3.5817201 50 8L50 50L8 50C3.5817201 50 0 53.581699 0 58L0 142C0 146.418 3.5817201 150 8 150L92 150C96.418297 150 100 146.418 100 142L100 100L142 100C146.418 100 150 96.418297 150 92L150 8C150 3.5817201 146.418 0 142 0Z' + +## Xor boolean operation + +> Snapshot 1 + + 'M142 0L58 0C53.581699 0 50 3.5817201 50 8L50 50L8 50C3.5817201 50 0 53.581699 0 58L0 142C0 146.418 3.5817201 150 8 150L92 150C96.418297 150 100 146.418 100 142L100 100L142 100C146.418 100 150 96.418297 150 92L150 8C150 3.5817201 146.418 0 142 0ZM100 100L100 58C100 53.581699 96.418297 50 92 50L50 50L50 92C50 96.418297 53.581699 100 58 100L100 100Z' + +## Convert stroke to path + +> Snapshot 1 + + 'M57.645828 39.75L37.294228 4.5Q34.696152 -2.3841858e-06 29.5 -2.3841858e-06Q24.303848 -2.9057264e-06 21.705772 4.5000029L1.3541732 39.75Q-1.2438966 44.250042 1.3541794 48.750019Q3.9522581 53.25 9.1484098 53.25L49.851601 53.25Q55.047752 53.25 57.645824 48.750015Q60.243893 44.250038 57.645828 39.75ZM29.5 11.000004L48.119549 43.25L10.880453 43.25L29.5 11.000004Z' + +## Convert stroke to path 2 + +> Snapshot 1 + + 'M18.964466 1.4644661L0.46446609 19.964466L7.5355339 27.035534L22.5 12.071068L37.464466 27.035534L44.535534 19.964466L26.035534 1.4644661Q25.948742 1.3776736 25.857796 1.2952443Q25.76685 1.212815 25.671968 1.1349478Q25.577085 1.0570803 25.478497 0.9839623Q25.379906 0.91084433 25.277849 0.84265184Q25.175793 0.77445948 25.070513 0.71135694Q24.965233 0.64825439 24.856983 0.59039366Q24.748732 0.53253293 24.637772 0.48005348Q24.526814 0.42757404 24.413414 0.3806023Q24.300014 0.33363056 24.184444 0.29227966Q24.068878 0.25092876 23.95142 0.21529832Q23.833961 0.17966788 23.714897 0.14984374Q23.595833 0.12001958 23.475449 0.09607359Q23.355064 0.072127596 23.23365 0.054117445Q23.112236 0.036107294 22.990086 0.024076367Q22.867931 0.012045437 22.745337 0.0060227187Q22.622742 0 22.499998 0Q22.377254 0 22.254662 0.0060227187Q22.132067 0.012045437 22.009916 0.024076367Q21.887764 0.036107294 21.76635 0.054117449Q21.644932 0.072127596 21.524548 0.09607359Q21.404163 0.12001958 21.285099 0.14984372Q21.166035 0.17966788 21.048576 0.21529832Q20.931118 0.25092876 20.81555 0.29227966Q20.699982 0.33363056 20.58658 0.3806023Q20.473181 0.42757404 20.362223 0.48005348Q20.251265 0.53253293 20.143015 0.59039366Q20.034763 0.64825439 19.929483 0.71135694Q19.824203 0.77445948 19.722147 0.84265184Q19.62009 0.91084433 19.521502 0.9839623Q19.422913 1.0570803 19.328033 1.1349478Q19.23315 1.212815 19.142204 1.2952443Q19.051258 1.3776736 18.964466 1.4644661Z' + +## StrokeJoin.Round + +> Snapshot 1 + + 'M-10 100L-10 0Q-10 -0.24548623 -9.9879551 -0.49067676Q-9.9759102 -0.73586726 -9.951848 -0.98017144Q-9.9277859 -1.2244756 -9.8917646 -1.4673047Q-9.8557444 -1.7101339 -9.8078527 -1.9509032Q-9.7599602 -2.1916723 -9.7003126 -2.4298017Q-9.6406651 -2.6679311 -9.5694036 -2.9028468Q-9.4981422 -3.1377625 -9.4154406 -3.3688984Q-9.3327389 -3.6000345 -9.2387953 -3.8268342Q-9.1448517 -4.0536337 -9.0398932 -4.2755508Q-8.9349346 -4.497468 -8.8192129 -4.7139673Q-8.7034912 -4.9304667 -8.5772867 -5.141027Q-8.4510813 -5.3515878 -8.3146963 -5.5557022Q-8.1783113 -5.7598162 -8.0320759 -5.9569926Q-7.8858395 -6.1541691 -7.7301054 -6.3439331Q-7.5743704 -6.5336962 -7.4095116 -6.7155895Q-7.2446527 -6.8974829 -7.0710678 -7.0710678Q-6.8974829 -7.2446527 -6.7155895 -7.4095111Q-6.5336962 -7.5743694 -6.3439331 -7.7301044Q-6.1541691 -7.8858385 -5.9569926 -8.032074Q-5.7598162 -8.1783104 -5.5557022 -8.3146954Q-5.3515878 -8.4510803 -5.1410275 -8.5772858Q-4.9304667 -8.7034912 -4.7139673 -8.8192129Q-4.497468 -8.9349337 -4.2755508 -9.0398922Q-4.0536337 -9.1448507 -3.8268342 -9.2387943Q-3.6000345 -9.3327389 -3.3688984 -9.4154406Q-3.1377625 -9.4981422 -2.9028468 -9.5694036Q-2.6679311 -9.6406651 -2.4298017 -9.7003126Q-2.1916723 -9.7599602 -1.9509032 -9.8078518Q-1.7101339 -9.8557434 -1.4673047 -9.8917637Q-1.2244756 -9.9277849 -0.98017144 -9.951848Q-0.73586726 -9.9759092 -0.49067676 -9.9879551Q-0.24548623 -10 0 -10L100 -10Q100.24548 -10 100.49068 -9.9879541Q100.73587 -9.9759092 100.98018 -9.951848Q101.22448 -9.9277859 101.4673 -9.8917646Q101.71013 -9.8557444 101.9509 -9.8078527Q102.19167 -9.7599602 102.42979 -9.7003126Q102.66793 -9.6406651 102.90285 -9.5694036Q103.13776 -9.4981422 103.3689 -9.4154406Q103.60002 -9.3327389 103.82682 -9.2387953Q104.05362 -9.1448517 104.27554 -9.0398932Q104.49747 -8.9349346 104.71397 -8.8192129Q104.93047 -8.7034912 105.14102 -8.5772867Q105.35158 -8.4510813 105.55569 -8.3146963Q105.75981 -8.1783113 105.95699 -8.0320759Q106.15417 -7.8858395 106.34393 -7.7301054Q106.53369 -7.5743704 106.71558 -7.4095116Q106.89748 -7.2446527 107.07106 -7.0710678Q107.24464 -6.8974829 107.4095 -6.7155895Q107.57436 -6.5336962 107.7301 -6.3439331Q107.88583 -6.1541691 108.03207 -5.9569926Q108.1783 -5.7598162 108.31468 -5.5557022Q108.45107 -5.3515878 108.57726 -5.1410275Q108.70348 -4.9304667 108.8192 -4.7139673Q108.93492 -4.497468 109.03987 -4.2755508Q109.14484 -4.0536337 109.23878 -3.8268342Q109.33272 -3.6000345 109.41542 -3.3688984Q109.49813 -3.1377625 109.5694 -2.9028468Q109.64066 -2.6679311 109.7003 -2.4298017Q109.75995 -2.1916723 109.80785 -1.9509032Q109.85574 -1.7101339 109.89175 -1.4673047Q109.92778 -1.2244756 109.95184 -0.98017144Q109.97591 -0.73586726 109.98795 -0.49067676Q110 -0.24548623 110 0L110 100Q110 100.24548 109.98795 100.49068Q109.97591 100.73587 109.95185 100.98018Q109.92778 101.22448 109.89176 101.4673Q109.85574 101.71013 109.80785 101.9509Q109.75995 102.19167 109.7003 102.42979Q109.64066 102.66793 109.5694 102.90285Q109.49813 103.13776 109.41543 103.3689Q109.33272 103.60002 109.23878 103.82682Q109.14484 104.05362 109.03987 104.27554Q108.93492 104.49747 108.8192 104.71397Q108.70348 104.93047 108.57726 105.14102Q108.45107 105.35158 108.31468 105.55569Q108.1783 105.75981 108.03207 105.95699Q107.88583 106.15417 107.73009 106.34393Q107.57436 106.53369 107.40951 106.71558Q107.24464 106.89748 107.07106 107.07106Q106.89748 107.24464 106.71558 107.4095Q106.53369 107.57436 106.34393 107.7301Q106.15417 107.88583 105.95699 108.03207Q105.75981 108.1783 105.55569 108.31468Q105.35158 108.45107 105.14102 108.57726Q104.93047 108.70348 104.71396 108.8192Q104.49746 108.93492 104.27554 109.03987Q104.05362 109.14484 103.82682 109.23878Q103.60002 109.33272 103.36888 109.41542Q103.13776 109.49813 102.90285 109.5694Q102.66793 109.64066 102.42979 109.7003Q102.19167 109.75995 101.9509 109.80785Q101.71013 109.85574 101.4673 109.89175Q101.22448 109.92778 100.98018 109.95184Q100.73587 109.97591 100.49068 109.98795Q100.24548 110 100 110L0 110Q-0.24548623 110 -0.49067676 109.98795Q-0.73586726 109.97591 -0.98017144 109.95185Q-1.2244756 109.92778 -1.4673047 109.89176Q-1.7101339 109.85574 -1.9509032 109.80785Q-2.1916723 109.75995 -2.4298017 109.7003Q-2.6679311 109.64066 -2.9028468 109.5694Q-3.1377625 109.49813 -3.3688984 109.41543Q-3.6000345 109.33272 -3.8268342 109.23878Q-4.0536337 109.14484 -4.2755508 109.03987Q-4.497468 108.93492 -4.7139673 108.8192Q-4.9304667 108.70348 -5.141027 108.57726Q-5.3515878 108.45107 -5.5557022 108.31468Q-5.7598162 108.1783 -5.9569926 108.03207Q-6.1541691 107.88583 -6.3439331 107.73009Q-6.5336962 107.57436 -6.7155895 107.40951Q-6.8974829 107.24464 -7.0710678 107.07106Q-7.2446527 106.89748 -7.4095111 106.71558Q-7.5743694 106.53369 -7.7301044 106.34393Q-7.8858385 106.15417 -8.032074 105.95699Q-8.1783104 105.75981 -8.3146954 105.55569Q-8.4510803 105.35158 -8.5772858 105.14102Q-8.7034912 104.93047 -8.8192129 104.71396Q-8.9349337 104.49746 -9.0398922 104.27554Q-9.1448507 104.05362 -9.2387943 103.82682Q-9.3327389 103.60002 -9.4154406 103.36888Q-9.4981422 103.13776 -9.5694036 102.90285Q-9.6406651 102.66793 -9.7003126 102.42979Q-9.7599602 102.19167 -9.8078518 101.9509Q-9.8557434 101.71013 -9.8917637 101.4673Q-9.9277849 101.22448 -9.951848 100.98018Q-9.9759102 100.73587 -9.9879551 100.49068Q-10 100.24548 -10 100ZM10 10L10 90L90 90L90 10L10 10Z' + ## trim > Snapshot 1 diff --git a/__test__/pathkit.spec.ts.snap b/__test__/pathkit.spec.ts.snap index 758d71ffa1ec7cd7688a2615e1e294ad4529ddc4..4ee30cae90e12acd91a09db37effbd69c76ea7d6 100644 GIT binary patch literal 2808 zcmV`nY^(y^V+k(ruT5cR=*t+q zV=#+mkspf)00000000B!nZ1r(#|?m`Bu450E>a$Bf5#+;9Fl;fBHIObi<2OLW2BLz zwY9LaD@beEZJM-sg8)w6APo__M=7eD#WlN)4O;4HSlwd5p*#eIQAV5#4f0OO0DC4^^N1g@uF zV41G7Gc3q-9j_%Z+OQ7BLh*WbinnX88su7kLg*K5pXprR0nV{a1h}4l7g**MoX+(g z*EsF}xTr36&1E4;CaNBLBNt-Mp{J#ogb2w{LaQixu>})mc2)~5 zQH81oqF|6ikJZ?9f#jCGP+cvnJCu+i7;~^okCsN;T4#i9@gaS^cWuZugikn0z@^++ zt6&mhVVewyiGi`qrp81j5GCz!3WX+?0`*qieVBkvv`mhM| zf((*aiIUud5fW=g!zpSZM8E^d&=Uw! zl;1|YAEEJq`M1BVbpQ3k-F^Da!?*XZKBoJp|DNdnuTO7IxU~%N4r{!gqAm$rp}d?t zxv7g_h}ofN(XxhE#StjPn#GDzsoG&K3#l8RB6C#^T8b}GZ;4r@>YAe#E+OTj8CXNt zL^MEj!lVcoQWA~<&YW`%Ut)1 z%qFPIi4#aJ0i2U3$ZnC+Cr+dy0=Awkd1lXH9Zu}Z#g>yLLnkB;plFw73Hi@rIK^;SXUE+3t|bWqKLVKE-{zt z_ma$&EzYi6HxXNJAJzs^3itdR!r1N@_b}2b8Wq(or;6g$i@Mg>qOGvYrNJm>V&W&>_0C%gXkMcATe1n3&Vh%+9GcnBjR zZLIepjM$~IH3(ruIgMRJ6?!epot+_+T90yF*l<;$qsrKug|MP!Y~!jh7&NtfRT>TA)E-u8r0vv8;zi3D-{FiK64(8G2W4NO z;c~cFr{%FL>98EO-(h*2voux?_UNeWhC4_(7`TJ7Iig{5a9F2gb8KVe5C9#KN2KIN z$RVOSAbaRFJ`OS3@z{g8(Qyd+4#$=p4UIz*bu#vBYhWDGvU9QLZ^L5G^A5$%gT}-G z936=}VB)dULBxSX9f$|9u=8+0TgPE%VEeSrzxFFOsvaw^^UeAOHcTHRT<5(X=Q+6F z&b`jIXy(}pNweZQTee$!D^1NS>+GrSy~?}h|nQICbKdbXHZ=QuiI>!`;q2G=<* zd#ncOtix};2=hJkkCx%ckabR)o=95{a^%~3k%D_#?mbOQ-t{7(TawovsUdHj@o*sH z=(!s3)(hM;1Z`bhL)Fmd?J$e?bA4Se!8bONeT9!8dZ4v+s111QC7TamAB}HA-g?RV zqX-=BbT`~Z4QYktXwsV_E~-*1RY&LF9D7mcTJbx^i3Y#*qIR}|dJHK&_AcsiE7Hg4 z)1!GT@k7}^#;KMa7d^w?NF3e8kZl)jNb60G!LR4)FuwS<32$TR2>HBsUO|v=YiA1_&oHu$Migae;A&p zwt1hOhe|Sx&QmMCPtHSanmYNRy+0nPG&Zio+}!Ed$L67Y4pZ|qhU`Q0P>?UCm^RuR zPm~%W*NefZO-sjfs@^kP3|nmiJDz^^Cgfs(Yg64mEcd2n7?tNaahsHTlQhi9^W?cb z{p(HF@St#>W%q}Qy^T9fjo$t({-e3nk$G`A`|-L-u>B|U)#JOnKYjGD^Ygz=&pQA5 zKIeq_E=hcg6_5WmF-MxA9 z{OZd$-`-v=ubyAsAVdtuzu#nmv+pl1=luoFr~T#7LXa=6UOf9OmV5E+v-cmqe(_&+ K5$fF|AOHY;v2{9ZjGy7ZnU;^S2 z5k}ByFCU8t00000000A9n3j~2pPXIXxG1$Gvm_@qrKBh`H?ue|v7k63zofWvVM_DO%boHoY?TZY z3>1JOAgp9(Q;=Aap^%oDlVhutlvA3jq>y5(␊ - ␊ + ␊ ` ## should be able to export text @@ -22,5 +22,5 @@ Generated by [AVA](https://avajs.dev). `␊ - ␊ + ` diff --git a/__test__/svg-canvas.spec.ts.snap b/__test__/svg-canvas.spec.ts.snap index fffa9a03d8797a979df2cb9941daf5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--- a/__test__/svg.spec.ts +++ b/__test__/svg.spec.ts @@ -16,6 +16,11 @@ test('convertSVGTextToPath should work', async (t) => { if (process.platform === 'win32') { t.pass('Skip on windows') } else { - t.deepEqual(result.toString('utf8'), output) + result + .toString('utf8') + .split('\n') + .forEach((line, index) => { + t.deepEqual(line.trim(), output.split('\n')[index]?.trim()) + }) } }) diff --git a/__test__/text-to-path.svg b/__test__/text-to-path.svg index 0ac789e9..bf680afb 100644 --- a/__test__/text-to-path.svg +++ b/__test__/text-to-path.svg @@ -1,12 +1,12 @@ - - - - - - - - - + + + + + + + + + diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 0c7fa949..831159a1 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,3 +1,3 @@ [toolchain] -channel = "nightly-2024-02-04" +channel = "nightly-2024-06-05" profile = "default" diff --git a/scripts/__test__/utils.spec.ts.snap b/scripts/__test__/utils.spec.ts.snap index 28b043a8061a29adba6c6a146b4ba08cea74a570..4c821610cab48344856a2a7339a8464a803b66c6 100644 GIT binary patch literal 449 zcmV;y0Y3ggRzViN*4Q+u zO}f_e4t|dLNo83&OlK5ovA4pn@AE#trd>>Y%7a+Ee}s}q8m1{^B6JGEE-#!EWJCmm zR76~g`2u5*F!HxLJDug#-R|smA0jDJaf8s5$SC){fG6lSexGz1X} zgn7Xz2aNjtJ`ynjSHawJIB*j&3p`4EO*%732P%ztF44UNNdk5MC4Oqe_ie*XQ%YD~ z{(~tczS>9e)IL*|d!R`@gLJrIs-Irx>#CONTJ?3MiXkfqv$&3piFd8Iu7JyR8jBtq z`MqyPYs>Ovr3sJ)(Qx4AEM~l5x|1o(E#?ygF>3KGSDXChO`jY2qn`*>4?W#Omdvg; zTL{4?(Ztfli$QyCvkSG&n%}q&&&WH!QEF$SydI7>jz*FTYUv{|Xpb%b0hZv#Mbv+e rw((U1j`?-yz8KCp!4`XLAf8&W*Tm}NHrB7_t@A$taWY_0;syW!KatU~ literal 448 zcmV;x0YCmhRzVM)adMu^!ar=V=i}WiF!g$+sYiyd- zCf(}UgP&u5Qrj#YrZWn)*jwS(_j#XR(=H|+<$fgIKLSZ44Uz;>5jbi883>dHGyo9@ zg!!CN4j2sv10*5>eFf|1!;5|_X1+^_r%5LUX-}mQ&m_8&Ac?Q;zr>G?_^xfZX-Wyp z@_#Tbz-k}GQ~OL==7J{m4ATCZseXEuud7<7Yt@&fDu%RZ!{RzNCf>HLduaI&P=Xs5QU5vG q##aqE=GUS7VmRdlTkNrccx=U96RVTkSihdP&i@2)GGI~S1^@tP0o6bN diff --git a/skia b/skia index ec3813ea..be621ea0 160000 --- a/skia +++ b/skia @@ -1 +1 @@ -Subproject commit ec3813eabd24854a1b82457064e9e3031ccc06d7 +Subproject commit be621ea04206d8fae23952783d1d588d6ce0d9b3