Repository navigation
Always push wght variation coordinates - #1099
Conversation
…apping logic Co-Authored-By: Claude Fable 5 <[email protected]>
|
Since I stumbled upon this problem while using svg2pdf and then found krilla for that matter, I was not aware that resvg has its own in-house svg -> png conversion CLI tool and made an unnecessary round-trip around pdf conversion for verifying this fix. I redid the test with the same svg file this time with resvg's own CLI and the results are the same as shown below.
|
|
The bug seems real, but we are currently in the process of porting resvg to skrifa (see #922), since that PR has been rebased too often already, we will likely wait until that has been merged before merging this. Hope you understand! |
|
The "Avoiding an outline-cache regression" section has become obsolete since the caching logic has changed through the |
font-weight to the wght axis even at 400 (variable fonts whose default instance isn't Regular render the wrong weight)weight variation coordinates
weight variation coordinateswght variation coordinates
|
Yep I think it should be fine now. Thank you! |
##### [v0.48.0](https://github.com/linebender/resvg/blob/HEAD/CHANGELOG.md#0480-2026-07-31) This release has an MSRV of 1.89.0 for `usvg` and `resvg` and the C API. The big change in this release is that text support is now backed by [`skrifa`](https://github.com/googlefonts/fontations) and [`harfrust`](https://github.com/harfbuzz/harfrust) rather than [`ttf-parser`](https://github.com/harfbuzz/ttf-parser) and [`rustybuzz`](https://github.com/harfbuzz/rustybuzz): - Moves resvg onto an actively maintained font stack. - Should have faster and more correct text rendering. - Will enable further improvements to things like variable font rendering in future. - May impact binary size (expected +\~500kb for people not otherwise including fontations dependencies in their tree). - May result in small rendering changes compared to older versions of resvg. ##### Added - New `svgz` and `writer` feature gates to reduce the number of required dependencies. ([#1088](linebender/resvg#1088) by [@reed-smout](https://github.com/reed-smout)) - Warnings when parsing malformed paths. ([#1011](linebender/resvg#1011)) - A `Display` implementation for `Units`. ([#986](linebender/resvg#986)) ##### Changed - MSRV bumped from 1.87 to 1.89. The requirement comes from `font-types`. - Text shaping now uses `harfrust` instead of `rustybuzz`, and font parsing uses `skrifa` (fontations) instead of `ttf-parser`. ([#922](linebender/resvg#922) by [@nicoburns](https://github.com/nicoburns)) - Filter input dimension checks are now debug-only assertions. ([#991](linebender/resvg#991)) ##### Fixed - Glyph advances are now calculated correctly. ([#1043](linebender/resvg#1043) by [@fundon](https://github.com/fundon)) - Text nodes now inherit their absolute transform. ([#1040](linebender/resvg#1040) by [@fundon](https://github.com/fundon)) - Fixes related to non-finite values. ([#1049](linebender/resvg#1049) by [@SAY-5](https://github.com/SAY-5)) - Transforms are no longer applied twice in `abs_transform`. ([#1056](linebender/resvg#1056) by [@fundon](https://github.com/fundon)) - `fr` is now resolved for radial gradients referenced via `href`. ([#1098](linebender/resvg#1098) by [@T1mVo](https://github.com/T1mVo)) - Panic in `feComposite` with the `arithmetic` operator when the filter region is larger than the clamped layer. ([#1021](linebender/resvg#1021), [#1007](linebender/resvg#1007)) - Application of `transform` (and other group properties like `opacity`) on a nested `svg` element. - The missing dimension of an `svg` with only `width` or `height` specified is now computed from its `viewBox` aspect ratio. ([#1045](linebender/resvg#1045)) - The `wght` variation coordinate is now set even when `font-weight` has its default value. ([#1099](linebender/resvg#1099)) - The unprefixed `href` attribute now takes precedence over the deprecated `xlink:href` when both are present, as required by SVG 2. ([#1015](linebender/resvg#1015)) - Incorrect y-axis offsets when transforming `feSpotLight` sources. ([#1052](linebender/resvg#1052)) - Panics caused by bounding boxes that exceed the supported integer range. ([#989](linebender/resvg#989)) ##### [v0.47.0](https://github.com/linebender/resvg/blob/HEAD/CHANGELOG.md#0470-2026-02-05) This release has an MSRV of 1.87.0 for `usvg` and `resvg` and the C API. ##### Added - Focal radius (`fr`) supported for Radial Gradients. ([#1014](linebender/resvg#1014) by [@wmedrano](https://github.com/wmedrano)) - Support for variable fonts based on font-variation-settings CSS property. ([#997](linebender/resvg#997) by [@oetiker](https://github.com/oetiker)) ##### Changed - `tiny-skia` has a major version bump from 0.11 to 0.12.
##### [v0.48.0](https://github.com/linebender/resvg/blob/HEAD/CHANGELOG.md#0480-2026-07-31) This release has an MSRV of 1.89.0 for `usvg` and `resvg` and the C API. The big change in this release is that text support is now backed by [`skrifa`](https://github.com/googlefonts/fontations) and [`harfrust`](https://github.com/harfbuzz/harfrust) rather than [`ttf-parser`](https://github.com/harfbuzz/ttf-parser) and [`rustybuzz`](https://github.com/harfbuzz/rustybuzz): - Moves resvg onto an actively maintained font stack. - Should have faster and more correct text rendering. - Will enable further improvements to things like variable font rendering in future. - May impact binary size (expected +\~500kb for people not otherwise including fontations dependencies in their tree). - May result in small rendering changes compared to older versions of resvg. ##### Added - New `svgz` and `writer` feature gates to reduce the number of required dependencies. ([#1088](linebender/resvg#1088) by [@reed-smout](https://github.com/reed-smout)) - Warnings when parsing malformed paths. ([#1011](linebender/resvg#1011)) - A `Display` implementation for `Units`. ([#986](linebender/resvg#986)) ##### Changed - MSRV bumped from 1.87 to 1.89. The requirement comes from `font-types`. - Text shaping now uses `harfrust` instead of `rustybuzz`, and font parsing uses `skrifa` (fontations) instead of `ttf-parser`. ([#922](linebender/resvg#922) by [@nicoburns](https://github.com/nicoburns)) - Filter input dimension checks are now debug-only assertions. ([#991](linebender/resvg#991)) ##### Fixed - Glyph advances are now calculated correctly. ([#1043](linebender/resvg#1043) by [@fundon](https://github.com/fundon)) - Text nodes now inherit their absolute transform. ([#1040](linebender/resvg#1040) by [@fundon](https://github.com/fundon)) - Fixes related to non-finite values. ([#1049](linebender/resvg#1049) by [@SAY-5](https://github.com/SAY-5)) - Transforms are no longer applied twice in `abs_transform`. ([#1056](linebender/resvg#1056) by [@fundon](https://github.com/fundon)) - `fr` is now resolved for radial gradients referenced via `href`. ([#1098](linebender/resvg#1098) by [@T1mVo](https://github.com/T1mVo)) - Panic in `feComposite` with the `arithmetic` operator when the filter region is larger than the clamped layer. ([#1021](linebender/resvg#1021), [#1007](linebender/resvg#1007)) - Application of `transform` (and other group properties like `opacity`) on a nested `svg` element. - The missing dimension of an `svg` with only `width` or `height` specified is now computed from its `viewBox` aspect ratio. ([#1045](linebender/resvg#1045)) - The `wght` variation coordinate is now set even when `font-weight` has its default value. ([#1099](linebender/resvg#1099)) - The unprefixed `href` attribute now takes precedence over the deprecated `xlink:href` when both are present, as required by SVG 2. ([#1015](linebender/resvg#1015)) - Incorrect y-axis offsets when transforming `feSpotLight` sources. ([#1052](linebender/resvg#1052)) - Panics caused by bounding boxes that exceed the supported integer range. ([#989](linebender/resvg#989)) ##### [v0.47.0](https://github.com/linebender/resvg/blob/HEAD/CHANGELOG.md#0470-2026-02-05) This release has an MSRV of 1.87.0 for `usvg` and `resvg` and the C API. ##### Added - Focal radius (`fr`) supported for Radial Gradients. ([#1014](linebender/resvg#1014) by [@wmedrano](https://github.com/wmedrano)) - Support for variable fonts based on font-variation-settings CSS property. ([#997](linebender/resvg#997) by [@oetiker](https://github.com/oetiker)) ##### Changed - `tiny-skia` has a major version bump from 0.11 to 0.12.
##### [v0.48.1](https://github.com/linebender/resvg/blob/HEAD/CHANGELOG.md#0481-2026-08-02) This release has an MSRV of 1.85.0 for `usvg` and `resvg` and the C API. ##### Changed - MSRV lowered from 1.89 to 1.85. ([#1109](linebender/resvg#1109)) - Downgraded strict-num dependency to 0.1.1. This prevents duplicate versions from being included ([#1110](linebender/resvg#1110)) ##### Fixed - Fixed an `as_mut_slice` future-compatibility warning. ([#1108](linebender/resvg#1108)) ##### [v0.48.0](https://github.com/linebender/resvg/blob/HEAD/CHANGELOG.md#0480-2026-07-31) This release has an MSRV of 1.89.0 for `usvg` and `resvg` and the C API. The big change in this release is that text support is now backed by [`skrifa`](https://github.com/googlefonts/fontations) and [`harfrust`](https://github.com/harfbuzz/harfrust) rather than [`ttf-parser`](https://github.com/harfbuzz/ttf-parser) and [`rustybuzz`](https://github.com/harfbuzz/rustybuzz): - Moves resvg onto an actively maintained font stack. - Should have faster and more correct text rendering. - Will enable further improvements to things like variable font rendering in future. - May impact binary size (expected +\~500kb for people not otherwise including fontations dependencies in their tree). - May result in small rendering changes compared to older versions of resvg. ##### Added - New `svgz` and `writer` feature gates to reduce the number of required dependencies. ([#1088](linebender/resvg#1088) by [@reed-smout](https://github.com/reed-smout)) - Warnings when parsing malformed paths. ([#1011](linebender/resvg#1011)) - A `Display` implementation for `Units`. ([#986](linebender/resvg#986)) ##### Changed - MSRV bumped from 1.87 to 1.89. The requirement comes from `font-types`. - Text shaping now uses `harfrust` instead of `rustybuzz`, and font parsing uses `skrifa` (fontations) instead of `ttf-parser`. ([#922](linebender/resvg#922) by [@nicoburns](https://github.com/nicoburns)) - Filter input dimension checks are now debug-only assertions. ([#991](linebender/resvg#991)) ##### Fixed - Glyph advances are now calculated correctly. ([#1043](linebender/resvg#1043) by [@fundon](https://github.com/fundon)) - Text nodes now inherit their absolute transform. ([#1040](linebender/resvg#1040) by [@fundon](https://github.com/fundon)) - Fixes related to non-finite values. ([#1049](linebender/resvg#1049) by [@SAY-5](https://github.com/SAY-5)) - Transforms are no longer applied twice in `abs_transform`. ([#1056](linebender/resvg#1056) by [@fundon](https://github.com/fundon)) - `fr` is now resolved for radial gradients referenced via `href`. ([#1098](linebender/resvg#1098) by [@T1mVo](https://github.com/T1mVo)) - Panic in `feComposite` with the `arithmetic` operator when the filter region is larger than the clamped layer. ([#1021](linebender/resvg#1021), [#1007](linebender/resvg#1007)) - Application of `transform` (and other group properties like `opacity`) on a nested `svg` element. - The missing dimension of an `svg` with only `width` or `height` specified is now computed from its `viewBox` aspect ratio. ([#1045](linebender/resvg#1045)) - The `wght` variation coordinate is now set even when `font-weight` has its default value. ([#1099](linebender/resvg#1099)) - The unprefixed `href` attribute now takes precedence over the deprecated `xlink:href` when both are present, as required by SVG 2. ([#1015](linebender/resvg#1015)) - Incorrect y-axis offsets when transforming `feSpotLight` sources. ([#1052](linebender/resvg#1052)) - Panics caused by bounding boxes that exceed the supported integer range. ([#989](linebender/resvg#989)) ##### [v0.47.0](https://github.com/linebender/resvg/blob/HEAD/CHANGELOG.md#0470-2026-02-05) This release has an MSRV of 1.87.0 for `usvg` and `resvg` and the C API. ##### Added - Focal radius (`fr`) supported for Radial Gradients. ([#1014](linebender/resvg#1014) by [@wmedrano](https://github.com/wmedrano)) - Support for variable fonts based on font-variation-settings CSS property. ([#997](linebender/resvg#997) by [@oetiker](https://github.com/oetiker)) ##### Changed - `tiny-skia` has a major version bump from 0.11 to 0.12.
##### [v0.48.1](https://github.com/linebender/resvg/blob/HEAD/CHANGELOG.md#0481-2026-08-02) This release has an MSRV of 1.85.0 for `usvg` and `resvg` and the C API. ##### Changed - MSRV lowered from 1.89 to 1.85. ([#1109](linebender/resvg#1109)) - Downgraded strict-num dependency to 0.1.1. This prevents duplicate versions from being included ([#1110](linebender/resvg#1110)) ##### Fixed - Fixed an `as_mut_slice` future-compatibility warning. ([#1108](linebender/resvg#1108)) ##### [v0.48.0](https://github.com/linebender/resvg/blob/HEAD/CHANGELOG.md#0480-2026-07-31) This release has an MSRV of 1.89.0 for `usvg` and `resvg` and the C API. The big change in this release is that text support is now backed by [`skrifa`](https://github.com/googlefonts/fontations) and [`harfrust`](https://github.com/harfbuzz/harfrust) rather than [`ttf-parser`](https://github.com/harfbuzz/ttf-parser) and [`rustybuzz`](https://github.com/harfbuzz/rustybuzz): - Moves resvg onto an actively maintained font stack. - Should have faster and more correct text rendering. - Will enable further improvements to things like variable font rendering in future. - May impact binary size (expected +\~500kb for people not otherwise including fontations dependencies in their tree). - May result in small rendering changes compared to older versions of resvg. ##### Added - New `svgz` and `writer` feature gates to reduce the number of required dependencies. ([#1088](linebender/resvg#1088) by [@reed-smout](https://github.com/reed-smout)) - Warnings when parsing malformed paths. ([#1011](linebender/resvg#1011)) - A `Display` implementation for `Units`. ([#986](linebender/resvg#986)) ##### Changed - MSRV bumped from 1.87 to 1.89. The requirement comes from `font-types`. - Text shaping now uses `harfrust` instead of `rustybuzz`, and font parsing uses `skrifa` (fontations) instead of `ttf-parser`. ([#922](linebender/resvg#922) by [@nicoburns](https://github.com/nicoburns)) - Filter input dimension checks are now debug-only assertions. ([#991](linebender/resvg#991)) ##### Fixed - Glyph advances are now calculated correctly. ([#1043](linebender/resvg#1043) by [@fundon](https://github.com/fundon)) - Text nodes now inherit their absolute transform. ([#1040](linebender/resvg#1040) by [@fundon](https://github.com/fundon)) - Fixes related to non-finite values. ([#1049](linebender/resvg#1049) by [@SAY-5](https://github.com/SAY-5)) - Transforms are no longer applied twice in `abs_transform`. ([#1056](linebender/resvg#1056) by [@fundon](https://github.com/fundon)) - `fr` is now resolved for radial gradients referenced via `href`. ([#1098](linebender/resvg#1098) by [@T1mVo](https://github.com/T1mVo)) - Panic in `feComposite` with the `arithmetic` operator when the filter region is larger than the clamped layer. ([#1021](linebender/resvg#1021), [#1007](linebender/resvg#1007)) - Application of `transform` (and other group properties like `opacity`) on a nested `svg` element. - The missing dimension of an `svg` with only `width` or `height` specified is now computed from its `viewBox` aspect ratio. ([#1045](linebender/resvg#1045)) - The `wght` variation coordinate is now set even when `font-weight` has its default value. ([#1099](linebender/resvg#1099)) - The unprefixed `href` attribute now takes precedence over the deprecated `xlink:href` when both are present, as required by SVG 2. ([#1015](linebender/resvg#1015)) - Incorrect y-axis offsets when transforming `feSpotLight` sources. ([#1052](linebender/resvg#1052)) - Panics caused by bounding boxes that exceed the supported integer range. ([#989](linebender/resvg#989)) ##### [v0.47.0](https://github.com/linebender/resvg/blob/HEAD/CHANGELOG.md#0470-2026-02-05) This release has an MSRV of 1.87.0 for `usvg` and `resvg` and the C API. ##### Added - Focal radius (`fr`) supported for Radial Gradients. ([#1014](linebender/resvg#1014) by [@wmedrano](https://github.com/wmedrano)) - Support for variable fonts based on font-variation-settings CSS property. ([#997](linebender/resvg#997) by [@oetiker](https://github.com/oetiker)) ##### Changed - `tiny-skia` has a major version bump from 0.11 to 0.12.
##### [v0.48.1](https://github.com/linebender/resvg/blob/HEAD/CHANGELOG.md#0481-2026-08-02) This release has an MSRV of 1.85.0 for `usvg` and `resvg` and the C API. ##### Changed - MSRV lowered from 1.89 to 1.85. ([#1109](linebender/resvg#1109)) - Downgraded strict-num dependency to 0.1.1. This prevents duplicate versions from being included ([#1110](linebender/resvg#1110)) ##### Fixed - Fixed an `as_mut_slice` future-compatibility warning. ([#1108](linebender/resvg#1108)) ##### [v0.48.0](https://github.com/linebender/resvg/blob/HEAD/CHANGELOG.md#0480-2026-07-31) This release has an MSRV of 1.89.0 for `usvg` and `resvg` and the C API. The big change in this release is that text support is now backed by [`skrifa`](https://github.com/googlefonts/fontations) and [`harfrust`](https://github.com/harfbuzz/harfrust) rather than [`ttf-parser`](https://github.com/harfbuzz/ttf-parser) and [`rustybuzz`](https://github.com/harfbuzz/rustybuzz): - Moves resvg onto an actively maintained font stack. - Should have faster and more correct text rendering. - Will enable further improvements to things like variable font rendering in future. - May impact binary size (expected +\~500kb for people not otherwise including fontations dependencies in their tree). - May result in small rendering changes compared to older versions of resvg. ##### Added - New `svgz` and `writer` feature gates to reduce the number of required dependencies. ([#1088](linebender/resvg#1088) by [@reed-smout](https://github.com/reed-smout)) - Warnings when parsing malformed paths. ([#1011](linebender/resvg#1011)) - A `Display` implementation for `Units`. ([#986](linebender/resvg#986)) ##### Changed - MSRV bumped from 1.87 to 1.89. The requirement comes from `font-types`. - Text shaping now uses `harfrust` instead of `rustybuzz`, and font parsing uses `skrifa` (fontations) instead of `ttf-parser`. ([#922](linebender/resvg#922) by [@nicoburns](https://github.com/nicoburns)) - Filter input dimension checks are now debug-only assertions. ([#991](linebender/resvg#991)) ##### Fixed - Glyph advances are now calculated correctly. ([#1043](linebender/resvg#1043) by [@fundon](https://github.com/fundon)) - Text nodes now inherit their absolute transform. ([#1040](linebender/resvg#1040) by [@fundon](https://github.com/fundon)) - Fixes related to non-finite values. ([#1049](linebender/resvg#1049) by [@SAY-5](https://github.com/SAY-5)) - Transforms are no longer applied twice in `abs_transform`. ([#1056](linebender/resvg#1056) by [@fundon](https://github.com/fundon)) - `fr` is now resolved for radial gradients referenced via `href`. ([#1098](linebender/resvg#1098) by [@T1mVo](https://github.com/T1mVo)) - Panic in `feComposite` with the `arithmetic` operator when the filter region is larger than the clamped layer. ([#1021](linebender/resvg#1021), [#1007](linebender/resvg#1007)) - Application of `transform` (and other group properties like `opacity`) on a nested `svg` element. - The missing dimension of an `svg` with only `width` or `height` specified is now computed from its `viewBox` aspect ratio. ([#1045](linebender/resvg#1045)) - The `wght` variation coordinate is now set even when `font-weight` has its default value. ([#1099](linebender/resvg#1099)) - The unprefixed `href` attribute now takes precedence over the deprecated `xlink:href` when both are present, as required by SVG 2. ([#1015](linebender/resvg#1015)) - Incorrect y-axis offsets when transforming `feSpotLight` sources. ([#1052](linebender/resvg#1052)) - Panics caused by bounding boxes that exceed the supported integer range. ([#989](linebender/resvg#989)) ##### [v0.47.0](https://github.com/linebender/resvg/blob/HEAD/CHANGELOG.md#0470-2026-02-05) This release has an MSRV of 1.87.0 for `usvg` and `resvg` and the C API. ##### Added - Focal radius (`fr`) supported for Radial Gradients. ([#1014](linebender/resvg#1014) by [@wmedrano](https://github.com/wmedrano)) - Support for variable fonts based on font-variation-settings CSS property. ([#997](linebender/resvg#997) by [@oetiker](https://github.com/oetiker)) ##### Changed - `tiny-skia` has a major version bump from 0.11 to 0.12.
##### [v0.48.1](https://github.com/linebender/resvg/blob/HEAD/CHANGELOG.md#0481-2026-08-02) This release has an MSRV of 1.85.0 for `usvg` and `resvg` and the C API. ##### Changed - MSRV lowered from 1.89 to 1.85. ([#1109](linebender/resvg#1109)) - Downgraded strict-num dependency to 0.1.1. This prevents duplicate versions from being included ([#1110](linebender/resvg#1110)) ##### Fixed - Fixed an `as_mut_slice` future-compatibility warning. ([#1108](linebender/resvg#1108)) ##### [v0.48.0](https://github.com/linebender/resvg/blob/HEAD/CHANGELOG.md#0480-2026-07-31) This release has an MSRV of 1.89.0 for `usvg` and `resvg` and the C API. The big change in this release is that text support is now backed by [`skrifa`](https://github.com/googlefonts/fontations) and [`harfrust`](https://github.com/harfbuzz/harfrust) rather than [`ttf-parser`](https://github.com/harfbuzz/ttf-parser) and [`rustybuzz`](https://github.com/harfbuzz/rustybuzz): - Moves resvg onto an actively maintained font stack. - Should have faster and more correct text rendering. - Will enable further improvements to things like variable font rendering in future. - May impact binary size (expected +\~500kb for people not otherwise including fontations dependencies in their tree). - May result in small rendering changes compared to older versions of resvg. ##### Added - New `svgz` and `writer` feature gates to reduce the number of required dependencies. ([#1088](linebender/resvg#1088) by [@reed-smout](https://github.com/reed-smout)) - Warnings when parsing malformed paths. ([#1011](linebender/resvg#1011)) - A `Display` implementation for `Units`. ([#986](linebender/resvg#986)) ##### Changed - MSRV bumped from 1.87 to 1.89. The requirement comes from `font-types`. - Text shaping now uses `harfrust` instead of `rustybuzz`, and font parsing uses `skrifa` (fontations) instead of `ttf-parser`. ([#922](linebender/resvg#922) by [@nicoburns](https://github.com/nicoburns)) - Filter input dimension checks are now debug-only assertions. ([#991](linebender/resvg#991)) ##### Fixed - Glyph advances are now calculated correctly. ([#1043](linebender/resvg#1043) by [@fundon](https://github.com/fundon)) - Text nodes now inherit their absolute transform. ([#1040](linebender/resvg#1040) by [@fundon](https://github.com/fundon)) - Fixes related to non-finite values. ([#1049](linebender/resvg#1049) by [@SAY-5](https://github.com/SAY-5)) - Transforms are no longer applied twice in `abs_transform`. ([#1056](linebender/resvg#1056) by [@fundon](https://github.com/fundon)) - `fr` is now resolved for radial gradients referenced via `href`. ([#1098](linebender/resvg#1098) by [@T1mVo](https://github.com/T1mVo)) - Panic in `feComposite` with the `arithmetic` operator when the filter region is larger than the clamped layer. ([#1021](linebender/resvg#1021), [#1007](linebender/resvg#1007)) - Application of `transform` (and other group properties like `opacity`) on a nested `svg` element. - The missing dimension of an `svg` with only `width` or `height` specified is now computed from its `viewBox` aspect ratio. ([#1045](linebender/resvg#1045)) - The `wght` variation coordinate is now set even when `font-weight` has its default value. ([#1099](linebender/resvg#1099)) - The unprefixed `href` attribute now takes precedence over the deprecated `xlink:href` when both are present, as required by SVG 2. ([#1015](linebender/resvg#1015)) - Incorrect y-axis offsets when transforming `feSpotLight` sources. ([#1052](linebender/resvg#1052)) - Panics caused by bounding boxes that exceed the supported integer range. ([#989](linebender/resvg#989)) ##### [v0.47.0](https://github.com/linebender/resvg/blob/HEAD/CHANGELOG.md#0470-2026-02-05) This release has an MSRV of 1.87.0 for `usvg` and `resvg` and the C API. ##### Added - Focal radius (`fr`) supported for Radial Gradients. ([#1014](linebender/resvg#1014) by [@wmedrano](https://github.com/wmedrano)) - Support for variable fonts based on font-variation-settings CSS property. ([#997](linebender/resvg#997) by [@oetiker](https://github.com/oetiker)) ##### Changed - `tiny-skia` has a major version bump from 0.11 to 0.12.
##### [v0.48.1](https://github.com/linebender/resvg/blob/HEAD/CHANGELOG.md#0481-2026-08-02) This release has an MSRV of 1.85.0 for `usvg` and `resvg` and the C API. ##### Changed - MSRV lowered from 1.89 to 1.85. ([#1109](linebender/resvg#1109)) - Downgraded strict-num dependency to 0.1.1. This prevents duplicate versions from being included ([#1110](linebender/resvg#1110)) ##### Fixed - Fixed an `as_mut_slice` future-compatibility warning. ([#1108](linebender/resvg#1108)) ##### [v0.48.0](https://github.com/linebender/resvg/blob/HEAD/CHANGELOG.md#0480-2026-07-31) This release has an MSRV of 1.89.0 for `usvg` and `resvg` and the C API. The big change in this release is that text support is now backed by [`skrifa`](https://github.com/googlefonts/fontations) and [`harfrust`](https://github.com/harfbuzz/harfrust) rather than [`ttf-parser`](https://github.com/harfbuzz/ttf-parser) and [`rustybuzz`](https://github.com/harfbuzz/rustybuzz): - Moves resvg onto an actively maintained font stack. - Should have faster and more correct text rendering. - Will enable further improvements to things like variable font rendering in future. - May impact binary size (expected +\~500kb for people not otherwise including fontations dependencies in their tree). - May result in small rendering changes compared to older versions of resvg. ##### Added - New `svgz` and `writer` feature gates to reduce the number of required dependencies. ([#1088](linebender/resvg#1088) by [@reed-smout](https://github.com/reed-smout)) - Warnings when parsing malformed paths. ([#1011](linebender/resvg#1011)) - A `Display` implementation for `Units`. ([#986](linebender/resvg#986)) ##### Changed - MSRV bumped from 1.87 to 1.89. The requirement comes from `font-types`. - Text shaping now uses `harfrust` instead of `rustybuzz`, and font parsing uses `skrifa` (fontations) instead of `ttf-parser`. ([#922](linebender/resvg#922) by [@nicoburns](https://github.com/nicoburns)) - Filter input dimension checks are now debug-only assertions. ([#991](linebender/resvg#991)) ##### Fixed - Glyph advances are now calculated correctly. ([#1043](linebender/resvg#1043) by [@fundon](https://github.com/fundon)) - Text nodes now inherit their absolute transform. ([#1040](linebender/resvg#1040) by [@fundon](https://github.com/fundon)) - Fixes related to non-finite values. ([#1049](linebender/resvg#1049) by [@SAY-5](https://github.com/SAY-5)) - Transforms are no longer applied twice in `abs_transform`. ([#1056](linebender/resvg#1056) by [@fundon](https://github.com/fundon)) - `fr` is now resolved for radial gradients referenced via `href`. ([#1098](linebender/resvg#1098) by [@T1mVo](https://github.com/T1mVo)) - Panic in `feComposite` with the `arithmetic` operator when the filter region is larger than the clamped layer. ([#1021](linebender/resvg#1021), [#1007](linebender/resvg#1007)) - Application of `transform` (and other group properties like `opacity`) on a nested `svg` element. - The missing dimension of an `svg` with only `width` or `height` specified is now computed from its `viewBox` aspect ratio. ([#1045](linebender/resvg#1045)) - The `wght` variation coordinate is now set even when `font-weight` has its default value. ([#1099](linebender/resvg#1099)) - The unprefixed `href` attribute now takes precedence over the deprecated `xlink:href` when both are present, as required by SVG 2. ([#1015](linebender/resvg#1015)) - Incorrect y-axis offsets when transforming `feSpotLight` sources. ([#1052](linebender/resvg#1052)) - Panics caused by bounding boxes that exceed the supported integer range. ([#989](linebender/resvg#989)) ##### [v0.47.0](https://github.com/linebender/resvg/blob/HEAD/CHANGELOG.md#0470-2026-02-05) This release has an MSRV of 1.87.0 for `usvg` and `resvg` and the C API. ##### Added - Focal radius (`fr`) supported for Radial Gradients. ([#1014](linebender/resvg#1014) by [@wmedrano](https://github.com/wmedrano)) - Support for variable fonts based on font-variation-settings CSS property. ([#997](linebender/resvg#997) by [@oetiker](https://github.com/oetiker)) ##### Changed - `tiny-skia` has a major version bump from 0.11 to 0.12.
##### [v0.48.1](https://github.com/linebender/resvg/blob/HEAD/CHANGELOG.md#0481-2026-08-02) This release has an MSRV of 1.85.0 for `usvg` and `resvg` and the C API. ##### Changed - MSRV lowered from 1.89 to 1.85. ([#1109](linebender/resvg#1109)) - Downgraded strict-num dependency to 0.1.1. This prevents duplicate versions from being included ([#1110](linebender/resvg#1110)) ##### Fixed - Fixed an `as_mut_slice` future-compatibility warning. ([#1108](linebender/resvg#1108)) ##### [v0.48.0](https://github.com/linebender/resvg/blob/HEAD/CHANGELOG.md#0480-2026-07-31) This release has an MSRV of 1.89.0 for `usvg` and `resvg` and the C API. The big change in this release is that text support is now backed by [`skrifa`](https://github.com/googlefonts/fontations) and [`harfrust`](https://github.com/harfbuzz/harfrust) rather than [`ttf-parser`](https://github.com/harfbuzz/ttf-parser) and [`rustybuzz`](https://github.com/harfbuzz/rustybuzz): - Moves resvg onto an actively maintained font stack. - Should have faster and more correct text rendering. - Will enable further improvements to things like variable font rendering in future. - May impact binary size (expected +\~500kb for people not otherwise including fontations dependencies in their tree). - May result in small rendering changes compared to older versions of resvg. ##### Added - New `svgz` and `writer` feature gates to reduce the number of required dependencies. ([#1088](linebender/resvg#1088) by [@reed-smout](https://github.com/reed-smout)) - Warnings when parsing malformed paths. ([#1011](linebender/resvg#1011)) - A `Display` implementation for `Units`. ([#986](linebender/resvg#986)) ##### Changed - MSRV bumped from 1.87 to 1.89. The requirement comes from `font-types`. - Text shaping now uses `harfrust` instead of `rustybuzz`, and font parsing uses `skrifa` (fontations) instead of `ttf-parser`. ([#922](linebender/resvg#922) by [@nicoburns](https://github.com/nicoburns)) - Filter input dimension checks are now debug-only assertions. ([#991](linebender/resvg#991)) ##### Fixed - Glyph advances are now calculated correctly. ([#1043](linebender/resvg#1043) by [@fundon](https://github.com/fundon)) - Text nodes now inherit their absolute transform. ([#1040](linebender/resvg#1040) by [@fundon](https://github.com/fundon)) - Fixes related to non-finite values. ([#1049](linebender/resvg#1049) by [@SAY-5](https://github.com/SAY-5)) - Transforms are no longer applied twice in `abs_transform`. ([#1056](linebender/resvg#1056) by [@fundon](https://github.com/fundon)) - `fr` is now resolved for radial gradients referenced via `href`. ([#1098](linebender/resvg#1098) by [@T1mVo](https://github.com/T1mVo)) - Panic in `feComposite` with the `arithmetic` operator when the filter region is larger than the clamped layer. ([#1021](linebender/resvg#1021), [#1007](linebender/resvg#1007)) - Application of `transform` (and other group properties like `opacity`) on a nested `svg` element. - The missing dimension of an `svg` with only `width` or `height` specified is now computed from its `viewBox` aspect ratio. ([#1045](linebender/resvg#1045)) - The `wght` variation coordinate is now set even when `font-weight` has its default value. ([#1099](linebender/resvg#1099)) - The unprefixed `href` attribute now takes precedence over the deprecated `xlink:href` when both are present, as required by SVG 2. ([#1015](linebender/resvg#1015)) - Incorrect y-axis offsets when transforming `feSpotLight` sources. ([#1052](linebender/resvg#1052)) - Panics caused by bounding boxes that exceed the supported integer range. ([#989](linebender/resvg#989)) ##### [v0.47.0](https://github.com/linebender/resvg/blob/HEAD/CHANGELOG.md#0470-2026-02-05) This release has an MSRV of 1.87.0 for `usvg` and `resvg` and the C API. ##### Added - Focal radius (`fr`) supported for Radial Gradients. ([#1014](linebender/resvg#1014) by [@wmedrano](https://github.com/wmedrano)) - Support for variable fonts based on font-variation-settings CSS property. ([#997](linebender/resvg#997) by [@oetiker](https://github.com/oetiker)) ##### Changed - `tiny-skia` has a major version bump from 0.11 to 0.12.
##### [v0.48.1](https://github.com/linebender/resvg/blob/HEAD/CHANGELOG.md#0481-2026-08-02) This release has an MSRV of 1.85.0 for `usvg` and `resvg` and the C API. ##### Changed - MSRV lowered from 1.89 to 1.85. ([#1109](linebender/resvg#1109)) - Downgraded strict-num dependency to 0.1.1. This prevents duplicate versions from being included ([#1110](linebender/resvg#1110)) ##### Fixed - Fixed an `as_mut_slice` future-compatibility warning. ([#1108](linebender/resvg#1108)) ##### [v0.48.0](https://github.com/linebender/resvg/blob/HEAD/CHANGELOG.md#0480-2026-07-31) This release has an MSRV of 1.89.0 for `usvg` and `resvg` and the C API. The big change in this release is that text support is now backed by [`skrifa`](https://github.com/googlefonts/fontations) and [`harfrust`](https://github.com/harfbuzz/harfrust) rather than [`ttf-parser`](https://github.com/harfbuzz/ttf-parser) and [`rustybuzz`](https://github.com/harfbuzz/rustybuzz): - Moves resvg onto an actively maintained font stack. - Should have faster and more correct text rendering. - Will enable further improvements to things like variable font rendering in future. - May impact binary size (expected +\~500kb for people not otherwise including fontations dependencies in their tree). - May result in small rendering changes compared to older versions of resvg. ##### Added - New `svgz` and `writer` feature gates to reduce the number of required dependencies. ([#1088](linebender/resvg#1088) by [@reed-smout](https://github.com/reed-smout)) - Warnings when parsing malformed paths. ([#1011](linebender/resvg#1011)) - A `Display` implementation for `Units`. ([#986](linebender/resvg#986)) ##### Changed - MSRV bumped from 1.87 to 1.89. The requirement comes from `font-types`. - Text shaping now uses `harfrust` instead of `rustybuzz`, and font parsing uses `skrifa` (fontations) instead of `ttf-parser`. ([#922](linebender/resvg#922) by [@nicoburns](https://github.com/nicoburns)) - Filter input dimension checks are now debug-only assertions. ([#991](linebender/resvg#991)) ##### Fixed - Glyph advances are now calculated correctly. ([#1043](linebender/resvg#1043) by [@fundon](https://github.com/fundon)) - Text nodes now inherit their absolute transform. ([#1040](linebender/resvg#1040) by [@fundon](https://github.com/fundon)) - Fixes related to non-finite values. ([#1049](linebender/resvg#1049) by [@SAY-5](https://github.com/SAY-5)) - Transforms are no longer applied twice in `abs_transform`. ([#1056](linebender/resvg#1056) by [@fundon](https://github.com/fundon)) - `fr` is now resolved for radial gradients referenced via `href`. ([#1098](linebender/resvg#1098) by [@T1mVo](https://github.com/T1mVo)) - Panic in `feComposite` with the `arithmetic` operator when the filter region is larger than the clamped layer. ([#1021](linebender/resvg#1021), [#1007](linebender/resvg#1007)) - Application of `transform` (and other group properties like `opacity`) on a nested `svg` element. - The missing dimension of an `svg` with only `width` or `height` specified is now computed from its `viewBox` aspect ratio. ([#1045](linebender/resvg#1045)) - The `wght` variation coordinate is now set even when `font-weight` has its default value. ([#1099](linebender/resvg#1099)) - The unprefixed `href` attribute now takes precedence over the deprecated `xlink:href` when both are present, as required by SVG 2. ([#1015](linebender/resvg#1015)) - Incorrect y-axis offsets when transforming `feSpotLight` sources. ([#1052](linebender/resvg#1052)) - Panics caused by bounding boxes that exceed the supported integer range. ([#989](linebender/resvg#989)) ##### [v0.47.0](https://github.com/linebender/resvg/blob/HEAD/CHANGELOG.md#0470-2026-02-05) This release has an MSRV of 1.87.0 for `usvg` and `resvg` and the C API. ##### Added - Focal radius (`fr`) supported for Radial Gradients. ([#1014](linebender/resvg#1014) by [@wmedrano](https://github.com/wmedrano)) - Support for variable fonts based on font-variation-settings CSS property. ([#997](linebender/resvg#997) by [@oetiker](https://github.com/oetiker)) ##### Changed - `tiny-skia` has a major version bump from 0.11 to 0.12.
##### [v0.48.1](https://github.com/linebender/resvg/blob/HEAD/CHANGELOG.md#0481-2026-08-02) This release has an MSRV of 1.85.0 for `usvg` and `resvg` and the C API. ##### Changed - MSRV lowered from 1.89 to 1.85. ([#1109](linebender/resvg#1109)) - Downgraded strict-num dependency to 0.1.1. This prevents duplicate versions from being included ([#1110](linebender/resvg#1110)) ##### Fixed - Fixed an `as_mut_slice` future-compatibility warning. ([#1108](linebender/resvg#1108)) ##### [v0.48.0](https://github.com/linebender/resvg/blob/HEAD/CHANGELOG.md#0480-2026-07-31) This release has an MSRV of 1.89.0 for `usvg` and `resvg` and the C API. The big change in this release is that text support is now backed by [`skrifa`](https://github.com/googlefonts/fontations) and [`harfrust`](https://github.com/harfbuzz/harfrust) rather than [`ttf-parser`](https://github.com/harfbuzz/ttf-parser) and [`rustybuzz`](https://github.com/harfbuzz/rustybuzz): - Moves resvg onto an actively maintained font stack. - Should have faster and more correct text rendering. - Will enable further improvements to things like variable font rendering in future. - May impact binary size (expected +\~500kb for people not otherwise including fontations dependencies in their tree). - May result in small rendering changes compared to older versions of resvg. ##### Added - New `svgz` and `writer` feature gates to reduce the number of required dependencies. ([#1088](linebender/resvg#1088) by [@reed-smout](https://github.com/reed-smout)) - Warnings when parsing malformed paths. ([#1011](linebender/resvg#1011)) - A `Display` implementation for `Units`. ([#986](linebender/resvg#986)) ##### Changed - MSRV bumped from 1.87 to 1.89. The requirement comes from `font-types`. - Text shaping now uses `harfrust` instead of `rustybuzz`, and font parsing uses `skrifa` (fontations) instead of `ttf-parser`. ([#922](linebender/resvg#922) by [@nicoburns](https://github.com/nicoburns)) - Filter input dimension checks are now debug-only assertions. ([#991](linebender/resvg#991)) ##### Fixed - Glyph advances are now calculated correctly. ([#1043](linebender/resvg#1043) by [@fundon](https://github.com/fundon)) - Text nodes now inherit their absolute transform. ([#1040](linebender/resvg#1040) by [@fundon](https://github.com/fundon)) - Fixes related to non-finite values. ([#1049](linebender/resvg#1049) by [@SAY-5](https://github.com/SAY-5)) - Transforms are no longer applied twice in `abs_transform`. ([#1056](linebender/resvg#1056) by [@fundon](https://github.com/fundon)) - `fr` is now resolved for radial gradients referenced via `href`. ([#1098](linebender/resvg#1098) by [@T1mVo](https://github.com/T1mVo)) - Panic in `feComposite` with the `arithmetic` operator when the filter region is larger than the clamped layer. ([#1021](linebender/resvg#1021), [#1007](linebender/resvg#1007)) - Application of `transform` (and other group properties like `opacity`) on a nested `svg` element. - The missing dimension of an `svg` with only `width` or `height` specified is now computed from its `viewBox` aspect ratio. ([#1045](linebender/resvg#1045)) - The `wght` variation coordinate is now set even when `font-weight` has its default value. ([#1099](linebender/resvg#1099)) - The unprefixed `href` attribute now takes precedence over the deprecated `xlink:href` when both are present, as required by SVG 2. ([#1015](linebender/resvg#1015)) - Incorrect y-axis offsets when transforming `feSpotLight` sources. ([#1052](linebender/resvg#1052)) - Panics caused by bounding boxes that exceed the supported integer range. ([#989](linebender/resvg#989)) ##### [v0.47.0](https://github.com/linebender/resvg/blob/HEAD/CHANGELOG.md#0470-2026-02-05) This release has an MSRV of 1.87.0 for `usvg` and `resvg` and the C API. ##### Added - Focal radius (`fr`) supported for Radial Gradients. ([#1014](linebender/resvg#1014) by [@wmedrano](https://github.com/wmedrano)) - Support for variable fonts based on font-variation-settings CSS property. ([#997](linebender/resvg#997) by [@oetiker](https://github.com/oetiker)) ##### Changed - `tiny-skia` has a major version bump from 0.11 to 0.12.
##### [v0.48.1](https://github.com/linebender/resvg/blob/HEAD/CHANGELOG.md#0481-2026-08-02) This release has an MSRV of 1.85.0 for `usvg` and `resvg` and the C API. ##### Changed - MSRV lowered from 1.89 to 1.85. ([#1109](linebender/resvg#1109)) - Downgraded strict-num dependency to 0.1.1. This prevents duplicate versions from being included ([#1110](linebender/resvg#1110)) ##### Fixed - Fixed an `as_mut_slice` future-compatibility warning. ([#1108](linebender/resvg#1108)) ##### [v0.48.0](https://github.com/linebender/resvg/blob/HEAD/CHANGELOG.md#0480-2026-07-31) This release has an MSRV of 1.89.0 for `usvg` and `resvg` and the C API. The big change in this release is that text support is now backed by [`skrifa`](https://github.com/googlefonts/fontations) and [`harfrust`](https://github.com/harfbuzz/harfrust) rather than [`ttf-parser`](https://github.com/harfbuzz/ttf-parser) and [`rustybuzz`](https://github.com/harfbuzz/rustybuzz): - Moves resvg onto an actively maintained font stack. - Should have faster and more correct text rendering. - Will enable further improvements to things like variable font rendering in future. - May impact binary size (expected +\~500kb for people not otherwise including fontations dependencies in their tree). - May result in small rendering changes compared to older versions of resvg. ##### Added - New `svgz` and `writer` feature gates to reduce the number of required dependencies. ([#1088](linebender/resvg#1088) by [@reed-smout](https://github.com/reed-smout)) - Warnings when parsing malformed paths. ([#1011](linebender/resvg#1011)) - A `Display` implementation for `Units`. ([#986](linebender/resvg#986)) ##### Changed - MSRV bumped from 1.87 to 1.89. The requirement comes from `font-types`. - Text shaping now uses `harfrust` instead of `rustybuzz`, and font parsing uses `skrifa` (fontations) instead of `ttf-parser`. ([#922](linebender/resvg#922) by [@nicoburns](https://github.com/nicoburns)) - Filter input dimension checks are now debug-only assertions. ([#991](linebender/resvg#991)) ##### Fixed - Glyph advances are now calculated correctly. ([#1043](linebender/resvg#1043) by [@fundon](https://github.com/fundon)) - Text nodes now inherit their absolute transform. ([#1040](linebender/resvg#1040) by [@fundon](https://github.com/fundon)) - Fixes related to non-finite values. ([#1049](linebender/resvg#1049) by [@SAY-5](https://github.com/SAY-5)) - Transforms are no longer applied twice in `abs_transform`. ([#1056](linebender/resvg#1056) by [@fundon](https://github.com/fundon)) - `fr` is now resolved for radial gradients referenced via `href`. ([#1098](linebender/resvg#1098) by [@T1mVo](https://github.com/T1mVo)) - Panic in `feComposite` with the `arithmetic` operator when the filter region is larger than the clamped layer. ([#1021](linebender/resvg#1021), [#1007](linebender/resvg#1007)) - Application of `transform` (and other group properties like `opacity`) on a nested `svg` element. - The missing dimension of an `svg` with only `width` or `height` specified is now computed from its `viewBox` aspect ratio. ([#1045](linebender/resvg#1045)) - The `wght` variation coordinate is now set even when `font-weight` has its default value. ([#1099](linebender/resvg#1099)) - The unprefixed `href` attribute now takes precedence over the deprecated `xlink:href` when both are present, as required by SVG 2. ([#1015](linebender/resvg#1015)) - Incorrect y-axis offsets when transforming `feSpotLight` sources. ([#1052](linebender/resvg#1052)) - Panics caused by bounding boxes that exceed the supported integer range. ([#989](linebender/resvg#989)) ##### [v0.47.0](https://github.com/linebender/resvg/blob/HEAD/CHANGELOG.md#0470-2026-02-05) This release has an MSRV of 1.87.0 for `usvg` and `resvg` and the C API. ##### Added - Focal radius (`fr`) supported for Radial Gradients. ([#1014](linebender/resvg#1014) by [@wmedrano](https://github.com/wmedrano)) - Support for variable fonts based on font-variation-settings CSS property. ([#997](linebender/resvg#997) by [@oetiker](https://github.com/oetiker)) ##### Changed - `tiny-skia` has a major version bump from 0.11 to 0.12.
##### [v0.48.1](https://github.com/linebender/resvg/blob/HEAD/CHANGELOG.md#0481-2026-08-02) This release has an MSRV of 1.85.0 for `usvg` and `resvg` and the C API. ##### Changed - MSRV lowered from 1.89 to 1.85. ([#1109](linebender/resvg#1109)) - Downgraded strict-num dependency to 0.1.1. This prevents duplicate versions from being included ([#1110](linebender/resvg#1110)) ##### Fixed - Fixed an `as_mut_slice` future-compatibility warning. ([#1108](linebender/resvg#1108)) ##### [v0.48.0](https://github.com/linebender/resvg/blob/HEAD/CHANGELOG.md#0480-2026-07-31) This release has an MSRV of 1.89.0 for `usvg` and `resvg` and the C API. The big change in this release is that text support is now backed by [`skrifa`](https://github.com/googlefonts/fontations) and [`harfrust`](https://github.com/harfbuzz/harfrust) rather than [`ttf-parser`](https://github.com/harfbuzz/ttf-parser) and [`rustybuzz`](https://github.com/harfbuzz/rustybuzz): - Moves resvg onto an actively maintained font stack. - Should have faster and more correct text rendering. - Will enable further improvements to things like variable font rendering in future. - May impact binary size (expected +\~500kb for people not otherwise including fontations dependencies in their tree). - May result in small rendering changes compared to older versions of resvg. ##### Added - New `svgz` and `writer` feature gates to reduce the number of required dependencies. ([#1088](linebender/resvg#1088) by [@reed-smout](https://github.com/reed-smout)) - Warnings when parsing malformed paths. ([#1011](linebender/resvg#1011)) - A `Display` implementation for `Units`. ([#986](linebender/resvg#986)) ##### Changed - MSRV bumped from 1.87 to 1.89. The requirement comes from `font-types`. - Text shaping now uses `harfrust` instead of `rustybuzz`, and font parsing uses `skrifa` (fontations) instead of `ttf-parser`. ([#922](linebender/resvg#922) by [@nicoburns](https://github.com/nicoburns)) - Filter input dimension checks are now debug-only assertions. ([#991](linebender/resvg#991)) ##### Fixed - Glyph advances are now calculated correctly. ([#1043](linebender/resvg#1043) by [@fundon](https://github.com/fundon)) - Text nodes now inherit their absolute transform. ([#1040](linebender/resvg#1040) by [@fundon](https://github.com/fundon)) - Fixes related to non-finite values. ([#1049](linebender/resvg#1049) by [@SAY-5](https://github.com/SAY-5)) - Transforms are no longer applied twice in `abs_transform`. ([#1056](linebender/resvg#1056) by [@fundon](https://github.com/fundon)) - `fr` is now resolved for radial gradients referenced via `href`. ([#1098](linebender/resvg#1098) by [@T1mVo](https://github.com/T1mVo)) - Panic in `feComposite` with the `arithmetic` operator when the filter region is larger than the clamped layer. ([#1021](linebender/resvg#1021), [#1007](linebender/resvg#1007)) - Application of `transform` (and other group properties like `opacity`) on a nested `svg` element. - The missing dimension of an `svg` with only `width` or `height` specified is now computed from its `viewBox` aspect ratio. ([#1045](linebender/resvg#1045)) - The `wght` variation coordinate is now set even when `font-weight` has its default value. ([#1099](linebender/resvg#1099)) - The unprefixed `href` attribute now takes precedence over the deprecated `xlink:href` when both are present, as required by SVG 2. ([#1015](linebender/resvg#1015)) - Incorrect y-axis offsets when transforming `feSpotLight` sources. ([#1052](linebender/resvg#1052)) - Panics caused by bounding boxes that exceed the supported integer range. ([#989](linebender/resvg#989)) ##### [v0.47.0](https://github.com/linebender/resvg/blob/HEAD/CHANGELOG.md#0470-2026-02-05) This release has an MSRV of 1.87.0 for `usvg` and `resvg` and the C API. ##### Added - Focal radius (`fr`) supported for Radial Gradients. ([#1014](linebender/resvg#1014) by [@wmedrano](https://github.com/wmedrano)) - Support for variable fonts based on font-variation-settings CSS property. ([#997](linebender/resvg#997) by [@oetiker](https://github.com/oetiker)) ##### Changed - `tiny-skia` has a major version bump from 0.11 to 0.12.
Upstream: linebender/resvg@35679dc Variations are already part of the Font hash / text-layout cache key, and non-variable fonts still use the cached glyph outlines in flatten.
##### [v0.48.1](https://github.com/linebender/resvg/blob/HEAD/CHANGELOG.md#0481-2026-08-02) This release has an MSRV of 1.85.0 for `usvg` and `resvg` and the C API. ##### Changed - MSRV lowered from 1.89 to 1.85. ([#1109](linebender/resvg#1109)) - Downgraded strict-num dependency to 0.1.1. This prevents duplicate versions from being included ([#1110](linebender/resvg#1110)) ##### Fixed - Fixed an `as_mut_slice` future-compatibility warning. ([#1108](linebender/resvg#1108)) ##### [v0.48.0](https://github.com/linebender/resvg/blob/HEAD/CHANGELOG.md#0480-2026-07-31) This release has an MSRV of 1.89.0 for `usvg` and `resvg` and the C API. The big change in this release is that text support is now backed by [`skrifa`](https://github.com/googlefonts/fontations) and [`harfrust`](https://github.com/harfbuzz/harfrust) rather than [`ttf-parser`](https://github.com/harfbuzz/ttf-parser) and [`rustybuzz`](https://github.com/harfbuzz/rustybuzz): - Moves resvg onto an actively maintained font stack. - Should have faster and more correct text rendering. - Will enable further improvements to things like variable font rendering in future. - May impact binary size (expected +\~500kb for people not otherwise including fontations dependencies in their tree). - May result in small rendering changes compared to older versions of resvg. ##### Added - New `svgz` and `writer` feature gates to reduce the number of required dependencies. ([#1088](linebender/resvg#1088) by [@reed-smout](https://github.com/reed-smout)) - Warnings when parsing malformed paths. ([#1011](linebender/resvg#1011)) - A `Display` implementation for `Units`. ([#986](linebender/resvg#986)) ##### Changed - MSRV bumped from 1.87 to 1.89. The requirement comes from `font-types`. - Text shaping now uses `harfrust` instead of `rustybuzz`, and font parsing uses `skrifa` (fontations) instead of `ttf-parser`. ([#922](linebender/resvg#922) by [@nicoburns](https://github.com/nicoburns)) - Filter input dimension checks are now debug-only assertions. ([#991](linebender/resvg#991)) ##### Fixed - Glyph advances are now calculated correctly. ([#1043](linebender/resvg#1043) by [@fundon](https://github.com/fundon)) - Text nodes now inherit their absolute transform. ([#1040](linebender/resvg#1040) by [@fundon](https://github.com/fundon)) - Fixes related to non-finite values. ([#1049](linebender/resvg#1049) by [@SAY-5](https://github.com/SAY-5)) - Transforms are no longer applied twice in `abs_transform`. ([#1056](linebender/resvg#1056) by [@fundon](https://github.com/fundon)) - `fr` is now resolved for radial gradients referenced via `href`. ([#1098](linebender/resvg#1098) by [@T1mVo](https://github.com/T1mVo)) - Panic in `feComposite` with the `arithmetic` operator when the filter region is larger than the clamped layer. ([#1021](linebender/resvg#1021), [#1007](linebender/resvg#1007)) - Application of `transform` (and other group properties like `opacity`) on a nested `svg` element. - The missing dimension of an `svg` with only `width` or `height` specified is now computed from its `viewBox` aspect ratio. ([#1045](linebender/resvg#1045)) - The `wght` variation coordinate is now set even when `font-weight` has its default value. ([#1099](linebender/resvg#1099)) - The unprefixed `href` attribute now takes precedence over the deprecated `xlink:href` when both are present, as required by SVG 2. ([#1015](linebender/resvg#1015)) - Incorrect y-axis offsets when transforming `feSpotLight` sources. ([#1052](linebender/resvg#1052)) - Panics caused by bounding boxes that exceed the supported integer range. ([#989](linebender/resvg#989)) ##### [v0.47.0](https://github.com/linebender/resvg/blob/HEAD/CHANGELOG.md#0470-2026-02-05) This release has an MSRV of 1.87.0 for `usvg` and `resvg` and the C API. ##### Added - Focal radius (`fr`) supported for Radial Gradients. ([#1014](linebender/resvg#1014) by [@wmedrano](https://github.com/wmedrano)) - Support for variable fonts based on font-variation-settings CSS property. ([#997](linebender/resvg#997) by [@oetiker](https://github.com/oetiker)) ##### Changed - `tiny-skia` has a major version bump from 0.11 to 0.12.
##### [v0.48.1](https://github.com/linebender/resvg/blob/HEAD/CHANGELOG.md#0481-2026-08-02) This release has an MSRV of 1.85.0 for `usvg` and `resvg` and the C API. ##### Changed - MSRV lowered from 1.89 to 1.85. ([#1109](linebender/resvg#1109)) - Downgraded strict-num dependency to 0.1.1. This prevents duplicate versions from being included ([#1110](linebender/resvg#1110)) ##### Fixed - Fixed an `as_mut_slice` future-compatibility warning. ([#1108](linebender/resvg#1108)) ##### [v0.48.0](https://github.com/linebender/resvg/blob/HEAD/CHANGELOG.md#0480-2026-07-31) This release has an MSRV of 1.89.0 for `usvg` and `resvg` and the C API. The big change in this release is that text support is now backed by [`skrifa`](https://github.com/googlefonts/fontations) and [`harfrust`](https://github.com/harfbuzz/harfrust) rather than [`ttf-parser`](https://github.com/harfbuzz/ttf-parser) and [`rustybuzz`](https://github.com/harfbuzz/rustybuzz): - Moves resvg onto an actively maintained font stack. - Should have faster and more correct text rendering. - Will enable further improvements to things like variable font rendering in future. - May impact binary size (expected +\~500kb for people not otherwise including fontations dependencies in their tree). - May result in small rendering changes compared to older versions of resvg. ##### Added - New `svgz` and `writer` feature gates to reduce the number of required dependencies. ([#1088](linebender/resvg#1088) by [@reed-smout](https://github.com/reed-smout)) - Warnings when parsing malformed paths. ([#1011](linebender/resvg#1011)) - A `Display` implementation for `Units`. ([#986](linebender/resvg#986)) ##### Changed - MSRV bumped from 1.87 to 1.89. The requirement comes from `font-types`. - Text shaping now uses `harfrust` instead of `rustybuzz`, and font parsing uses `skrifa` (fontations) instead of `ttf-parser`. ([#922](linebender/resvg#922) by [@nicoburns](https://github.com/nicoburns)) - Filter input dimension checks are now debug-only assertions. ([#991](linebender/resvg#991)) ##### Fixed - Glyph advances are now calculated correctly. ([#1043](linebender/resvg#1043) by [@fundon](https://github.com/fundon)) - Text nodes now inherit their absolute transform. ([#1040](linebender/resvg#1040) by [@fundon](https://github.com/fundon)) - Fixes related to non-finite values. ([#1049](linebender/resvg#1049) by [@SAY-5](https://github.com/SAY-5)) - Transforms are no longer applied twice in `abs_transform`. ([#1056](linebender/resvg#1056) by [@fundon](https://github.com/fundon)) - `fr` is now resolved for radial gradients referenced via `href`. ([#1098](linebender/resvg#1098) by [@T1mVo](https://github.com/T1mVo)) - Panic in `feComposite` with the `arithmetic` operator when the filter region is larger than the clamped layer. ([#1021](linebender/resvg#1021), [#1007](linebender/resvg#1007)) - Application of `transform` (and other group properties like `opacity`) on a nested `svg` element. - The missing dimension of an `svg` with only `width` or `height` specified is now computed from its `viewBox` aspect ratio. ([#1045](linebender/resvg#1045)) - The `wght` variation coordinate is now set even when `font-weight` has its default value. ([#1099](linebender/resvg#1099)) - The unprefixed `href` attribute now takes precedence over the deprecated `xlink:href` when both are present, as required by SVG 2. ([#1015](linebender/resvg#1015)) - Incorrect y-axis offsets when transforming `feSpotLight` sources. ([#1052](linebender/resvg#1052)) - Panics caused by bounding boxes that exceed the supported integer range. ([#989](linebender/resvg#989)) ##### [v0.47.0](https://github.com/linebender/resvg/blob/HEAD/CHANGELOG.md#0470-2026-02-05) This release has an MSRV of 1.87.0 for `usvg` and `resvg` and the C API. ##### Added - Focal radius (`fr`) supported for Radial Gradients. ([#1014](linebender/resvg#1014) by [@wmedrano](https://github.com/wmedrano)) - Support for variable fonts based on font-variation-settings CSS property. ([#997](linebender/resvg#997) by [@oetiker](https://github.com/oetiker)) ##### Changed - `tiny-skia` has a major version bump from 0.11 to 0.12.
##### [v0.48.1](https://github.com/linebender/resvg/blob/HEAD/CHANGELOG.md#0481-2026-08-02) This release has an MSRV of 1.85.0 for `usvg` and `resvg` and the C API. ##### Changed - MSRV lowered from 1.89 to 1.85. ([#1109](linebender/resvg#1109)) - Downgraded strict-num dependency to 0.1.1. This prevents duplicate versions from being included ([#1110](linebender/resvg#1110)) ##### Fixed - Fixed an `as_mut_slice` future-compatibility warning. ([#1108](linebender/resvg#1108)) ##### [v0.48.0](https://github.com/linebender/resvg/blob/HEAD/CHANGELOG.md#0480-2026-07-31) This release has an MSRV of 1.89.0 for `usvg` and `resvg` and the C API. The big change in this release is that text support is now backed by [`skrifa`](https://github.com/googlefonts/fontations) and [`harfrust`](https://github.com/harfbuzz/harfrust) rather than [`ttf-parser`](https://github.com/harfbuzz/ttf-parser) and [`rustybuzz`](https://github.com/harfbuzz/rustybuzz): - Moves resvg onto an actively maintained font stack. - Should have faster and more correct text rendering. - Will enable further improvements to things like variable font rendering in future. - May impact binary size (expected +\~500kb for people not otherwise including fontations dependencies in their tree). - May result in small rendering changes compared to older versions of resvg. ##### Added - New `svgz` and `writer` feature gates to reduce the number of required dependencies. ([#1088](linebender/resvg#1088) by [@reed-smout](https://github.com/reed-smout)) - Warnings when parsing malformed paths. ([#1011](linebender/resvg#1011)) - A `Display` implementation for `Units`. ([#986](linebender/resvg#986)) ##### Changed - MSRV bumped from 1.87 to 1.89. The requirement comes from `font-types`. - Text shaping now uses `harfrust` instead of `rustybuzz`, and font parsing uses `skrifa` (fontations) instead of `ttf-parser`. ([#922](linebender/resvg#922) by [@nicoburns](https://github.com/nicoburns)) - Filter input dimension checks are now debug-only assertions. ([#991](linebender/resvg#991)) ##### Fixed - Glyph advances are now calculated correctly. ([#1043](linebender/resvg#1043) by [@fundon](https://github.com/fundon)) - Text nodes now inherit their absolute transform. ([#1040](linebender/resvg#1040) by [@fundon](https://github.com/fundon)) - Fixes related to non-finite values. ([#1049](linebender/resvg#1049) by [@SAY-5](https://github.com/SAY-5)) - Transforms are no longer applied twice in `abs_transform`. ([#1056](linebender/resvg#1056) by [@fundon](https://github.com/fundon)) - `fr` is now resolved for radial gradients referenced via `href`. ([#1098](linebender/resvg#1098) by [@T1mVo](https://github.com/T1mVo)) - Panic in `feComposite` with the `arithmetic` operator when the filter region is larger than the clamped layer. ([#1021](linebender/resvg#1021), [#1007](linebender/resvg#1007)) - Application of `transform` (and other group properties like `opacity`) on a nested `svg` element. - The missing dimension of an `svg` with only `width` or `height` specified is now computed from its `viewBox` aspect ratio. ([#1045](linebender/resvg#1045)) - The `wght` variation coordinate is now set even when `font-weight` has its default value. ([#1099](linebender/resvg#1099)) - The unprefixed `href` attribute now takes precedence over the deprecated `xlink:href` when both are present, as required by SVG 2. ([#1015](linebender/resvg#1015)) - Incorrect y-axis offsets when transforming `feSpotLight` sources. ([#1052](linebender/resvg#1052)) - Panics caused by bounding boxes that exceed the supported integer range. ([#989](linebender/resvg#989)) ##### [v0.47.0](https://github.com/linebender/resvg/blob/HEAD/CHANGELOG.md#0470-2026-02-05) This release has an MSRV of 1.87.0 for `usvg` and `resvg` and the C API. ##### Added - Focal radius (`fr`) supported for Radial Gradients. ([#1014](linebender/resvg#1014) by [@wmedrano](https://github.com/wmedrano)) - Support for variable fonts based on font-variation-settings CSS property. ([#997](linebender/resvg#997) by [@oetiker](https://github.com/oetiker)) ##### Changed - `tiny-skia` has a major version bump from 0.11 to 0.12.
##### [v0.48.1](https://github.com/linebender/resvg/blob/HEAD/CHANGELOG.md#0481-2026-08-02) This release has an MSRV of 1.85.0 for `usvg` and `resvg` and the C API. ##### Changed - MSRV lowered from 1.89 to 1.85. ([#1109](linebender/resvg#1109)) - Downgraded strict-num dependency to 0.1.1. This prevents duplicate versions from being included ([#1110](linebender/resvg#1110)) ##### Fixed - Fixed an `as_mut_slice` future-compatibility warning. ([#1108](linebender/resvg#1108)) ##### [v0.48.0](https://github.com/linebender/resvg/blob/HEAD/CHANGELOG.md#0480-2026-07-31) This release has an MSRV of 1.89.0 for `usvg` and `resvg` and the C API. The big change in this release is that text support is now backed by [`skrifa`](https://github.com/googlefonts/fontations) and [`harfrust`](https://github.com/harfbuzz/harfrust) rather than [`ttf-parser`](https://github.com/harfbuzz/ttf-parser) and [`rustybuzz`](https://github.com/harfbuzz/rustybuzz): - Moves resvg onto an actively maintained font stack. - Should have faster and more correct text rendering. - Will enable further improvements to things like variable font rendering in future. - May impact binary size (expected +\~500kb for people not otherwise including fontations dependencies in their tree). - May result in small rendering changes compared to older versions of resvg. ##### Added - New `svgz` and `writer` feature gates to reduce the number of required dependencies. ([#1088](linebender/resvg#1088) by [@reed-smout](https://github.com/reed-smout)) - Warnings when parsing malformed paths. ([#1011](linebender/resvg#1011)) - A `Display` implementation for `Units`. ([#986](linebender/resvg#986)) ##### Changed - MSRV bumped from 1.87 to 1.89. The requirement comes from `font-types`. - Text shaping now uses `harfrust` instead of `rustybuzz`, and font parsing uses `skrifa` (fontations) instead of `ttf-parser`. ([#922](linebender/resvg#922) by [@nicoburns](https://github.com/nicoburns)) - Filter input dimension checks are now debug-only assertions. ([#991](linebender/resvg#991)) ##### Fixed - Glyph advances are now calculated correctly. ([#1043](linebender/resvg#1043) by [@fundon](https://github.com/fundon)) - Text nodes now inherit their absolute transform. ([#1040](linebender/resvg#1040) by [@fundon](https://github.com/fundon)) - Fixes related to non-finite values. ([#1049](linebender/resvg#1049) by [@SAY-5](https://github.com/SAY-5)) - Transforms are no longer applied twice in `abs_transform`. ([#1056](linebender/resvg#1056) by [@fundon](https://github.com/fundon)) - `fr` is now resolved for radial gradients referenced via `href`. ([#1098](linebender/resvg#1098) by [@T1mVo](https://github.com/T1mVo)) - Panic in `feComposite` with the `arithmetic` operator when the filter region is larger than the clamped layer. ([#1021](linebender/resvg#1021), [#1007](linebender/resvg#1007)) - Application of `transform` (and other group properties like `opacity`) on a nested `svg` element. - The missing dimension of an `svg` with only `width` or `height` specified is now computed from its `viewBox` aspect ratio. ([#1045](linebender/resvg#1045)) - The `wght` variation coordinate is now set even when `font-weight` has its default value. ([#1099](linebender/resvg#1099)) - The unprefixed `href` attribute now takes precedence over the deprecated `xlink:href` when both are present, as required by SVG 2. ([#1015](linebender/resvg#1015)) - Incorrect y-axis offsets when transforming `feSpotLight` sources. ([#1052](linebender/resvg#1052)) - Panics caused by bounding boxes that exceed the supported integer range. ([#989](linebender/resvg#989)) ##### [v0.47.0](https://github.com/linebender/resvg/blob/HEAD/CHANGELOG.md#0470-2026-02-05) This release has an MSRV of 1.87.0 for `usvg` and `resvg` and the C API. ##### Added - Focal radius (`fr`) supported for Radial Gradients. ([#1014](linebender/resvg#1014) by [@wmedrano](https://github.com/wmedrano)) - Support for variable fonts based on font-variation-settings CSS property. ([#997](linebender/resvg#997) by [@oetiker](https://github.com/oetiker)) ##### Changed - `tiny-skia` has a major version bump from 0.11 to 0.12.
##### [v0.49.0](https://github.com/linebender/resvg/blob/HEAD/CHANGELOG.md#0490-2026-10-24) This release has an MSRV of 1.85.0 for `usvg` and `resvg` and the C API. ##### Added - `--query-bbox` CLI option to query the drawing bounding box without rasterizing it. ([#1050](linebender/resvg#1050)) - `mix-blend-mode: plus-lighter` (Compositing and Blending Level 2). ([#1142](linebender/resvg#1142)) - `feComposite` `operator="lighter"` (SVG 2). ([#1142](linebender/resvg#1142)) - Prebuilt `aarch64` release binaries for Linux and Windows. ([#1132](linebender/resvg#1132)) ##### Changed - `usvg::BlendMode` and `usvg::filter::CompositeOperator` have new `PlusLighter` and `Lighter` variants. ([#1142](linebender/resvg#1142)) - `Group::layer_bounding_box` of a group without filters is now clipped by its clip path, so clipped groups allocate smaller layers. This also affects the sizes reported by `--query-all` and used by `--export-id`. ([#1158](linebender/resvg#1158)) ##### Fixed - `dominant-baseline` is now correctly inherited by nested `<tspan>` elements, so a nested span stays on the same baseline as its siblings. ([#1086](linebender/resvg#1086)) - Panics and incorrect clipping when a filter region is smaller than its input. ([#1144](linebender/resvg#1144)) - Incorrect transform order on the outermost `svg` element with a `viewBox`. ([#1085](linebender/resvg#1085)) - Relative positioning of right-to-left text with `dx` and `dy`, including text on a path and text decorations. ([#1145](linebender/resvg#1145)) - `text-anchor` now uses the actual extent of a text chunk, which `dx` and `textLength` can change. ([#1145](linebender/resvg#1145)) - Filters inside rotated or skewed groups are now applied in the user space of the group. This fixes the clipping to filter regions and subregions, as well as the direction of offsets, blurs, turbulence and tiles, and the rendering of `feImage`. ([#1155](linebender/resvg#1155)) - `gradientTransform` and `patternTransform` are now inherited via `href`. ([#1135](linebender/resvg#1135)) - The bounding box of an `<image>` with `preserveAspectRatio="… slice"` is now its viewport, so `objectBoundingBox` clip paths, masks and filters on it are resolved correctly. ([#1077](linebender/resvg#1077)) - Markers are now clipped to their viewport instead of their `viewBox` when the aspect ratios differ. ([#1163](linebender/resvg#1163)) - Object bounding box gradients inside masks, patterns and `feImage` filters used by more than one element are now resolved correctly, instead of being rendered as a flat fill or not at all. ([#1164](linebender/resvg#1164)) - `feMorphology` kernels are now symmetric and fractional radii are rounded to the nearest pixel. ([#1120](linebender/resvg#1120)) - Font fallback log messages now always name the correct fallback font family. ([#1154](linebender/resvg#1154)) - The `resvg` CLI no longer rounds fractional image sizes before scaling, and rounds the output size up instead of to the nearest integer. ([#875](linebender/resvg#875)) - The C API header was missing `RESVG_ERROR_SVGZ_UNSUPPORTED`, so all following error codes were off by one. ([#1122](linebender/resvg#1122)) - `cargo-c` now installs `ResvgQt.h` alongside `resvg.h`. ([#1182](linebender/resvg#1182)) ##### [v0.48.1](https://github.com/linebender/resvg/blob/HEAD/CHANGELOG.md#0481-2026-08-02) This release has an MSRV of 1.85.0 for `usvg` and `resvg` and the C API. ##### Changed - MSRV lowered from 1.89 to 1.85. ([#1109](linebender/resvg#1109)) - Downgraded strict-num dependency to 0.1.1. This prevents duplicate versions from being included ([#1110](linebender/resvg#1110)) ##### Fixed - Fixed an `as_mut_slice` future-compatibility warning. ([#1108](linebender/resvg#1108)) ##### [v0.48.0](https://github.com/linebender/resvg/blob/HEAD/CHANGELOG.md#0480-2026-07-31) This release has an MSRV of 1.89.0 for `usvg` and `resvg` and the C API. The big change in this release is that text support is now backed by [`skrifa`](https://github.com/googlefonts/fontations) and [`harfrust`](https://github.com/harfbuzz/harfrust) rather than [`ttf-parser`](https://github.com/harfbuzz/ttf-parser) and [`rustybuzz`](https://github.com/harfbuzz/rustybuzz): - Moves resvg onto an actively maintained font stack. - Should have faster and more correct text rendering. - Will enable further improvements to things like variable font rendering in future. - May impact binary size (expected +\~500kb for people not otherwise including fontations dependencies in their tree). - May result in small rendering changes compared to older versions of resvg. ##### Added - New `svgz` and `writer` feature gates to reduce the number of required dependencies. ([#1088](linebender/resvg#1088) by [@reed-smout](https://github.com/reed-smout)) - Warnings when parsing malformed paths. ([#1011](linebender/resvg#1011)) - A `Display` implementation for `Units`. ([#986](linebender/resvg#986)) ##### Changed - MSRV bumped from 1.87 to 1.89. The requirement comes from `font-types`. - Text shaping now uses `harfrust` instead of `rustybuzz`, and font parsing uses `skrifa` (fontations) instead of `ttf-parser`. ([#922](linebender/resvg#922) by [@nicoburns](https://github.com/nicoburns)) - Filter input dimension checks are now debug-only assertions. ([#991](linebender/resvg#991)) ##### Fixed - Glyph advances are now calculated correctly. ([#1043](linebender/resvg#1043) by [@fundon](https://github.com/fundon)) - Text nodes now inherit their absolute transform. ([#1040](linebender/resvg#1040) by [@fundon](https://github.com/fundon)) - Fixes related to non-finite values. ([#1049](linebender/resvg#1049) by [@SAY-5](https://github.com/SAY-5)) - Transforms are no longer applied twice in `abs_transform`. ([#1056](linebender/resvg#1056) by [@fundon](https://github.com/fundon)) - `fr` is now resolved for radial gradients referenced via `href`. ([#1098](linebender/resvg#1098) by [@T1mVo](https://github.com/T1mVo)) - Panic in `feComposite` with the `arithmetic` operator when the filter region is larger than the clamped layer. ([#1021](linebender/resvg#1021), [#1007](linebender/resvg#1007)) - Application of `transform` (and other group properties like `opacity`) on a nested `svg` element. - The missing dimension of an `svg` with only `width` or `height` specified is now computed from its `viewBox` aspect ratio. ([#1045](linebender/resvg#1045)) - The `wght` variation coordinate is now set even when `font-weight` has its default value. ([#1099](linebender/resvg#1099)) - The unprefixed `href` attribute now takes precedence over the deprecated `xlink:href` when both are present, as required by SVG 2. ([#1015](linebender/resvg#1015)) - Incorrect y-axis offsets when transforming `feSpotLight` sources. ([#1052](linebender/resvg#1052)) - Panics caused by bounding boxes that exceed the supported integer range. ([#989](linebender/resvg#989)) ##### [v0.47.0](https://github.com/linebender/resvg/blob/HEAD/CHANGELOG.md#0470-2026-02-05) This release has an MSRV of 1.87.0 for `usvg` and `resvg` and the C API. ##### Added - Focal radius (`fr`) supported for Radial Gradients. ([#1014](linebender/resvg#1014) by [@wmedrano](https://github.com/wmedrano)) - Support for variable fonts based on font-variation-settings CSS property. ([#997](linebender/resvg#997) by [@oetiker](https://github.com/oetiker)) ##### Changed - `tiny-skia` has a major version bump from 0.11 to 0.12.
##### [v0.49.0](https://github.com/linebender/resvg/blob/HEAD/CHANGELOG.md#0490-2026-10-24) This release has an MSRV of 1.85.0 for `usvg` and `resvg` and the C API. ##### Added - `--query-bbox` CLI option to query the drawing bounding box without rasterizing it. ([#1050](linebender/resvg#1050)) - `mix-blend-mode: plus-lighter` (Compositing and Blending Level 2). ([#1142](linebender/resvg#1142)) - `feComposite` `operator="lighter"` (SVG 2). ([#1142](linebender/resvg#1142)) - Prebuilt `aarch64` release binaries for Linux and Windows. ([#1132](linebender/resvg#1132)) ##### Changed - `usvg::BlendMode` and `usvg::filter::CompositeOperator` have new `PlusLighter` and `Lighter` variants. ([#1142](linebender/resvg#1142)) - `Group::layer_bounding_box` of a group without filters is now clipped by its clip path, so clipped groups allocate smaller layers. This also affects the sizes reported by `--query-all` and used by `--export-id`. ([#1158](linebender/resvg#1158)) ##### Fixed - `dominant-baseline` is now correctly inherited by nested `<tspan>` elements, so a nested span stays on the same baseline as its siblings. ([#1086](linebender/resvg#1086)) - Panics and incorrect clipping when a filter region is smaller than its input. ([#1144](linebender/resvg#1144)) - Incorrect transform order on the outermost `svg` element with a `viewBox`. ([#1085](linebender/resvg#1085)) - Relative positioning of right-to-left text with `dx` and `dy`, including text on a path and text decorations. ([#1145](linebender/resvg#1145)) - `text-anchor` now uses the actual extent of a text chunk, which `dx` and `textLength` can change. ([#1145](linebender/resvg#1145)) - Filters inside rotated or skewed groups are now applied in the user space of the group. This fixes the clipping to filter regions and subregions, as well as the direction of offsets, blurs, turbulence and tiles, and the rendering of `feImage`. ([#1155](linebender/resvg#1155)) - `gradientTransform` and `patternTransform` are now inherited via `href`. ([#1135](linebender/resvg#1135)) - The bounding box of an `<image>` with `preserveAspectRatio="… slice"` is now its viewport, so `objectBoundingBox` clip paths, masks and filters on it are resolved correctly. ([#1077](linebender/resvg#1077)) - Markers are now clipped to their viewport instead of their `viewBox` when the aspect ratios differ. ([#1163](linebender/resvg#1163)) - Object bounding box gradients inside masks, patterns and `feImage` filters used by more than one element are now resolved correctly, instead of being rendered as a flat fill or not at all. ([#1164](linebender/resvg#1164)) - `feMorphology` kernels are now symmetric and fractional radii are rounded to the nearest pixel. ([#1120](linebender/resvg#1120)) - Font fallback log messages now always name the correct fallback font family. ([#1154](linebender/resvg#1154)) - The `resvg` CLI no longer rounds fractional image sizes before scaling, and rounds the output size up instead of to the nearest integer. ([#875](linebender/resvg#875)) - The C API header was missing `RESVG_ERROR_SVGZ_UNSUPPORTED`, so all following error codes were off by one. ([#1122](linebender/resvg#1122)) - `cargo-c` now installs `ResvgQt.h` alongside `resvg.h`. ([#1182](linebender/resvg#1182)) ##### [v0.48.1](https://github.com/linebender/resvg/blob/HEAD/CHANGELOG.md#0481-2026-08-02) This release has an MSRV of 1.85.0 for `usvg` and `resvg` and the C API. ##### Changed - MSRV lowered from 1.89 to 1.85. ([#1109](linebender/resvg#1109)) - Downgraded strict-num dependency to 0.1.1. This prevents duplicate versions from being included ([#1110](linebender/resvg#1110)) ##### Fixed - Fixed an `as_mut_slice` future-compatibility warning. ([#1108](linebender/resvg#1108)) ##### [v0.48.0](https://github.com/linebender/resvg/blob/HEAD/CHANGELOG.md#0480-2026-07-31) This release has an MSRV of 1.89.0 for `usvg` and `resvg` and the C API. The big change in this release is that text support is now backed by [`skrifa`](https://github.com/googlefonts/fontations) and [`harfrust`](https://github.com/harfbuzz/harfrust) rather than [`ttf-parser`](https://github.com/harfbuzz/ttf-parser) and [`rustybuzz`](https://github.com/harfbuzz/rustybuzz): - Moves resvg onto an actively maintained font stack. - Should have faster and more correct text rendering. - Will enable further improvements to things like variable font rendering in future. - May impact binary size (expected +\~500kb for people not otherwise including fontations dependencies in their tree). - May result in small rendering changes compared to older versions of resvg. ##### Added - New `svgz` and `writer` feature gates to reduce the number of required dependencies. ([#1088](linebender/resvg#1088) by [@reed-smout](https://github.com/reed-smout)) - Warnings when parsing malformed paths. ([#1011](linebender/resvg#1011)) - A `Display` implementation for `Units`. ([#986](linebender/resvg#986)) ##### Changed - MSRV bumped from 1.87 to 1.89. The requirement comes from `font-types`. - Text shaping now uses `harfrust` instead of `rustybuzz`, and font parsing uses `skrifa` (fontations) instead of `ttf-parser`. ([#922](linebender/resvg#922) by [@nicoburns](https://github.com/nicoburns)) - Filter input dimension checks are now debug-only assertions. ([#991](linebender/resvg#991)) ##### Fixed - Glyph advances are now calculated correctly. ([#1043](linebender/resvg#1043) by [@fundon](https://github.com/fundon)) - Text nodes now inherit their absolute transform. ([#1040](linebender/resvg#1040) by [@fundon](https://github.com/fundon)) - Fixes related to non-finite values. ([#1049](linebender/resvg#1049) by [@SAY-5](https://github.com/SAY-5)) - Transforms are no longer applied twice in `abs_transform`. ([#1056](linebender/resvg#1056) by [@fundon](https://github.com/fundon)) - `fr` is now resolved for radial gradients referenced via `href`. ([#1098](linebender/resvg#1098) by [@T1mVo](https://github.com/T1mVo)) - Panic in `feComposite` with the `arithmetic` operator when the filter region is larger than the clamped layer. ([#1021](linebender/resvg#1021), [#1007](linebender/resvg#1007)) - Application of `transform` (and other group properties like `opacity`) on a nested `svg` element. - The missing dimension of an `svg` with only `width` or `height` specified is now computed from its `viewBox` aspect ratio. ([#1045](linebender/resvg#1045)) - The `wght` variation coordinate is now set even when `font-weight` has its default value. ([#1099](linebender/resvg#1099)) - The unprefixed `href` attribute now takes precedence over the deprecated `xlink:href` when both are present, as required by SVG 2. ([#1015](linebender/resvg#1015)) - Incorrect y-axis offsets when transforming `feSpotLight` sources. ([#1052](linebender/resvg#1052)) - Panics caused by bounding boxes that exceed the supported integer range. ([#989](linebender/resvg#989)) ##### [v0.47.0](https://github.com/linebender/resvg/blob/HEAD/CHANGELOG.md#0470-2026-02-05) This release has an MSRV of 1.87.0 for `usvg` and `resvg` and the C API. ##### Added - Focal radius (`fr`) supported for Radial Gradients. ([#1014](linebender/resvg#1014) by [@wmedrano](https://github.com/wmedrano)) - Support for variable fonts based on font-variation-settings CSS property. ([#997](linebender/resvg#997) by [@oetiker](https://github.com/oetiker)) ##### Changed - `tiny-skia` has a major version bump from 0.11 to 0.12.


Summary
Variable font support introduced in #997 skips the
font-weightCSS property -> OpenTypewghtvariation axis mapping whenever the weight is 400, on the assumption that a variable font's default instance is always Regular (wght= 400). Incrates/usvg/src/parser/text.rs'sconvert_font:The problem is that this assumption doesn't hold for every variable font. Google's Noto CJK variable fonts, for example, default to Thin. In such case,
font-weight: 400or unstyled text render at the font's Thin instance instead of Regular, while every other weight value (100, 200, 300, 500...) is mapped and renders correctly.This PR fixes this problem by dropping the
weight != 400condition, keeping the existing!has_wghtcheck sofont-variation-settings: "wght" ...still takes precedence. It also adds a font-levelhas_variation_axescheck so this doesn't regress the glyph-outline cache for static fonts.Details
Why the mapping should be unconditional
CSS Fonts Module Level 4 doesn't carve out an exception for weight 400. The property-to-axis mapping table (https://www.w3.org/TR/css-fonts-4/#font-variation-settings-def) in the
font-variation-settingssection is unconditional:And the normative precedence algorithm (https://www.w3.org/TR/css-fonts-4/#feature-variation-precedence) confirms the intended layering:
font-weightalways applies at step 2, and an explicitfont-variation-settingsonly overrides it because it's applied later, at step 12, not becausefont-weightabstains at any particular value:Avoiding an outline-cache regression
The glyph-outlining path in
crates/usvg/src/text/flatten.rsuses!span.variations.is_empty()to decide whether it's appropriate to use the non-variable(font ID, glyph ID)outline cache. Simply dropping theweight != 400guard meansspan.variationsis non-empty for every span by default, not just for non-400 weights, since the default CSS weight is 400. Left alone, this change would make every span bypass that cache, including plain static fonts like Arial that have nofvartable and get no benefit from the variation machinery.To avoid that, this PR adds a second, font-level check,
has_variation_axes, memoized per font ID the same way the existinghas_opsz_axisalready is:and gates the cache bypass on it:
Static (non-variable) fonts now go right back through the ordinary outline path, same as before this change existed. This mirrors
has_opsz_axis's existing logic.Verification
Rendered with a small custom CLI wrapper built on krilla, a SVG-to-PDF library which depends on
usvg, recommended as the successor tosvg2pdf(a separate, now-unmaintained crate).svg2pdfitself couldn't be used to check this, since it's pinned to ausvgversion before variable font support. The wrapper's--text-to-pathsflag (mirroringsvg2pdf's own CLI) makes the PDF consumeusvg's flattened glyph outlines directly instead of embedding fonts, which is the only way to visually exercise the exactflatten.rscode this PR touches; the default embedded-font mode instead confirms the CSS weight ->wghtmapping intext.rs(shared by both paths) is picked up correctly on the embedding/shaping side.Tested with a ladder SVG containing
font-weight100 through 900, a line with nofont-weightattribute (implicit 400), and a line usingfont-variation-settings: 'wght' 700, all set in Noto Sans JP, and visually inspected the output in both modes.Before the fix, weight 400 and unstyled text were rendered as weight 100 (Thin); every other weight already worked. After the fix, those two instances are rendered correctly as intended. Also checked a static-font case (Arial at 400/700/default) to confirm no visual change there.
Test coverage
I haven't added an automated reftest yet. The repo's variable-font test asset,
RobotoFlex.subset.ttf, defaults towght400, so it can't reproduce this specific bug (only fonts whosefvardefault isn't 400 can). Reproducing it in an automated test would need a variable font with a non-400 default instance, which isn't currently in the test-fonts set. Happy to add a subsettedNotoSansJP-VF.ttf(OFL-licensed, same as the other Noto fonts already bundled) if that's an acceptable way to cover this, or to follow whatever approach you'd prefer.