diff --git a/CHANGELOG.md b/CHANGELOG.md index 4e322244..fe894480 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,21 +6,23 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] -- Added support for text embedding. + +### Added +- Text is now embedded as proper text instead of being flattened to paths. - Made the CLI more flexible in terms of which features you want to include. - Added `raster-scale` and `text-to-paths` as arguments for the CLI. -- Removed the option to configure the view box from the API. This might be readded in - a later update. -- The `convert_str` method has been removed. You should now always convert your SVG string into a `usvg` - tree yourself and then call either `to_pdf` or `to_chunk`. -- The `convert_tree` method has been renamed into `to_pdf`, and now requires you to provide the fontdb - used for the `usvg` tree, unless you have disabled the `text` feature. -- `convert_tree_into` has been renamed into `to_chunk` and now returns an independent chunk as well - as the object ID of the actual SVG in the chunk. ### Changed -- Bumped resvg to v0.40. -- `convert_str` now requires a `fontdb` as an argument as well. +- Bumped resvg to v0.42, fontdb to v0.18, and pdf-writer to v0.10. +- The `convert_tree` method has been renamed into `to_pdf`. +- The `convert_tree_into` function has been renamed into `to_chunk` and now returns an independent chunk and the object ID of the actual SVG in the chunk. + +### Fixed +- Fixed a bug with softmasks on images. + +### Removed +- The `convert_str` method has been removed. You should now always convert your SVG string into a `usvg` tree yourself and then call either `to_pdf` or `to_chunk`. +- Removed the option to configure the view box from the API. This might be readded in a later update. ## [0.10.0] @@ -33,7 +35,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Fixed dpi ratio calculation. Thanks to [@Ultraxime](https://github.com/Ultraxime). ### Changed -- Bumped resvg to v0.38 and fontdb to 0.16. +- Bumped resvg to v0.38 and fontdb to v0.16. - (Internal) reworked the test suite. - (Internal) synced test suite with resvg test suite. diff --git a/Cargo.toml b/Cargo.toml index 4b11bf6e..50edd4a2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -60,13 +60,12 @@ unicode-properties = { workspace = true, optional = true } miniz_oxide = { workspace = true } once_cell = { workspace = true } pdf-writer = { workspace = true } -fontdb = { workspace = true, optional = true} +fontdb = { workspace = true, optional = true } usvg = { workspace = true } log = { workspace = true } image = { workspace = true, optional = true } -tiny-skia = {workspace = true, optional = true } -resvg = {workspace = true, optional = true } +tiny-skia = { workspace = true, optional = true } +resvg = { workspace = true, optional = true } subsetter = { workspace = true, optional = true } ttf-parser = { workspace = true, optional = true } siphasher = { workspace = true, optional = true } -