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

Bump resvg from 0.36.0 to 0.37.0 #221

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 18, 2023

Bumps resvg from 0.36.0 to 0.37.0.

Release notes

Sourced from resvg's releases.

v0.37.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 resvg's changelog.

[0.37.0] - 2023-12-16

Added

  • usvg can write text back to SVG now. Thanks to @​LaurenzV.
  • --preserve-text flag to the usvg CLI tool. Thanks to @​LaurenzV.
  • Support transform-origin property. Thanks to @​LaurenzV.
  • Support non-default markers order via paint-order. Previously, only fill and stroke could have been swapped. Thanks to @​LaurenzV.
  • usvg_tree::Text::flattened that will contain a flattened/outlined text.
  • usvg_tree::Text::bounding_box. Will be set only after text flattening.
  • Optimize usvg_tree::NodeExt::abs_transform by storing absolute transforms in the tree instead of calculating them each time.

Changed

  • usvg_tree::Text::positions was replaced with usvg_tree::Text::dx and usvg_tree::Text::dy. usvg_tree::CharacterPosition::x and usvg_tree::CharacterPosition::y are gone. They were redundant and you should use usvg_tree::TextChunk::x and usvg_tree::TextChunk::y instead.
  • usvg_tree::LinearGradient::id and usvg_tree::RadialGradient::id are moved to usvg_tree::BaseGradient::id.
  • Do not generate element IDs during parsing. Previously, some elements like clipPaths and filters could have generated IDs, but it wasn't very reliable and mostly unnecessary. Renderer doesn't rely on them and usvg writer would generate them anyway.
  • Text-to-paths conversion via usvg_text_layout::Tree::convert_text no longer replaces original text elements with paths, but instead puts them into usvg_tree::Text::flattened.

Removed

  • The transform field from usvg_tree::Path, usvg_tree::Image and usvg_tree::Text. Only usvg_tree::Group can have it. It doesn't break anything, because those properties were never used before anyway. Thanks to @​LaurenzV.
  • usvg_tree::CharacterPosition
  • usvg_tree::Path::text_bbox. Use usvg_tree::Text::bounding_box instead.
  • usvg_text_layout::TextToPath trait for Text nodes. Only the whole tree can be converted at once.

Fixed

  • Path object bounding box calculation. We were using point bounds instead of tight contour bounds. Was broken since v0.34
  • Convert text-to-paths in embedded SVGs as well. The one inside the Image node. Thanks to @​LaurenzV.
  • Indirect text-decoration resolving in some cases. Thanks to @​LaurenzV.
  • (usvg) Clip paths writing to SVG. Thanks to @​LaurenzV.
Commits
  • 1dfe9e5 Version bump.
  • d38a3ed Update dependencies.
  • ec819c7 (usvg-cli) Fix feImage writing.
  • 5dc9648 (usvg-cli) Fix text-on-path writing in clip paths and masks.
  • 537dd26 Support text preserving in the usvg CLI tool.
  • 7e1f99c Update changelog.
  • 3fc967b Latest svgtypes.
  • 46adb9c Fix path object bounding box calculation.
  • b9eddd6 Revert: Make pico-args a binary-only dependency.
  • 6eb5cf2 Optimize usvg_tree::NodeExt::abs_transform.
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Bumps [resvg](https://github.com/RazrFalcon/resvg) from 0.36.0 to 0.37.0.
- [Release notes](https://github.com/RazrFalcon/resvg/releases)
- [Changelog](https://github.com/RazrFalcon/resvg/blob/master/CHANGELOG.md)
- [Commits](linebender/resvg@v0.36.0...v0.37.0)

---
updated-dependencies:
- dependency-name: resvg
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Dec 18, 2023
Copy link
Contributor Author

dependabot bot commented on behalf of github Dec 21, 2023

Looks like resvg is up-to-date now, so this is no longer needed.

@dependabot dependabot bot closed this Dec 21, 2023
@dependabot dependabot bot deleted the dependabot/cargo/resvg-0.37.0 branch December 21, 2023 06:18
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants