All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Bumped resvg to v0.46, pdf-writer to v0.14, oxi-png to v10, and miniz_oxide to v0.9.
- Bumped resvg to v0.45, fontdb to v0.23, ttf-parser to v0.25, and pdf-writer to v0.12.
- New
pdfaoption for using PDF/A-compliant pdf-writer workflows.
- Conversion is now fallible and returns a
Result. - Reduce PDF sizes through better font subsetting.
- Fixed a bug with Unicode CMaps.
- 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-scaleandtext-to-pathsas arguments for the CLI.
- Bumped resvg to v0.42, fontdb to v0.18, and pdf-writer to v0.10.
- The
convert_treemethod has been renamed intoto_pdf. - The
convert_tree_intofunction has been renamed intoto_chunkand now returns an independent chunk and the object ID of the actual SVG in the chunk.
- Fixed a bug with softmasks on images.
- The
convert_strmethod has been removed. You should now always convert your SVG string into ausvgtree yourself and then call eitherto_pdforto_chunk. - Removed the option to configure the view box from the API. This might be readded in a later update.
- Added ability to list the available fonts found by svg2pdf. Thanks to @rgreinho.
- Added support for filter rendering.
usvgis now reexported to prevent version mismatches.
- Fixed dpi ratio calculation. Thanks to @Ultraxime.
- Bumped resvg to v0.38 and fontdb to v0.16.
- (Internal) reworked the test suite.
- (Internal) synced test suite with resvg test suite.