pdfHTML 3.0.1
A new feature in this release is the introduction of support for <linearGradient>
in SVG and linear-gradient()
in CSS. This is a commonly used element in both CSS and SVG frameworks allowing for progressive transitions between colors in graphical objects. For those of you who are interested, we've produced a code sample demonstrating different implementations of within our layout engine.
Besides this, we continue to improve our line-height property support that was added for pdfHTML 3.0.0 and added support for setting the background on HTML elements. Something that will continue to be improved (we'll keep you posted!).
Speaking of wider support, Shorthand properties can often improve your CSS code readability. As developers, there's no way, no how, that we'll stand in the way of code readability, so support for the text-decoration Shorthand is baked in too.
We've also improved pdfHTML's <div>
Tag processing to better handle splitting.
New Features
- Initial support of linearGradient in SVG and CSS
Improvements
- Improve pdfHTML Div Tag processing to better handle splitting
- Support CSS text-decoration shorthand properly
Bugs
- Support background-image CSS property for text span element
- Negative numbers in elements are not shown
- Apply the line-height property to span elements
- Html2Pdf+Svg: tag in HTML referring SVG with inner resource doesn't resolve resources correctly