Skip to content

pdfHTML 3.0.0

Compare
Choose a tag to compare
@ars18wrw ars18wrw released this 20 Apr 16:09
· 691 commits to develop since this release
3.0.0

3.0.0

We are particularly excited about the brand new version 3.0 of iText pdfHTML! Check our all the cool stuff we've added, and why we had to bump the major version:

Breaking Changes

  • The ledger page size will now be portrait oriented by default (if you prefer landscape, you just need to specify it)
  • The rendering of HTML as PDF files now has a closer behavior to how a web browser would render the content. If you would like to maintain the previous behavior with pdfHTML 3.x, then we've provided you with the following code

New Features

  • Improve creation and(or) merging of outlines for documents created in pdfHTML
  • Basic implementation of orphan/widow control
  • Support for the line-height property for inline-level elements as well (in addition to improved support for block-level elements)

Improvements

  • Get rid of the difference in line height calculations between HTML and PDF