We have released a minor update to our iText 7 platform, version 7.0.2. In this maintenance release, we will support some upcoming product launches (stay tuned!) as well as bugfixes and performance improvements. Beyond these updates, we have also improved:
font support with FontProvider/FontSelector
advanced page range definition, contributed by GitHub user @NayoLyon (thanks!)
auto layout and fixed layout for tables, scaled column widths have been removed
Table constructors: combine percent and point column widths
Beyond these improvements, we have also included the following in our latest release:
There was an issue with licenses not loading on Java for IBM AIX systems. This has been resolved in 2.0.3. Customers on these systems should upgrade to the new license key library. You can upgrade by adjusting the version in your
pom.xml or gradle file to 2.0.3 or by downloading the 2.0.3 version from our Artifactory and adding it to your classpath (https://repo.itextsupport.com/webapp/#/artifacts/browse/simple/General/releases/com/itextpdf/itext-licensekey/2.0.3)
.NET users are not impacted, but we released the License Key library anyway, to keep the Java and .NET version in sync.
added support for Odia, Thai, Gujarati, Telegu, Malayam, Bengali scripts
improved RTL support
bugfixes and performance improvements
New HTML to PDF conversion add-on (contact sales for pricing)
Similar to iText 5's XMLWorker, but rewritten from scratch
Improved performance and reliability, even when using invalid HTML
Support RTL and complex scripts out of the box without additional effort
@media, initial support for
Support base64-encoded images
Better CSS positioning support
If you're using Maven as your build tool for Java, add the following XML snippet to your
pom.xml. Maven will then do all the heavy lifting for you and download the required modules from the Maven Central Repository.
<dependencies> <dependency> <groupId>com.itextpdf</groupId> <artifactId>itext7-core</artifactId> <version>7.0.2</version> <type>pom</type> </dependency> </dependencies>
Because the Java add-ons and the license key library are closed-source, they are not available on the Maven Central Repository. You can get them from the iText Artifactory server. You can add this server as an additional repository in the
repositories section of your
settings.xml, as described in the Maven documentation. Maven will then automatically query this repository for the add-on jar files.
<repositories> <repository> <id>itext</id> <name>iText Repository - releases</name> <url>https://repo.itextsupport.com/releases</url> </repository> </repositories>
After this, you can add the add-on modules to your
<dependencies> <!-- pdfCalligraph --> <dependency> <groupId>com.itextpdf</groupId> <artifactId>typography</artifactId> <version>1.0.2</version> </dependency> <!-- pdfHTML --> <dependency> <groupId>com.itextpdf</groupId> <artifactId>html2pdf</artifactId> <version>1.0.0</version> </dependency> <!-- iText 7 License Key Library --> <dependency> <groupId>com.itextpdf</groupId> <artifactId>itext-licensekey</artifactId> <version>2.0.3</version> </dependency> </dependencies>
iText 7 Community and iText 7 add-ons for .NET are available on NuGet. The iText 7 license key library is a required dependency for these packages, so it will automatically be installed as well. You can install the add-ons by typing the following commands in the NuGet Package Manager:
Install-Package itext7 Install-Package itext7.pdfsweep Install-Package itext7.pdfcalligraph Install-Package itext7.pdfinvoice Install-Package itext7.pdfhtml Install-Package itext7.licensekey
As always, if you have any questions about upgrades, you can contact support with your valid support subscription or head over to Stack Overflow to see if you question has already been answered for our AGPL users. Looking to get started with iText 7? Try our Free Trial and download the iText 7 Jumpstart Tutorial. You can also refer to the iText API Documentation.