PDF4Java Releases

Released: May 1, 2026

Updates in 4.1.7

Features

  • PDF4Java
    • Duplicate redacted images.
    • PDFFlowTableContent.MaxRowHeight and PDFFlowTableRow.MaxHeight properties to limit the maximum height of a row.

Fixes

  • PDF4Java
    • Some documents with invalid fields cannot be loaded.
    • Some text glyphs are not extracted correctly.
    • Hidden text is extracted with additional spaces.
    • Tiff images with multiple alpha channels are not handled correctly.
    • DataMatrix actual data encoding is not selected correctly in some cases, when DataEncoding is set to Auto...

Released: Apr 1, 2026

Updates in 4.1.6

Features

  • Create PDFRawImage objects from COS image streams.
  • Added PDFDocumentFileAttachment.GetPayloadStream method for efficient access to large attachments.

Fixes

  • StructureTree cannot be loaded for some PDF files.

Released: Mar 4, 2026

Updates in 4.1.5

Features

  • Added support for PDFFowTableContent horizontal align.

Fixes

  • Fixed some 1bpp images which were not redacted correctly.

Released: Feb 1, 2026

Updates in 4.1.4

Features

PDF4Java

  • Added support for page transparency group.
  • PDF/A-1 validation now checks the presence of page transparency group.

Fixes

PDF4Java

  • Colorspaces are not extracted from PDF file.

PDF4Java.Render

  • Some text is not displayed because the backing TrueType font is invalid.
  • Page with invalid font cannot be rendered, throws stack overflow exception.
  • Text is not rendered correctly, characters are scrambled.

Released: Jan 5, 2026

Updates in 4.1.3

Fixes

PDF4Java

  • Field border definition is generated even if it is not stroked.
  • An exception is thrown when a multiline textbox field does not have a size and a color is set on it.
  • Some existing PDF files are resaved incorrectly.
  • Some incremental updates are not performed correctly.

PDF4Java.Render

  • Thin lines are rendered very faint at high resolution.

Released: Dec 2, 2025

Updates in 4.1.2

Features

  • Added support to retrieve contextual information when searching text in PDF files.
  • Information about physical location of COS objects in the PDF file is now available in the public API.

Fixes

  • Behavior change: An exception was thrown if redaction cannot be executed because the page canvas has been closed.
  • Damaged PDF file could not be loaded.
  • Text using per character X positions were not displayed correctly when converting SVG images to PDF.
  • Complex script text was not aligned correctly...

Released: Nov 5, 2025

Updates in 4.1.1

Features

PDF4Java

  • Updated calculation of text run corners when font specifies invalid Ascent/Descent values.

Fixes

PDF4Java

  • PDF file could not be saved because of circular reference in form Xobjects.
  • Pages with unknown fields could not be extracted from PDF files.
  • Time stamp signatures were not loaded for signed fields.
  • Some ligature glyphs were not extracted as composing characters.

PDF4Java.Render

  • Page could not be rendered when the font has a very large '/widths' array.

Released: Oct 1, 2025

Updates in 4.1.0

Features

PDF4Java

  • Added text horizontal scaling, for easier implementations of OCR to searchable PDF solutions.
  • Added long words wrapping in formatted content.
  • Now specify the page size when the page is created.

Fixes

PDF4Java

  • Words were not extracted correctly from PDF file.
  • Page was not extracted correctly from incorrect PDF file.
  • Page could not be extracted from documents with invalid fields.
  • Documents could not be signed if the certificate included multiple CRL URLs.
  • Some PDF pages could not...

Released: Sep 1, 2025

Updates in 4.0.5

Features

PDF4Java

  • Pages with patterns can now be converted to RGB / CMYK.

Fixes

PDF4Java

  • Document with recursive actions could not be loaded.
  • Button field did not display the icon if the caption is not set.

PDF4Java.Render

  • Text using the 0x00 character, instead of 0x20 (space), is now rendered without spaces.

Released: Aug 1, 2025

Updates in 4.0.4

Features

PDF4Java

  • Added support for disabling TrueType font subsetting.
  • Updated generation of /BaseFont entry for TrueType fonts.

Fixes

PDF4Java

  • RTL text could not be wrapped in some situations.
  • Documents took too long time to load and save.
  • Text markup annotations were not drawn correctly on rotated pages.
  • PDFMerger did not merge correctly the trees in the /Names dictionary.

PDF4Java.Render

  • Some PDF page were not converted correctly to image.