Release date: January 14, 2021
This release of pdfHTML brings many improvements for SVG processing.
We are introducing the
<pattern> element which is used to define a graphics object that can be "tiled" to cover an area, and the support of SVG defined in HTML. Previously when converting HTML code to PDF we supported either Base64 encoded images or images given by URL. Now, pdfHTML supports SVG images as direct input with the
Besides this, font-relative units for the
font-size property in a text element are now supported by pdfHTML 3.0.3 too.
While we're on the subject, we added the support of
word-break properties in CSS as well as
target-counter functions. These functions are crucial for generating cross-references (e.g., for a table of contents) within HTML documents.
Please take a look at the examples for this release to give you more insight and use cases.
A number of bug fixes are also included. Head on down to the Changelog for more information.
Release Related Examples
- Core SVG: Added support of font-relative units for the font-size property of a text element
- Core SVG: Support <pattern> element
- pdfHTML: Support for generating cross references for TOC creation with target-counter, target-counters CSS properties
- pdfHTML: Support for overflow-wrap, word-break CSS Properties