Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): update usvg requirement from 0.33.0 to 0.34.1 #371

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 29, 2023

Updates the requirements on usvg to permit the latest version.

Release notes

Sourced from usvg's releases.

v0.33.0

  • viewsvg is a simple application that showcases resvg capabilities
  • resvg-0.*.0.tar.xz is a sources archive with vendored Rust dependencies
  • resvg-explorer-extension.exe is an SVG thumbnailer for Windows Explorer
Changelog

Sourced from usvg's changelog.

[0.33.0] - 2023-05-17

Added

  • A new rendering algorithm. When rendering isolated groups, aka layers, we have to know the layer bounding box beforehand, which is ridiculously hard in SVG. Previously, resvg would simply use the canvas size for all the layers. Meaning that to render a 10x10px layer on a 1000x1000px canvas, we would have to allocate and then blend a 1000x1000px layer, which is just a waste of CPU cycles. The new rendering algorithm is able to calculate layer bounding boxes, which dramatically improves performance when rendering a lot of tiny layers on a large canvas. Moreover, it makes performance more linear with a canvas size increase. The paris-30k.svg sample from google/forma is rendered 115 times faster on M1 Pro now. From ~33760ms down to ~290ms. 5269x3593px canvas. If we restrict the canvas to 1000x1000px, which would contain only the actual paris-30k.svg content, then we're 13 times faster. From ~3252ms down to ~253ms.
  • resvg::Tree, aka a render tree, which is an even simpler version of usvg::Tree. usvg::Tree had to be converted into resvg::Tree before rendering now.

Changed

  • Restructure the root directory. All crates are in the crates directory now.
  • Restructure tests. New directory structure and naming scheme.
  • Use resvg::Tree::render instead of resvg::render.
  • resvg's --export-area-drawing option uses calculated bounds instead of trimming excessive alpha now. It's faster, but can lead to a slightly different output.
  • (c-api) Removed fit_to argument from resvg_render.
  • (c-api) Removed fit_to argument from resvg_render_node.
  • usvg::ScreenSize moved to resvg.
  • usvg::ScreenRect moved to resvg.
  • Rename resvg::ScreenSize into resvg::IntSize.
  • Rename resvg::ScreenRect into resvg::IntRect.

Removed

  • filter build feature from resvg. Filters are always enabled now.
  • resvg::FitTo
  • usvg::utils::view_box_to_transform_with_clip
  • usvg::Size::to_screen_size. Use resvg::IntSize::from_usvg instead.
  • usvg::Rect::to_screen_size. Use resvg::IntSize::from_usvg(rect.size()) instead.
  • usvg::Rect::to_screen_rect. Use resvg::IntRect::from_usvg instead.
  • (c-api) resvg_fit_to
  • (c-api) resvg_fit_to_type

Fixed

  • Double quotes parsing in font-family.

[0.32.0] - 2023-04-23

Added

  • Clipping and masking is up to 20% faster.
  • mask-type property support. SVG2
  • usvg_tree::MaskType

... (truncated)

Commits

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
> **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels May 29, 2023
@dependabot dependabot bot force-pushed the dependabot/cargo/usvg-0.34.1 branch 4 times, most recently from 8a97110 to 2a934e1 Compare May 29, 2023 13:43
@dependabot dependabot bot force-pushed the dependabot/cargo/usvg-0.34.1 branch 3 times, most recently from d5532cc to 83e4c0f Compare June 13, 2023 03:29
@dependabot dependabot bot force-pushed the dependabot/cargo/usvg-0.34.1 branch 4 times, most recently from b5acd85 to 25de27f Compare June 23, 2023 12:56
Updates the requirements on [usvg](https://github.com/RazrFalcon/resvg) to permit the latest version.
- [Release notes](https://github.com/RazrFalcon/resvg/releases)
- [Changelog](https://github.com/RazrFalcon/resvg/blob/master/CHANGELOG.md)
- [Commits](RazrFalcon/resvg@v0.33.0...v0.33.0)

---
updated-dependencies:
- dependency-name: usvg
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/cargo/usvg-0.34.1 branch from 25de27f to 0acc231 Compare June 28, 2023 06:36
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 9, 2023

Superseded by #434.

@dependabot dependabot bot closed this Oct 9, 2023
@dependabot dependabot bot deleted the dependabot/cargo/usvg-0.34.1 branch October 9, 2023 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants