usvg isn't converting text to paths by default now. A caller must call
usvg::Tree::convert_text or usvg::Text::convert from usvg-text-layout crate on demand.
usvg text layout implementation moved into usvg-text-layout crate.
During SVG size recovery, when no width, height and viewBox attributes have been set,
text nodes are no longer taken into an account. This is because a text node has no bbox
before conversion into path(s), which we no longer doing during parsing.
usvg is purely an SVG parser now. It doesn't convert text to paths
and doesn't write SVG anymore.
usvg::filter::ConvolveMatrixData methods are fields now.
Removed
usvg CLI binary. No alternatives for now.
All usvg build features.
filter. Filter elements are always parsed by usvg now.
text. Text elements are always parsed by usvg now.
export. usvg cannot write an SVG anymore.
usvg::Tree::to_string. usvg cannot write an SVG anymore.
usvg::TransformFromBBox trait. This is just a regular usvg::Transform method now.
usvg::OptionsRef. usvg::Options is enough from now.
usvg::Options::fontdb. Used only by usvg-text-layout now.
--dump-svg from resvg.
[0.27.0] - 2022-11-27
Added
lengthAdjust and textLength attributes support.
Support automatic image size detection.
width and height attributes can be omitted or set to auto on image now. SVG2
Fixed
--query-all flag in resvg CLI.
Percentage values resolving.
[0.26.1] - 2022-11-21
Fixed
Allow dominant-baseline and alignment-baseline to be set via CSS.
[0.26.0] - 2022-11-20
Added
Minimal dominant-baseline and alignment-baseline support.
mix-blend-mode and isolation support. SVG2
Allow writing resvg output to stdout.
Allow disabling text kerning using kerning="0" and style="font-kerning:none". SVG2
Allow <percentage> values for opacity, fill-opacity, stroke-opacity,
flood-opacity and stop-opacity attributes.
You can write opacity="50%" now. SVG2
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
9e856a5
Version bump.5913354
Improve--perf
output.36b0e0b
Revertusvg::Options::font_family
removal.11ec031
Restructure filters parsing.95bef32
Fix win build.5769dfb
Update CI.910ed01
usvg
text layout implementation moved intousvg-text-layout
crate.6b73d2a
Allow converting text to paths on-demand.a030481
Version bump.72fcaee
Support automaticimage
size detection.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)