CSS3 writing-mode variants vertical-rl and vertical-lr.
Thanks to yisibl.
(tiny-skia) AArch64 Neon SIMD support. Up to 3x faster on Apple M1.
Changed
usvg::Tree stores only Group, Path and Image nodes now.
Instead of emulating an SVG file structure, where gradients, patterns, filters, clips and masks
are part of the nodes tree (usually inside the defs element), we reference them using Rc
from now.
This change makes usvg a bit simpler. Makes usvg API way easier, since instead of
looking for a node via usvg::Tree::defs_by_id the caller can access the type directly via Rc.
And makes creation of custom usvg::Trees way easier.
clip_path, mask and filtersusvg::Group fields store Rc instead of String now.
usvg::NodeExt::units was moved to usvg::Paint::units.
usvg::filter::ImageKind::Use stores usvg::Node instead of String.
usvg::PathData stores commands and points separately now to reduce overall memory usage.
usvg::PathData segments should be accessed via segments() now.
Most numeric types have been moved to the strict-num crate.
Rename NormalizedValue into NormalizedF64.
Rename PositiveNumber into PositiveF64.
Raw number of numeric types should be accessed via get() method instead of value() now.
usvg::TextSpan::font_size is NonZeroPositiveF64 instead of f64 now.
Re-export usvg and tiny-skia dependencies in resvg.
Re-export roxmltree dependency in usvg.
(usvg) Output float precision is reduced from 11 to 8 digits.
Removed
usvg::Tree::create. usvg::Tree is an open struct now.
usvg::Tree::root. It's a public field now.
usvg::Tree::svg_node. Replaced with usvg::Tree public fields.
defs, is_in_defs, append_to_defs and defs_by_id from usvg::Tree.
We no longer emulate SVG structure. No alternative.
usvg::Tree::is_in_defs. There are no defs anymore.
usvg::Paint::Link. We store gradient and patterns directly in usvg::Paint now.
usvg::Svg. No longer needed. size and view_box are usvg::Tree fields now.
usvg::SubPathIter and usvg::PathData::subpaths. No longer used.
Fixed
Path bbox calculation scales stroke width too.
Thanks to growler.
(tiny-skia) Round caps roundness.
(xmlparser) Stack overflow on specific files.
(c-api) resvg_is_image_empty output was inverted.
[0.23.0] - 2022-06-11
Added
#RRGGBBAA and #RGBA color notation support.
Thanks to demurgos.
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.
Bumps resvg from 0.22.0 to 0.24.0.
Release notes
Sourced from resvg's releases.
Changelog
Sourced from resvg's changelog.
... (truncated)
Commits
8bef83d
Version bump.59b57b0
Bump dependencies.10fe663
Bump tiny-skia to fix round caps roundness.9f11a3e
Fix win build.21305b9
Fix build.c4c94ac
Update changelog.34ad83f
Bump dependencies.fe43439
Bump rctree.be5cf33
Reformat.4210e4b
Simplify usvg::Tree structure.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)