
Improves the process of repairing PDF form fields on load.
Features
- Dropped support for Java 6 - Supported versions are now Java 7 to 17.
- Improved the process of repairing form fields on load, to try to match Adobe Acrobat's unpublished algorithm. For documents that require extensive repair on load, this may result in differences to the repair process affecting which annotations and fields are repaired.
- PDF/A
- When substituting fonts in a document with OutputProfiler.FontAction, you can now allow one font to be replaced by multiple fonts. This fixes that case where a suitable substitute was found but is missing only one or two glyphs. NOTE: This changes required an API change to the OutputProfiler.FontAction interface.
- Added OutputProfiler.setJustNoticeableDifference() method, to allow control over the threshold above which two colors are deemed to be different.
- Added the ability to identify images that are damaged or truncated with the "ImageDamaged" feature, and disallow it for PDF/A-1 or later.
- Added the ability to check for truncated image data when looking for file damage, and repair it if required (this improves PDF/A compatibility with Acrobat).
- Added the ability to check for damage or truncatation to glyphs, and treat them as missing.
- Separations "All" and "None" are not exempt from the requirements against redefinition of Separations in PDF/X-4 and PDF/A-4, even though ISO32K does not require this. The new RedefinedSeparationAll feature will identify and repair these.
- Made timezones on metadata dates a requirement for PDF/A-1, based on PDFA TWG discussions. It's not a requirement for PDF/A-2 and later.
- While PDFA TWG determines whether invalid "colr" box in JPX images is significant when there is a ColorSpace on the stream, the ability to identify and repair it if required (JPXNotBaselineColr) has been added.
- Finally clarified distinction on CIDSet requirements between PDFA1 and PDFA2+3, and handle both as required - this slightly relaxes the requirements for PDFA1.
- Added the ability to find invalid ICC profiles used as transparency-group ColorSpaces.
- Improved support for (interim) PDF/UA-2 spec.