Skip to content

v5.1.0

Latest

Choose a tag to compare

@unidoc-alip unidoc-alip released this 10 Sep 16:10
e279a3a

Release notes - UniPDF v5.1.0

This release contains new features, improvements and bug fixes.

New Features

  • US-1728 creator.SetDefaultFont for overriding the default fonts
  • US-1738 creator.Image masks: soft, stencil and color-key masking, with alpha optimization
  • US-1753 Signature coverage reporting on SignatureValidationResult
  • US-1753 PdfParser.RevisionEndOffsets and PdfParser.Size for locating document revision boundaries
  • US-1767 US-1768 Template engine strict mode via TemplateOptions.Strict
  • US-1721 PageText.FormContents for extracting text found inside Form XObjects
  • US-1603 PdfFont.ShapeText and the textencoding.ShapedGlyphRegistry interface
  • US-1703 veraPDF PDF/A corpus parity test and an opt-in Isartor corpus test

Improvements

  • US-1720 US-1733 Extended sanitizer coverage to embedded files, form-data actions and multimedia actions
  • US-1683 Faster PDF/UA validation by parsing each page's content stream once per validation
  • US-1680 Owner-aware layout attributes and ClassMap attribute resolution in the PDF/UA verifier
  • US-1681 PDF/UA structure walks now look through NonStruct, Div and Part wrappers
  • US-1687 PDF/UA font checks extended to annotation appearances, Type3 CharProcs and tiling patterns
  • US-1661 Consolidated the render alpha buffer pool onto core.AcquireBytes/ReleaseBytes
  • US-1732 Updated the minimum supported Go version to 1.25.0
  • US-1682 More stable golden-file comparison in the end-to-end test harness

Bug Fixes

  • US-1666 Removed remaining PDF/UA verifier false positives for table regularity and XFA forms
  • US-1667 Fixed PDF/UA verifier rules that misfire or under-report against veraPDF
  • US-1682 Fixed the XMP rule cascade reported when the catalog has no /Metadata stream
  • US-1703 Fixed XMP verifier gaps in packet encoding, schema matching and property value types
  • US-1684 Fixed PDF/A font embedding for TrueType Collection substitutes and standard-14 base names
  • US-1603 Fixed ligatures and contextual forms being dropped by font subsetting
  • US-1727 Fixed font attributes with whitespace failing to resolve from the FontMap
  • US-1767 Template data is now escaped on interpolation, with further template processor fixes
  • US-1730 Fixed Flate-compressed /JBIG2Globals streams failing to parse
  • US-1726 Fixed the xref repair regression for tables whose subsection numbering is shifted
  • US-1721 Fixed the redactor silently skipping matches inside Form XObjects
  • US-1751 Fixed Editor.Replace truncating replacement text longer than the match
  • US-1752 Fixed objects cached during the auto-repair xref health check never being decrypted
  • US-1758 Fixed an undefined type assertion on composite fonts in obfuscated builds