The iText Core 7.1.14 release is the first quarterly release of 2021 of our innovative PDF library.
We've continued to further increase the support for SVG, since as noted in previous releases this is an important topic for us.
The new release brings support for the <pattern>
element which benefits both Core, and pdfHTML (3.0.3). This element is used to define a graphics object which can be "tiled" to cover an area. In addition, we also added the support of font-relative units for SVG and fixed the stroke-width processing within <use>
tags.
We've also made improvements to our Acroform support: the missing fields border styles as Beveled, Underline and Inset are now available in iText Core.
A few changes have been made to OpenType Font (OTF) processing which are especially important in the context of Japanese, Chinese and Korean languages. Previously OpenTypeFontTableReader.getLanguageRecord()
only allowed fetching the default language system for a given script, which was not sufficient for CJK regional variant substitution. Now, it's possible to fetch OTF language records by tag.
Note: Java 7 support was deprecated as of the 7.1.13 release, and so from this release we’re targeting Java 8
New Features
- SVG: Support
<pattern>
element - Support of form fields border styles (Beveled, Underline and Inset)
Improvements
- SVG: add support of font-relative units for the font-size property in a text element
- Allow OTF language records to be fetched by tag
- Support word-wrap and word-break properties
Bugs
- Expand colored background on the overflowed part of span
- SVG stroke-width doesn't work in
<use>
tags - Signed short number overflows in readCoverageFormat()
- Page-break-inside: avoid not being taken into account for floating DIVs