Skip to content

pdfHTML 3.0.2

Compare
Choose a tag to compare
@ars18wrw ars18wrw released this 22 Oct 07:25
· 534 commits to develop since this release
3.0.2

In this release, we extended the support of the CSS specification to add full support of the background properties in CSS: background-repeat, background-position-x, background-position-y, background-blend-mode, background-clip, background-origin, etc.
Besides this, the release brings further improvements to SVG processing, thanks to the introduction of the <symbol> element which is used to define reusable symbols within the SVG content. Please take a look at the examples for this release to give you more insight and use cases.

Speaking of wider support for CSS, the object-fit property that is widely used in responsive HTML markup is now supported by pdfHTML 3.0.2 too.

Besides this, we continue to improve the processing of inline text by adding the text-transform: capitalize property and provide more control over the document conversion process to let developers define custom resource resolving strategies by creating their own ResourceRetriever.

New Features

  • Support for custom ResourceResolver
  • Svg element
  • Support object-fit CSS property

Improvements

  • Handling with text-transform: capitalize
  • Full support of all background properties in CSS
  • The convertToDocument constructor with immediate flush disabled

Bugs

  • NPE on the empty letter-spacing declaration
  • CSS files cannot be released after conversion