#RRGGBBAA and #RGBA color notation support.
Thanks to demurgos.
Fixed
Panic during recursive pattern resolving.
Thanks to FylmTM.
Spurious warning when using --export-id.
Thanks to benoit-pierre.
[0.22.0] - 2022-02-20
Added
Support svg referenced by use. External SVG files are still not supported.
Changed
ttf-parser, fontdb and rustybuzz have been updated.
[0.21.0] - 2022-02-13
Added
usvg::ImageHrefResolver that allows a custom xlink:href handling.
Thanks to antmelnyk.
usvg::Options::image_href_resolver
Support for GIF images inside the <image> element.
(fontdb) Support for loading user fonts on Windows.
(fontdb) Support for parsing fontconfig config files on Linux.
For now, only to retrieve a list of font dirs.
Changed
MSRV bumped to 1.51
usvg::ImageKind stores data as Arc<Vec<u8>> and not just Vec<u8> now.
Fixed
Every nested svg element defines a new viewBox now. Previously, we were always using the root one.
Correctly handle SVG size calculation when SVG doesn't have a size and any elements.
Improve groups ungrouping speed.
[0.20.0] - 2021-12-29
Changed
resvg::render and resvg::render_node accept a transform now.
(c-api) resvg_render and resvg_render_node accept a transform now.
usvg::Color is a custom type and not a svgtypes::Color reexport now.
usvg::Color doesn't contain alpha anymore, which have been added in v0.16
Alpha would be automatically flattened.
This makes Micro SVG
compatible with SVG 1.1 again.
(c-api) Rename RESVG_FIT_TO_* into RESVG_FIT_TO_TYPE_*.
Fixed
The --background argument in resvg correctly handles alpha now.
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 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)
Updates the requirements on resvg to permit the latest version.
Release notes
Sourced from resvg's releases.
Changelog
Sourced from resvg's changelog.
... (truncated)
Commits
a27a0a0
Version bump.9438da5
Update dependencies.d6fa421
Forbid unsafe code.f991e0b
Fix spurious warning when using --export-id.a31ca19
Replace unwrap() on linked node lookup for pattern with check5e8c634
Rewrite readme.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 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)