Skip to content

Latest commit

 

History

History
41 lines (32 loc) · 1.72 KB

CHANGELOG.md

File metadata and controls

41 lines (32 loc) · 1.72 KB

Changelog

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.

  • Added support for text embedding.
  • 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.

Added

  • Added ability to list the available fonts found by svg2pdf. Thanks to @rgreinho.
  • Added support for filter rendering.
  • usvg is now reexported to prevent version mismatches.

Fixed

  • Fixed dpi ratio calculation. Thanks to @Ultraxime.

Changed

  • Bumped resvg to v0.38 and fontdb to 0.16.
  • (Internal) reworked the test suite.
  • (Internal) synced test suite with resvg test suite.