Releases: kryops/pdfmake-html-renderer
Releases · kryops/pdfmake-html-renderer
v0.3.1
v0.3.0
v0.2.0
v0.1.4
v0.1.3
Features
- Added support inline style objects in style reference arrays
- Added support for complex image definition objects
- Added support for single-side margins (e.g.
marginLeft) - Added support for
preserveTrailingSpaces - Added support for new
pageBreakvalues...Odd/...Even - Added support for multiple ToCs
- Added support for
lineJoinandstrokeOpacityon canvas elements - Made renderer more resilient to avoid crashes for invalid content
Bug Fixes
- Fixed rendering differences between strings/array and text/stack nodes
- Fixed negative margins
- Fixed positive margin affecting the background
- Fixed background for lists, columns, and in
defaultStyle - Fixed behaviour around spaces and
preserveLeadingSpaces - Fixed inheritance for
leadingIndent,fillColor/fillOpacity,columnGap, andnoWrap - Fixed applying anchor styles in text references
- Fixed
noWrapin table cell with fixed width - Fixed edge cases around table borders
- Fixed
pageOrientationif the page width is larger than its height - Fixed printing
undefinedas watermark text - Fixed custom ordered list item counter with non-decimal list type
- Fixed rendering a stroke for a filled canvas polyline
- Fixed computing the height of a canvas ellipse without
r2set
Internal
- Switched build tooling to Vite
v0.1.2
Features
- Handle tiling pattern syntax (tiling patterns are ignored)
Bug Fixes
- Fixed default watermark color and opacity
- Fixed
counter: 0for ordered list items not being applied - Fixed
type: 'none'for ordered lists wrongly rendering a separator - Fixed resetting the type when nesting lists
- Fixed collapsing margins
- Fixed ToC width
v0.1.1
Features
- Added TypeScript typings for server-side rendering. To use them, switch from
pdfmake-html-renderer/dist/servertopdfmake-html-renderer/server
Bug Fixes
- Fixed link node styles being applied twice, leading to an additional space after the link
- Fixed
noWrapnot being applied correctly - Fixed
fillOpacity: 0not being applied correctly - Fixed rendering of primitive numbers as content
- Fixed page background being rendered in front of the content
- Fixed spaces between text array elements
- Fixed some cases for empty elements and elements containing only spaces
- Fixed using unscoped CSS class names
v0.1.0 - Initial Release
Prepare initial release - Add README - Add sizing mode prop - Commit docs (playground) - Fix some more bugs - Make code more robust for invalid document definitions