Changelog for Java

RSS

1.7.1 12 May 2025

  • Fixed
    Fixes an issue where InputStreamDataProvider didn't work with large data sizes. (J#CORE-847)

1.7.0 28 Mar 2025

  • Changed
    Lowers minimum system requirements to include Windows Server 2016.
  • Changed
    Improves memory usage when decoding large page streams, allowing better out of memory handling. (J#CORE-253)
  • Fixed
    Fixes an issue where comments weren’t applied when using applyOperations.
  • Fixed
    Fixes an issue where some annotations weren’t drawn correctly on pages with transparency. (J#CORE-783)
  • Fixed
    Fixes an issue with opening certain PDFs that have a broken encryption descriptor. (J#CORE-776)
  • Changed
    Improves handling of specific broken PDF forms, where multiple instances of the same form are combined into a single PDF. (J#CORE-646)
  • Fixed
    Fixes a crash when opening a PDF with malformed forms. (J#CORE-745)
  • Fixed
    Fixes a crash when dealing with malformed attachments. (J#CORE-728)
  • Fixed
    Fixes lockup or crash issues when opening certain malformed PDF forms. (J#CORE-726)
  • Fixed
    Fixes an issue where certain license keys couldn’t be read correctly. (J#CORE-725)
  • Fixed
    Fixes issues with Type 3 fonts and text extraction. (J#CORE-703)

1.6.1 10 Sep 2024

  • Changed
    Improves the evaluation experience.
  • Fixed
    Fixes an issue where signed fields may not display correctly on rotated pages. (J#CORE-608)
  • Fixed
    Fixes an issue where redaction didn't handle certain text objects correctly, resulting in some displaced text. (J#CORE-612)
  • Fixed
    Fixes an issue where the same font was embedded multiple times when entering diacritics, leading to a massive file size. (J#CORE-634)
  • Fixed
    Fixes an issue where annotations exported to XFDF and then imported again may lose their text color. (J#CORE-648)

1.6.0 12 Aug 2024

  • Changed
    Updates JSON dependency to avoid vulnerabilities. (#43257)
  • Added
    Adds PdfDocument.destroy method to free resources associated with a document. (J#CORE-645)
  • Added
    Adds support for parsing custom colors in PDF JavaScript and for converting colorspaces by using the color.convert API. (J#CORE-580)
  • Fixed
    Fixes an issue where a comment status may not show when a saved file is open in third-party software like Adobe Acrobat. (J#CORE-610)
  • Fixed
    Fixes an issue where redaction didn’t handle certain text objects correctly, resulting in some displaced text. (J#CORE-612)
  • Fixed
    Fixes an issue where exporting and importing Instant JSON may incorrectly move annotations or forms. (J#CORE-589)
  • Fixed
    Fixes an issue where too many fonts were added to the PDF in certain rare circumstances, causing crashes. (J#CORE-605)
  • Fixed
    Fixes an issue where, after redacting, some images were displaying wrong (e.g. black instead of white). (J#CORE-561)
  • Fixed
    Fixes an issue where redaction annotations could not be applied by third-party software like Adobe Acrobat. (J#CORE-555)
  • Fixed
    Fixes an issue where the line dash pattern was rendered differently from other PDF readers. (J#CORE-540)
  • Fixed
    Fixes an issue where the page labels may be incorrect in some documents. (J#CORE-560)
  • Fixed
    Fixes an issue where the redaction tool may redact a bigger area than necessary in some documents. (J#CORE-562)
  • Fixed
    Fixes an issue where the text in a callout annotation may appear in the wrong position. (J#CORE-466)
  • Fixed
    Fixes measurement labels on rotated pages not being exported correctly. (J#CORE-529)
  • Fixed
    Fixes an issue where font names with certain encodings may not be parsed correctly. (J#CORE-292)
  • Fixed
    Fixes an issue where redacting some kind of documents may corrupt them. (J#CORE-375)
  • Fixed
    Fixes an issue where shape annotations imported via Instant JSON may incorrectly show a black border. (J#CORE-392)
  • Fixed
    Fixes a crash when listing embedded files in certain rare PDFs. (J#CORE-493)
  • Fixed
    Fixes an issue where extracted text was garbled due to incomplete reading order information in the PDF. (J#CORE-385)
  • Fixed
    Fixes an issue where text with the FL and FI ligatures wasn't extracted correctly. (J#CORE-443)
  • Fixed
    Fixes a potential crash when generating AP streams. (J#CORE-364)
  • Fixed
    Fixes free text callout rendering and rich text link render on rotated pages. (J#CORE-297)

1.5.0 26 Dec 2023

  • Added
    Adds additional flags invisible, readOnly, locked, toggleNoView and lockedContents to the flags property of annotations in InstantJSON. (#41335)
  • Added
    Adds support for a fontSize property for redaction annotations in Instant JSON, which sets the size of the redaction overlay text. (#39017)
  • Added
    Adds support for serializing and deserializing annotations with measurement info to the XFDF format. (#36936)
  • Changed
    Updates the HarfBuzz library to 8.2.1. (J#CORE-229)
  • Changed
    Updates the Botan library to version 2.19.3. (#40107)
  • Changed
    Updates libexpat to version 2.5.0. (#37257)
  • Changed
    Updates boost to 1.79.0. (#34723)
  • Changed
    Updates minimum glibc version requirement to 2.28. (#37638)
  • Changed
    Improves (reduces) memory usage on pages with a lot of vector graphics. (J#CORE-210)
  • Changed
    Improves text rendering, particularly for languages that do not use the Latin alphabet. (#39812)
  • Changed
    Improves compatibility with other PDF software when rendering multi-line form field text. (#37072)
  • Fixed
    Fixes an issue where some annotations added to a document are not correctly exported to Instant Document JSON. (#39014)
  • Fixed
    Fixes the unsetting of annotation flags via Instant JSON. (J#CORE-183)
  • Fixed
    Fixes importing of Instant Document JSON containing image annotations onto a rotated page. (#32021)
  • Fixed
    Fixes importing of Instant Document JSON containing multiple radio buttons of the same label. (#31855)
  • Fixed
    Fixes importing of Instant Document JSON where image annotations have been moved. (#31945)
  • Fixed
    Fixes a crash when using a custom DataProvider during heavy load. (#27482)

1.4.1 29 Jun 2021

  • Fixed
    Fixes an issue where applying redaction annotations using PdfDocument.SaveAs with a WritableDataProvider fails to process the redactions. (#29838)
  • Fixed
    Fixes an issue where redactions of paths could fail with Coordinate outside allowed range if the path coordinates were very large. (#29791)
  • Fixed
    Fixes an issue where OCR would fail if no text is on the page. Now the call returns successfully. (#29527)
  • Fixed
    Fixes an issue with OCR where no text is found if the text on the page is relatively large. (#29512)

1.4.0 11 May 2021

  • Changed
    Updates the Catalog examples to run in trial mode without a license key. (#29356)
  • Fixed
    Fixes an issue where applying redaction annotations using PdfDocument.SaveAs may delete the redaction annotations without applying them. (#29222)
  • Fixed
    Fixes an issue where importing a document from a data stream using the DocumentEditor throws an exception. (#27155)
  • Added
    Adds the ability to extract lines of text from a document PdfPage with getTextLines. (#26923)
  • Added
    Adds a initializeTrial method that allows trialing the library without a license key. (#27238)
  • Fixed
    Fixes an issue where OCR could not be performed on a certain image due to an incorrect render scale. (#26118)
  • Fixed
    Fixes issues where pages were not moved correctly when using the document editor API. (#24939)
  • Changed
    OCR now uses NEON and AVX intrinsics for better performance. (#24870)
  • Changed
    Improves log noise in the OCR Library by removing unnecessary log messages in release mode. (#25532)

1.3.0 14 Jul 2020

  • Added
    Adds a new OcrProcessor to provide OCR functionality enabling images with text to searched and have markup annotations applied. (#24655)
  • Added
    Adds an example in the Catalog to show how to add a hyperlink annotation. (#24140)
  • Fixed
    Fixes macOS x64 architecture to future proof new architecture additions. (#24676)
  • Fixed
    Fixes an issue where text with word or character spacing is shifted after redaction has been applied. (#24476)

1.2.0 16 Apr 2020

  • Added
    Adds GetRotation method to PageInfo exposing the page rotation information. (#23220)
  • Added
    Adds the PdfProjection helper class to convert between raw PDF coordinates and normalized PDF coordinates. (#23387)
  • Added
    Adds the ability to get and set form field values. (#23640)

1.1.0 04 Feb 2020

  • Added
    Adds a new RedactionProcessor to automate the permanent removal of data from a document. (#22813)
  • Added
    Adds a SaveAs method for Document allowing for saving to a specified destination. (#22620)
  • Added
    Adds a POM file to aide dependency management with maven repositories. (#22663)
  • API
    Removed public PdfDocument constructor. Please use static method PdfDocument.open(DataProvider) to open a document. (#22787)
  • Fixed
    Fixes initialization error output to advise on fixes. (#22901)
  • Added
    Adds explicit null checking on API parameters to provide better exception messages. (#22812)

1.0.1 09 Dec 2019

  • Fixed
    Fixes an issue where flattening was not performed when a custom DataProvider was used. (#22624)
  • Fixed
    Fixes Windows runtime dependencies causing "Can't find dependent libraries" message. (#22592)

1.0.0 31 Oct 2019

See the announcement post.

  • Changed
    Initial release