Skip to content

Releases: LaurenzV/krilla

v0.4.0

02 Apr 10:29
eb0d2bb
Compare
Choose a tag to compare

Added

  • Added support for creating tagged PDFs.
  • Added support for PDF/A2-A, PDF/A3-A, PDF/A4.
  • Added support for PDF/UA-1.
  • Added support for creating documents with PDF versions 1.4 to 2.0.
  • Improved support for images (including ICC profiles).
  • Added support for optional multi-threaded export.
  • Added CropBox BleedBox TrimBox ArtBox to page boundary settings.
  • Added support for the Interpolation attribute in images.
  • Added support for attaching arbitrary files to PDFs.
  • Added support for quad points in link annotations.
  • Added feature to set "locations" while drawing to a surface to associate
    errors with specific contexts.

Changed

  • Color space handling has been overhauled.
  • Removed variable font support, as its implementation was not optimal.
  • Merge PdfVersion and PdfStandard into a Configuration struct.
  • Fills and strokes are now optionall encoded as 1 instead of separately.
  • SVG rendering has been extracted into an external krilla-svg crate.
  • The public API has been overhauled a lot.
  • Gradient stops don't take generics anymore.

Fixed

  • Fixed a potential overflow when writing CMAP.
  • Fixed a spacing issue when writing text.
  • Various bug fixes for embedding certain images and fonts in certain export modes.

v0.3.0

01 Oct 17:25
Compare
Choose a tag to compare

Added

  • Improved support for stroking text.
  • Added support for using CMYK ICC profiles.
  • Added support for changing the text direction.
  • Support the currentColor attribute of SVG fonts.
  • Add initial support for validated export.
    Currently, only PDF/A2-U, PDF/A2-B, PDF/A3-U, PDF/A3-B are supported.

Changed

  • Error handling has been revamped.

Fixed

  • Fixed bug with gradients on text not working properly for some spread methods.

v0.2.0

12 Sep 15:28
2d1e4e5
Compare
Choose a tag to compare

Added

  • Support writing outlined glyphs.
  • Support for vertical text writing.
  • Support for adding document metadata.

Changed

  • Streamlined how colors are created.
  • SVG settings are now passed with draw_svg instead of in SerializeSettings.
  • Removed some unused errors.

v0.1.0

04 Sep 17:57
Compare
Choose a tag to compare

First release of krilla.