Releases: itext/itext-pdfhtml-java
Releases · itext/itext-pdfhtml-java
pdfHTML 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
pdfHTML 2.1.7
2.1.7
iText 7.1.10 brings the first quarterly release of 2020 for the iText 7 family, and coincidentally it's on the day that iText, as a project, turns 20! 🎂🥳
For pdfHTML in particular, we are bringing support for the <lang>
attribute, and it will also benefit from the <marker>
support that has been added to Core.
Tasks
- pdfHTML: convert "lang" attribute into Lang accessibility property for tagged PDF
pdfHTML 2.1.6
2.1.6
Bugs
- Fix an NPE while comparing two fonts on FontSelector level
- Font selector produces lines with unexpected multiple fonts when calligraphy fonts are present
- Explicitly setting dir="ltr" distorts the result of HTML to PDF conversion if pdfCalligraph is loaded for latin text and floating images
Tasks
- Exclude helper classes/methods for internal usage from the public API documentation
- Create tests for surrogate pairs in layout and html2pdf
- Make sure that all add-ons extend ExtendedITextTest
- Make it easier to override default font family for the descendants of BasicFontProvider and DefaultFontProvider
pdfHTML 2.1.5
Improvement
- Improve flushing of HtmlDocumentRenderer.
Bug
- Javadoc error in pdfHTML: missing CommonCssConstants#FONT_ABSOLUTE_SIZE_KEYWORDS.
- Incorrect total number of pages is calculated when counter(pages) is used with page-break-before:always on .
- Page size defined in @page rule is not parsed correctly for landscape/portrait orientations if the default size is landscape.
- Readme file has a bad link to releases.
pdfHTML 2.1.4
- Improve display: inline-block support
- Improve image support within list, div and table items
- Use the baseUri via ConverterProperties if the SVG is nested inside the html
- Support disabled pseudo class for textareas and inputs
- Support SVG images embedded as
<object>
pdfHTML 2.1.3
- Improve handling of inline blocks with display:block.
- Do not reset the alignment for RTL elements if it's present.
- Fix anchor links handling with destinations on elements.
pdfHTML 2.1.2
Features
- support for SVG encoded in a data-uri
- support for a table's caption element
- support for border-radius on img tags
- support for value in list items
Fixes
- incorrect page-margin box dimensions calculation
- bugs related to font providers, RTL, and property inheritance
- "!important" CSS attribute ignores "display:none"
[RELEASE] iText 7 pdfHTML - 2.1.1
https://github.com/itext/i7j-pdfhtml/releases/tag/2.1.1 * release/2.1.1: [RELEASE] 2.1.1-SNAPSHOT -> 2.1.1 Add test. DEVSIX-2335 Remove unneeded args from invoke method Update ProductInfo Add new test for handling SVG in <object> tag with inner resources Add test for check resources released after conversion Add processing of calligraphic indic and arabic fonts Free resources after reading them Add some new min/max width test. Update cmps. Fix tests not checking for enough logging messages Use ConverterProperties when converting SVG to PDF. RND-1108 Fixes and tests for Svgs without dimensions Add new ignored tests for vertical alignment of inline blocks Create tests for FontSelector with different font families Fix issues with additional separator in ResourceResolver Update cmp files Update the reset method of FontProvider. Update the default font and the default font-family for an input element. Add tests demonstrating background bug for inner inline elements Remove unnecessary html file. Add a test related to font-family processing. Add a new white-space test. [RELEASE] 2.1.0-SNAPSHOT -> 2.1.1-SNAPSHOT Fix incorrect class passed to logger creation Add a new test related to plain text processing Minor fix for a constant Javadoc Add test
[RELEASE] iText 7 pdfHTML - 2.1.0
https://github.com/itext/i7j-pdfhtml/releases/tag/2.1.0 * release/2.1.0: [RELEASE] 2.1.0-SNAPSHOT -> 2.1.0 Add missing copyright headers Implement unicode-range processing. Process li's inline children as inline elements. Process br inside oi correctly. Create test for DEVSIX-2002 SvgDrawContext: add ResourceResolver and FontProvider to constructor Remove collectCssDeclarations form ICssResolver interface RND-1056 Fix typo in test Inline svg integration Add tests for border radius Fix style inheritance change not applied Delete duplicate package that were moved to SXP Add test. DEVSIX-2024 Support event meta info Add a new border radius related test. Update cmps related to span's border radius. Add some new border radius tests. Update cmps. Change placeholder's default font color. Fix some cmps. Add a new test. Add generic event Fix applying page-break-before and page-break-after to tables Refactor time-based system utils to better represent there purpose Updates for autoport Support SVG processing in pdfHTML Update cmp files. DEVSIX-1966 Add ExtendedHtmlConversionITextTest class, refactor html2pdf tests Add missed @Category Support placeholder for textarea tag. Add support for display:block of `label` HTML element Process white-space css property for page margin boxes content Apply font styles in BodyTagCssApplier Remove body font-size from default.css Support background for <html> and <body> tags Fix bug in if-condition for align attribute resolving Implement placeholder. Add new input tests. Add new test for inline elements with border-radius Unignore test Update cmp file [RELEASE] 2.0.2-SNAPSHOT -> 2.0.3-SNAPSHOT
[RELEASE] iText 7 pdfHTML - 1.0.5
https://github.com/itext/i7j-pdfhtml/releases/tag/1.0.5 * release/1.0.5: [RELEASE] 1.0.5-SNAPSHOT -> 1.0.5 Add missing copyright headers Process white-space css property for page margin boxes content [RELEASE] 1.0.4-SNAPSHOT -> 1.0.5-SNAPSHOT