From fb7e28513f561ed847acbf4a6fb8b743474837a0 Mon Sep 17 00:00:00 2001 From: Yevhenii Reizner Date: Wed, 3 Apr 2024 14:02:24 +0300 Subject: [PATCH] Version bump. --- .github/chart-svg2.svg | 2 +- .github/chart.svg | 28 +++++++++---------- CHANGELOG.md | 13 ++++++++- Cargo.lock | 6 ++-- crates/c-api/Cargo.toml | 2 +- crates/c-api/ResvgQt.h | 4 +-- crates/c-api/resvg.h | 4 +-- crates/resvg/Cargo.toml | 4 +-- crates/usvg/Cargo.toml | 2 +- crates/usvg/src/tree/mod.rs | 3 -- tools/explorer-thumbnailer/Cargo.toml | 2 +- .../install/installer.iss | 6 ++-- 12 files changed, 42 insertions(+), 34 deletions(-) diff --git a/.github/chart-svg2.svg b/.github/chart-svg2.svg index 2b9aae869..180aa3758 100644 --- a/.github/chart-svg2.svg +++ b/.github/chart-svg2.svg @@ -2,7 +2,7 @@ - resvg 0.40.0 + resvg 0.41.0 Chrome 123 Firefox 124 Safari 17.3.1 diff --git a/.github/chart.svg b/.github/chart.svg index 38b786d9e..edac7a900 100644 --- a/.github/chart.svg +++ b/.github/chart.svg @@ -2,8 +2,8 @@ - resvg 0.40.0 - Chrome 123 + resvg 0.41.0 + Chrome 123 Firefox 124 Safari 17.3.1 librsvg 2.58.0 @@ -16,29 +16,29 @@ 404 - 807 + 808 - 1211 + 1212 - 1614 + 1616 - 1518 + 1520 - 1421 + 1423 - 1383 + 1385 - 1339 - - 1168 + 1341 + + 1168 - 983 + 985 976 530 - - 589 + + 591 Tests passed diff --git a/CHANGELOG.md b/CHANGELOG.md index 7177fc799..e104133e7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](http://semver.org/). This changelog also contains important changes in dependencies. ## [Unreleased] + +## [0.41.0] - 2024-04-03 +### Added +- `context-fill` and `context-stroke` support. + Thanks to [@LaurenzV](https://github.com/LaurenzV). +- `usvg::Text::layouted()`, which returns a list of glyph IDs. + It can be used to manually draw glyphs, unlike with `usvg::Text::flattened()`, which returns + just vector paths. + Thanks to [@LaurenzV](https://github.com/LaurenzV). + ### Fixed - Missing text when a `text` element uses multiple fonts and one of them produces ligatures. - Absolute transform propagation during `use` resolving. @@ -1122,7 +1132,8 @@ This changelog also contains important changes in dependencies. ### Fixed - `font-size` attribute inheritance during `use` resolving. -[Unreleased]: https://github.com/RazrFalcon/resvg/compare/v0.40.0...HEAD +[Unreleased]: https://github.com/RazrFalcon/resvg/compare/v0.41.0...HEAD +[0.41.0]: https://github.com/RazrFalcon/resvg/compare/v0.40.0...v0.41.0 [0.40.0]: https://github.com/RazrFalcon/resvg/compare/v0.39.0...v0.40.0 [0.39.0]: https://github.com/RazrFalcon/resvg/compare/v0.38.0...v0.39.0 [0.38.0]: https://github.com/RazrFalcon/resvg/compare/v0.37.0...v0.38.0 diff --git a/Cargo.lock b/Cargo.lock index d82193b61..c4f1cce4a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -209,7 +209,7 @@ dependencies = [ [[package]] name = "resvg" -version = "0.40.0" +version = "0.41.0" dependencies = [ "gif", "jpeg-decoder", @@ -225,7 +225,7 @@ dependencies = [ [[package]] name = "resvg-capi" -version = "0.40.0" +version = "0.41.0" dependencies = [ "log", "resvg", @@ -402,7 +402,7 @@ checksum = "b1d386ff53b415b7fe27b50bb44679e2cc4660272694b7b6f3326d8480823a94" [[package]] name = "usvg" -version = "0.40.0" +version = "0.41.0" dependencies = [ "base64", "data-url", diff --git a/crates/c-api/Cargo.toml b/crates/c-api/Cargo.toml index 7198a0aa4..44c89ced8 100644 --- a/crates/c-api/Cargo.toml +++ b/crates/c-api/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "resvg-capi" -version = "0.40.0" +version = "0.41.0" authors = ["Yevhenii Reizner "] keywords = ["svg", "render", "raster", "c-api"] license = "MPL-2.0" diff --git a/crates/c-api/ResvgQt.h b/crates/c-api/ResvgQt.h index e662e4f2b..1a3f7d1c3 100644 --- a/crates/c-api/ResvgQt.h +++ b/crates/c-api/ResvgQt.h @@ -14,9 +14,9 @@ #define RESVG_QT_H #define RESVG_QT_MAJOR_VERSION 0 -#define RESVG_QT_MINOR_VERSION 40 +#define RESVG_QT_MINOR_VERSION 41 #define RESVG_QT_PATCH_VERSION 0 -#define RESVG_QT_VERSION "0.40.0" +#define RESVG_QT_VERSION "0.41.0" #include diff --git a/crates/c-api/resvg.h b/crates/c-api/resvg.h index 63664b88f..bcdffaea4 100644 --- a/crates/c-api/resvg.h +++ b/crates/c-api/resvg.h @@ -17,9 +17,9 @@ #include #define RESVG_MAJOR_VERSION 0 -#define RESVG_MINOR_VERSION 40 +#define RESVG_MINOR_VERSION 41 #define RESVG_PATCH_VERSION 0 -#define RESVG_VERSION "0.40.0" +#define RESVG_VERSION "0.41.0" /** * @brief List of possible errors. diff --git a/crates/resvg/Cargo.toml b/crates/resvg/Cargo.toml index 41094e89f..e4b9341df 100644 --- a/crates/resvg/Cargo.toml +++ b/crates/resvg/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "resvg" -version = "0.40.0" +version = "0.41.0" authors = ["Yevhenii Reizner "] keywords = ["svg", "render", "raster"] license = "MPL-2.0" @@ -23,7 +23,7 @@ png = { version = "0.17", optional = true } rgb = "0.8" svgtypes = "0.15.0" tiny-skia = "0.11.4" -usvg = { path = "../usvg", version = "0.40.0", default-features = false } +usvg = { path = "../usvg", version = "0.41.0", default-features = false } [dev-dependencies] once_cell = "1.5" diff --git a/crates/usvg/Cargo.toml b/crates/usvg/Cargo.toml index 7751f1169..ad2aad3d1 100644 --- a/crates/usvg/Cargo.toml +++ b/crates/usvg/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "usvg" -version = "0.40.0" +version = "0.41.0" authors = ["Yevhenii Reizner "] keywords = ["svg"] license = "MPL-2.0" diff --git a/crates/usvg/src/tree/mod.rs b/crates/usvg/src/tree/mod.rs index 3714c7aae..28d0bcbdb 100644 --- a/crates/usvg/src/tree/mod.rs +++ b/crates/usvg/src/tree/mod.rs @@ -875,9 +875,6 @@ impl Node { /// Returns node's absolute transform. /// - /// If a current node doesn't support transformation - a default - /// transform will be returned. - /// /// This method is cheap since absolute transforms are already resolved. pub fn abs_transform(&self) -> Transform { match self { diff --git a/tools/explorer-thumbnailer/Cargo.toml b/tools/explorer-thumbnailer/Cargo.toml index 7e2865628..88766c24f 100644 --- a/tools/explorer-thumbnailer/Cargo.toml +++ b/tools/explorer-thumbnailer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "explorer-thumbnailer" -version = "0.39.0" +version = "0.41.0" authors = ["gentoo90 "] license = "MPL-2.0" edition = "2021" diff --git a/tools/explorer-thumbnailer/install/installer.iss b/tools/explorer-thumbnailer/install/installer.iss index c1fa4542c..84aa8045a 100644 --- a/tools/explorer-thumbnailer/install/installer.iss +++ b/tools/explorer-thumbnailer/install/installer.iss @@ -1,8 +1,8 @@ [Setup] AppName="resvg Explorer Extension" -AppVersion="0.40.0" -VersionInfoVersion="0.0.40.0" -AppVerName="resvg Explorer Extension 0.40.0" +AppVersion="0.41.0" +VersionInfoVersion="0.0.41.0" +AppVerName="resvg Explorer Extension 0.41.0" AppPublisher="Yevhenii Reizner" AppPublisherURL=https://github.com/RazrFalcon/resvg DefaultDirName="{pf}\resvg Explorer Extension"