Partial paint-order attribute support.
Markers can only be under or above the shape.
Fixed
Compilation issues caused by rustybuzz update.
[0.24.0] - 2022-10-22
Added
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.
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 usvg to permit the latest version.
Release notes
Sourced from usvg's releases.
Changelog
Sourced from usvg's changelog.
... (truncated)
Commits
ea0f77d
Version bump.71c7254
Update dependencies.312f90d
Simplify svgtree a bit.d9c9fd9
Use latest versions on CI.0db077a
Added partialpaint-order
attribute support.8bef83d
Version bump.59b57b0
Bump dependencies.10fe663
Bump tiny-skia to fix round caps roundness.9f11a3e
Fix win build.21305b9
Fix build.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)