Skip to main content
Skip table of contents

Release pdfCalligraph 5.0.2

Release date: May 15th 2025

pdfCalligraph is our iText Core add-on which provides advanced typography support when creating PDF documents, enabling you to expand your document workflow with accurate rendering for global languages and writing systems.

This release of the pdfCalligraph add-on for iText Core adds a small, but useful feature. We’ve added a switch to control when pdfCalligraph’s advanced typography features are applied to text in documents. This may be particularly useful when you only want to use the advanced OpenType features for specific glyphs. For example, to accurately render discretionary or contextual ligatures in Latin scripts, or in a particular part of a document.

Since it’s relatively uncommon for users to need advanced typography for standard scripts, there is now a simple disableOtfFeatures control in iText Core’s Text element layout code. As the name suggests, this simply disables the advanced OpenType features for a text element. You could achieve similar results by setting the FONT_SCRIPT layout property to UNKNOWN, but this is a much cleaner and intuitive solution.

On pdfCalligraph’s side, the event counting has been adapted to ensure an event is only fired when the advanced typography features are applied.

Don't forget that aside from being a very useful add-on to iText Core by itself, you can also use pdfCalligraph in combination with pdfHTML.

Downloads

Changelog

New features

  • New high-level HTML to PDF/UA API

  • Support for the align-content property in Flexbox

Improvements

  • SVG tags should take into account alternate description when tagged as figure

  • Change how alternative descriptions are applied for widget annotation in PDF/UA-2

Bug fixes

  • Percent height for inline element not resolved correctly in fixed size containers

  • CSS selector with two elements failed

  • NullPointerException processing HTML and using relayout()

Installation Instructions

Examples (latest ones)

FAQ (latest ones)

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.