Skip to content

v2.4.0 — conformance preflight + CMYK render fidelity + atomic saves

Choose a tag to compare

@lxman lxman released this 10 Jul 02:55

A read-only conformance preflight for archival, print, and accessibility PDF standards, a large CMYK / colour-managed rendering-fidelity batch (validated against Ghent Workgroup fixtures), text-extraction correctness fixes, and atomic file saves. Additive and back-compatible.

Added

  • Conformance preflight (PdfLibrary.Conformance) — validate a loaded document against PDF/A-2b/2u/3b (archival), PDF/X-4 (print), and PDF/UA-1 (accessibility) and get structured findings, without modifying the document. A structural, machine-decidable subset of each standard — not a certification; tuned for zero false positives against the veraPDF corpus.
  • 16-bit-per-component images, Optional Content (layer) visibility, a transparency-group render SPI, Type 6/7 mesh shadings, and native DeviceCMYK samples for colour-managed render targets.
  • Read path: Link annotation targets and bookmark destinations from GoTo actions / named destinations.

Changed

  • Saving to a file path is now atomic (temp-file + rename). An interrupted or failed Save/Write/Optimize no longer truncates the existing file, so overwriting a source — e.g. saving a merge back over one of its inputs — is safe. Stream overloads are unchanged.

Fixed

  • Colour-managed CMYK image pipeline (Ghent Workgroup fidelity), DeviceN fills + sampled-function index order, v/y Bézier operators, cross-boundary content-stream parsing, AES-256 file-key padding, standard-encoding glyph names, and several text-extraction geometry fixes.

See CHANGELOG.md for full detail.