HotPDF Release Notes

Version history for HotPDF user-visible features, fixes, compatibility updates, and documentation changes

Note: Only the change records of the latest 2000 versions are kept

Last release

  • Latest version: 2.1221.11; Release date: 2026-11-18

Version 2.1221.11

Fixed

  • Fixed headless rich-text appearance comparison to decrypt streams with per-object crypt-filter context while exempting plaintext/generated/xref streams and ignoring null dictionary entries, and hardened HPDFCompareHeadlessDocuments with independent per-document stream budgets, acyclic DAG digest memoization, and normalized #XX/null dictionary handling
  • Improved contract comparison with Unicode case folding, precomputed O(|A|x|B|) paragraph similarity matrices, lossless UTF-8 highlight annotation text, file-export rectangle validation, and clean mapping of headless page-box/extraction errors to ccsExtractionFailed or ccsBudgetExceeded

Version 2.1221.10

Fixed

  • Fixed object-graph JSON export and import to materialize compressed /ObjStm objects, exclude stale /ObjStm and /XRef structural streams from snapshots, preserve full-precision numeric tokens beyond 32-bit float precision, and validate 64-bit stream /Length values above 16 MiB
  • Fixed preflight object-graph repair to decode hexadecimal and escaped Name Tree keys with unsigned byte ordering, support valid empty-string keys, reject overlapping child /Limits intervals, and rebuild the loaded page array after catalog-only repairs

Version 2.1221.9

Fixed

  • Fixed linearized PDF output to reject undecrypted encrypted sources, preserve the permanent document /ID when saving protected reproducible files, encrypt linearization hint streams when protection is active, initialize layout hint offsets deterministically, materialize inherited /Pages attributes onto page dictionaries without dirtying in-memory pages, and prune stale /Linearized dictionaries on non-linearized resaves
  • Extended PlanProgressiveLinearizedPageRanges to skip indirect dictionary values in hint stream headers and decode Flate-compressed hint streams using TIFF Predictor 2 and PNG Predictors 10–15

Version 2.1221.8

Fixed

  • Fixed loaded resource optimization to materialize lazy pages and compressed /ObjStm members before scanning, preserve filter metadata and raw payloads when hashing non-filterable streams, normalize hexadecimal strings, #XX names, and exact SourceToken numbers during deduplication, and propagate target generation numbers when rewriting indirect references
  • Fixed top-down scanline ordering and integer overflow guards during image recompression, skipped JPEG2000 streams carrying non-zero /SMaskInData, and wrote clamped output dimensions back to downsampled image dictionaries

Version 2.1221.7

Fixed

  • Fixed preflight report serialization and validation in HPDFPreflight to preserve UTF-8 text and exact original byte lengths in memory without writing temporary files, and decoded hexadecimal BOM-prefixed Unicode strings when repairing /Info metadata
  • Fixed XMP preflight report embedding to sanitize rule identifiers into valid XML NCName tags while skipping banner lines, and updated HPDFPreflightApplyPreflightProfile to recalculate warning and summary totals

Version 2.1221.6

Fixed

  • Fixed redaction pattern scanners (DetectCards, DetectPhones, DetectIPv4, DetectIBANs, and DetectEmails) so failed candidate prefixes advance safely instead of skipping later matches on the same line, while tightening email token boundaries and guarding UTF-16 surrogate pairs
  • Fixed redaction text scanning to tolerate blank pages without /Contents streams and to insert word separators across visual line and column gaps

Version 2.1221.5

Fixed

  • Fixed document sanitization and object compaction in HPDFEnterprise to materialize lazy pages and compressed /ObjStm objects first, preserve /StructTreeRoot, /OutputIntents, and /PageLabels under spUntrustedDocument, release removed direct dictionary/array items cleanly, and refresh PageArr after renumbering
  • Fixed indirect catalog unwrapping in GetLoadedCatalog and Unicode temporary path handling across PAdES signature helpers

Version 2.1221.4

Fixed

  • Fixed Cloud Signature Consortium (CSC) signing requests by removing unwanted MIME line breaks from encoded Base64 payloads and strictly validating padding and trailing characters when decoding server responses
  • Replaced brittle JSON value searches in the CSC client with lexical string-aware and brace-depth-aware scanning, rejected malformed X.690 object identifiers and out-of-range RSA-PSS salt lengths, and inferred default ECDSA signature OIDs from the active digest algorithm when omitted by credential metadata

Version 2.1221.3

Fixed

  • Fixed Windows 32-bit/64-bit PKCS#11 ABI compatibility in HSM signature providers by enforcing 1-byte Cryptoki structure packing under Windows so CK_INFO, CK_SLOT_INFO, CK_TOKEN_INFO, and CK_MECHANISM fields align accurately across native tokens
  • Rejected all-zero ECDSA r/s signature components cleanly as spsMalformed rather than throwing range errors or accepting invalid scalars, and forwarded and bounds-checked optional context strings in ML-DSA and EdDSA verification calls

Version 2.1221.2

Fixed

  • Hardened PDF incremental signature revision verification so trailing stream payload tampering can no longer pass HPDFRevisionBodiesEquivalent or HPDFRevisionChangedKeysAllowed comparisons, and decoded hexadecimal #XX name tokens before matching dictionary keys and object types
  • Prevented pre-existing document objects from being rewritten to spoof /Type, /DSS, or cross-reference stream identities across signed revisions, added overflow and bounds guards for DocMDP /P permission parsing and /ByteRange 64-bit integer addition, and enforced /FieldMDP lock policies against newly added form fields

Version 2.1221.1

Added

  • Added ISO 16612-2 Annex A.2 and ISO 15930-7/8 /DestOutputProfileRef external ICC profile reference validation in HPDFValidatePDFVTStream, resolving cid:, file:, and relative /URLs or direct /UF//F entries (including hexadecimal and UTF-16BE/LE BOM file specifications) against earlier MIME parts while permitting external http:///https:// URLs, and selecting /S /GTS_PDFX output intents cleanly

Changed

  • Accelerated PDF/VT-2s package parsing and writing in HPDFPDFVTStream by slicing byte ranges and checking MIME boundaries in place without duplicating whole stream buffers as ANSI strings, and replaced TStringList/linear object and page lookups in TPDFWalk with open-addressed 64-bit object and page hash tables
  • Added whole-page and per-scanline CompareMem identical-row fast paths plus unsigned luminance arithmetic in HPDFDocCompare rendered page comparisons, skipping redundant pixel reads, color deltas, tile tracking, and overlay allocation across matching pages and scanlines

Fixed

  • Fixed Lazarus / Free Pascal rendered page comparisons and heatmap overlays in HPDFDocCompare to inspect RawImage.Description channel shifts, byte order, and 24/32-bpp depth with fallback pixel reading and exception-safe BeginUpdate/EndUpdate pairing

Version 2.1221.0

Added

  • Added reusable compiled XPath 1.0 AST expressions (HPDFXPathCompile and IHPDFXPathCompiledExpression) in HPDFXPath1 for lock-free repeated evaluation against loaded XML documents
  • Added ZUGFeRD COMFORT profile mapping to the EN 16931 Schematron rule set in HPDFEInvoiceValidator while preserving fail-closed behavior for unconfigured country profiles such as XRECHNUNG

Changed

  • Accelerated e-invoice Schematron validation by precompiling rule contexts and XPath expressions once at load time, indexing external _codedb.xml tables into an O(1) hash lookup structure, deduplicating adjacent context queries during validation, and sharing immutable prepared schemas across threads via a content-validated cache (reducing warm 618-rule EN 16931 validation time by roughly 5–6x)
  • Strengthened Schematron date and timestamp pattern validation in HPDFEInvoiceValidator to enforce Gregorian calendar days per month and leap years (rejecting dates such as February 29 in non-leap years and February 31) alongside valid hour and minute bounds

Fixed

  • Fixed XPath 2.0 to XPath 1.0 function rewriting in HPDFEInvoiceValidator where infix operators followed by parenthesized expressions (le (...), eq (...), or (...)) lost their separating space before operator replacement, which previously triggered evaluation errors on Factur-X_1.09_EXTENDED.sch rules BR-FXEXT-CO-10 through BR-FXEXT-CO-15
  • Eliminated heap memory leaks caused by calling FillChar over managed string and dynamic-array fields in HPDFEInvoiceValidator result/summary/rule records and freed partially built XPath AST nodes cleanly when THPDFXPathParser raises a syntax or unknown-function error

Version 2.1220.0

Added

  • Added built-in RFC 3161 HTTP/HTTPS timestamp transport exports (hpdf_network_timestamp_transport_create_v1, hpdf_network_timestamp_transport_destroy, and hpdf_network_timestamp_transport_v1, configured via hpdf_network_timestamp_options_v1) across both the Windows C ABI (HotPDFABI.dll) and the POSIX Linux C ABI (libhotpdf_linux_abi.so), using WinHTTP on Windows and libcurl on Linux with strict UTF-8 HTTP/HTTPS URL validation, cancellation polling, bounded response limits, chunked write delivery, and structured ABI status codes
  • Added opt-in "useBuiltinTimestampTransport": true support (default false, preserving existing fail-closed caller callback enforcement) for sign JSON operations specifying "timestamp": true and an explicit http:// or https:// "timestampURL" (or "timestampServerURL"), and advertised "builtinTimestampTransport": true in C ABI / job capabilities

Version 2.1219.0

Added

  • Added a POSIX libcurl HTTP/HTTPS backend to HPDFNetworkTransport so OCSP, CRL, RFC 3161 timestamp, certificate fetch, and signature evidence transport workflows operate natively on Linux and macOS as well as Windows
  • Added RFC 3986 IPv6 bracketed literal host parsing, relative Location redirect resolution, RFC 9110 307/308 method and request-body preservation, and Retry-After header parsing across HTTP redirects and status responses
  • Added Free Pascal (3.2.2+) callback adapter support in HPDFNetworkTransport for headless HTTP fetching as well as Windows CMS timestamping and signature evidence acquisition
  • Included previously unregistered Core units (HPDFNetworkTransport, HPDFPDFR1Writer, HPDFPDFR1Depth, and HPDFPDFVTStream) in all Delphi Core packages (HotPDF190 through HotPDF370) and expanded the Lazarus package (HotPDFLaz) from 201 to 213 units so Core units compile cleanly from package builds

Fixed

  • Fixed WinHTTP outgoing header registration in HPDFNetworkTransport so request headers such as Content-Type are transmitted with their actual length rather than omitted, alongside WinHTTP session handle reuse and automatic buffer growth for large response headers

Version 2.1218.5

Fixed

  • Corrected PNG tEXt and zTXt metadata handling in the bundled TPNGObject reader on Unicode Delphi: keywords and text now cross the chunk boundary as Latin-1 bytes, so an ASCII keyword loads and saves intact instead of being reinterpreted as wide characters, and accented Latin-1 text survives a save/load round trip. Characters outside Latin-1 are written as '?' because the chunk format cannot represent them
  • Hardened PNG textual chunk parsing: the keyword scan stays inside the chunk payload, so a tEXt chunk without a NUL separator no longer reads past its buffer, and a keyword with empty text is accepted as the two-byte chunk the specification allows

Version 2.1218.4

Changed

  • Added explicit Small Business and Enterprise edition availability callouts across the English documentation, API reference pages, and Delphi and C++Builder demo guides so edition-specific capabilities and sample projects are clearly identified before integration

Fixed

  • Exported all core library units consistently in C++Builder package builds so C++ applications using font caching, Data Matrix encoding, advanced OpenType tables, mesh shading, resampling, and JavaScript helpers link cleanly without unresolved symbols
  • Aligned C++Builder Win32 and Win64 sample projects so every demo builds cleanly out of the box across both static Win32 linking and dynamic Win64 runtime packages
  • Strengthened output parameter contracts and local state initialization across core, Small Business, and Enterprise units to eliminate compiler hints and warnings under strict Delphi, C++Builder, and Free Pascal builds

Version 2.1218.3

Added

  • Separation and DeviceN images with 16 bits per component, including DeviceN spaces with up to 32 colorants, now decode, extract and render: samples map linearly from 0..65535 onto the /Decode range before the tint transform, and colour-key /Mask ranges are matched against the full 16-bit sample values

Version 2.1218.2

Fixed

  • Headless page import now declares PDF 1.5 when a copied page, Form XObject or tiling pattern draws an inline image with 16 bits per component, just as it already did for 16-bit image XObjects, so older destination files no longer advertise a version that cannot carry those samples

Version 2.1218.1

Fixed

  • FormCalc Round now treats its decimal-places argument identically in the native, owned, legacy calculate and JavaScript evaluators: the count is truncated toward zero and limited to 0..12, so Round(3.14159, 2.7) returns 3.14 instead of scaling by a fractional power of ten, a negative count rounds to a whole number instead of to tens or thousands, and a count above 12 rounds to 12 places instead of failing in legacy field calculations

Version 2.1218.0

Changed

  • GetLoadedFormFieldWidgetRect and the Rect returned by GetLoadedAnnotationInfo and GetLoadedLinkInfo now report the same normalized PDF user-space rectangle as GetLoadedFormFieldRect: Left is never greater than Right and Bottom is never greater than Top, whichever corner order the file stores. Code that previously read Top as the lower edge of an annotation, link or widget must now read Bottom
  • Annotation, link and widget rectangles also resolve indirect coordinate objects; an annotation /Rect whose first four entries are not all numbers is now reported as an all-zero rectangle instead of a partially filled one
  • ActivateLoadedLinks also recognizes existing links whose rectangle corners are stored in reverse order, and FDF interchange export writes annotation rectangles in normalized lower-left, upper-right order
  • The LoadedDocInspector demo prints link rectangles in the same order as the PDF /Rect array

Version 2.1217.3

Changed

  • THPDFDOMText layout measurement and line wrapping now use true 1/1000-em font metrics across the standard 14 PDF fonts and system TrueType fonts via a thread-safe glyph-advance cache, handle zero-width combining marks, surrogate pairs, and hanging trailing whitespace accurately, and automatically invalidate cached line breaks when FontName or FontStyles changes

Version 2.1217.2

Fixed

  • DeviceN colour spaces with 5 through 32 colourants (ISO 32000-1 Annex C) now decode and render accurately across continuous-tone images, Indexed images over DeviceN base spaces (including hexadecimal palette strings), inline images referencing named colour-space resources, colour-key /Mask arrays, uncoloured tiling pattern tints, overprint preview compositing, and Shading Types 1 through 7 (including /Background fills, wide-output Type 0/2/3/4 functions, mesh vertex samples, and SVG page export)

Version 2.1217.1

Changed

  • The Delphi and C++Builder PDFmerge GUI demos and the C++Builder Annotations and FileAttach GUI demos now include an Open PDF after creation checkbox (enabled by default) so users can create output files without launching an external PDF viewer

Version 2.1217.0

Changed

  • THotPDF.GetLoadedFormFieldRect, THPDFLoadedFormField.GetBounds, and THotPDF.GetLoadedAnnotationPopupRect now normalize PDF rectangle corner coordinates per ISO 32000-1 §7.9.5 into standard PDF user-space bounds (Left <= Right, Bottom <= Top) consistent with GetLoadedAllPageBoxes, resolve indirect numeric coordinate objects and multi-level /Kids widget trees, and reject non-numeric /Rect elements

Version 2.1216.0

Added

  • THPDFPage.AddFileAttachmentAnnotation and THPDFPage.AddSoundAnnotation now provide Unicode file-path overloads (TFileName on Unicode targets, WideString on non-Unicode targets) that open files directly from Unicode directories without ANSI code-page loss and write UTF-16BE /UF file specification entries per ISO 32000-1 §7.11.3 when attachment names contain non-ASCII characters

Version 2.1215.1

Fixed

  • THotPDF.GetLoadedNameTreeRootCount now resolves indirect /Names arrays and recursively counts entries across nested /Kids subtrees per ISO 32000-1 §7.9.6, with visited-node cycle protection

Version 2.1215.0

Changed

  • Windows C ABI document exports now serialize concurrent operations on the same handle internally and acquire two-handle comparison locks in a deterministic order, matching the Native Linux C ABI concurrency contract
  • hpdf_document_destroy immediately unregisters the handle token while allowing any call already in progress on that handle to complete before releasing its underlying context

Version 2.1214.26

Changed

  • Native XFA FormCalc URL encoding is faster for values that contain characters requiring escaping
  • Encoded text is byte-for-byte identical for url, html and xml modes
  • Both native calculation engines produce the same output

Version 2.1214.25

Fixed

  • Form remerges that keep active XFA SOM queries now reserve shared memory for the continuation proofs and the identity pair transport; when that reservation is refused, the document, field values and focus are restored exactly and the same runtime can retry

Version 2.1214.24

Fixed

  • Explicit XFA input references charge SOM resolution workspace, returned targets, and computed JavaScript wrappers to the shared memory budget

Version 2.1214.23

Fixed

  • XFA input listener owner plans reserve shared memory for their backing arrays through event dispatch, including array resizing

Version 2.1214.22

Fixed

  • XFA input event dispatch charges frozen event copies, scope indices, and listener match flags to the shared memory budget

Version 2.1214.21

Changed

  • Native XFA FormCalc URL decoding now scales linearly with input size
  • Encoding and decoding results are unchanged for url, html and xml modes
  • Both native calculation engines produce the same output

Version 2.1214.20

Fixed

  • Explicit XFA input listeners charge owner, live identity and sparse declaration lookup tables to the shared memory budget

Version 2.1214.19

Fixed

  • XFA focus events charge declaration and visited-event tracking to the shared memory budget

Version 2.1214.18

Fixed

  • Native XFA locale pictures now use a plain space on Linux, matching the Windows time and date format strings
  • ICU patterns with narrow or non-breaking spaces no longer produce different FormCalc format results across platforms
  • Existing numeric, date and time formatting output is unchanged

Version 2.1214.17

Fixed

  • Native XFA FormCalc rejects numeric literals that overflow into infinity, so Windows and Linux evaluate the same expression consistently
  • Finite numeric literals, computed values and existing diagnostics are unchanged
  • Both native evaluators return identical results for the focused numeric and string control set

Version 2.1214.16

Fixed

  • Native XFA FormCalc owned standard functions now apply the same guarded boundaries as the main native evaluator
  • Large measurements, numeric word scales, field widths and style arguments no longer overflow or leak low-level exceptions
  • Malformed URL escapes, XML character references and supplementary-plane HTML references match the main path

Version 2.1214.15

Fixed

  • XFA lifecycle events now account for visited events, binding groups and temporary widget entries within the shared retained-memory budget

Version 2.1214.14

Fixed

  • XFA FormCalc Num2Date rejects serial values beyond December 31, 9999 without raising a date conversion error

Version 2.1214.13

Fixed

  • Native XFA FormCalc date, time and UUID style arguments reject non-finite values with a clear calculation error
  • Huge finite style values no longer pass through an overflowing integer conversion
  • Ordinary style selection, fractional style values and out-of-range results are unchanged

Version 2.1214.12

Fixed

  • Native XFA FormCalc Str marks non-finite values with asterisks instead of writing an infinity label
  • HTML encoding emits a single numeric reference for supplementary-plane characters so decoding round-trips them
  • Ordinary numeric formatting, BMP references and URL encoding are unchanged

Version 2.1214.11

Fixed

  • Native XFA FormCalc URL decoding keeps malformed percent escapes as literal text instead of failing the calculation
  • Non-ASCII characters in URL input keep their UTF-8 bytes instead of being replaced by a substitute character
  • Valid escapes, plain text and the existing malformed-tail diagnostic are unchanged

Version 2.1214.10

Fixed

  • Native XFA FormCalc WordNum spells out amounts above the 32-bit limit instead of returning empty text
  • Large amounts keep their thousand, million, billion and trillion scales when zero groups are skipped
  • Ordinary amounts, currency styles and out-of-range results are unchanged

Version 2.1214.9

Fixed

  • Native XFA FormCalc Decode keeps invalid numeric character references as literal text instead of producing control characters
  • References outside the XML character range, malformed hexadecimal references and surrogate code points are left unchanged
  • Valid decimal and hexadecimal references, including supplementary-plane characters, still decode correctly

Version 2.1214.8

Fixed

  • Native XFA FormCalc UnitValue keeps large measurements instead of returning zero
  • Values with more than ten digits, long fractions and negative amounts resolve correctly
  • Short measurements and unit conversions are unchanged

Version 2.1214.7

Fixed

  • Native XFA FormCalc Str formatting checks the requested field width before building the padded text
  • Negative, non-finite and oversized widths are rejected instead of producing empty text or allocating an unbounded string
  • Ordinary Str results and precision clamping are unchanged, and other native FormCalc functions keep their existing limits

Version 2.1214.6

Fixed

  • Native rendering and page import recover polygon, polyline, and ink appearances when the optional /Path entry is missing or null. Polygon and polyline annotations, including cloudy polygons, use their stored vertices, while ink annotations use their stored stroke lists

Version 2.1214.5

Fixed

  • Native annotation rendering and page import preserve custom dash arrays stored in legacy annotation borders. A border style dictionary takes precedence when present, and a null dash entry falls back to the default border pattern

Version 2.1214.4

Fixed

  • When a radio widget appearance must be recovered, its background fills the entire ellipse under a dashed border. The fill reaches the outer edge between the dashes for both selected and unselected controls

Version 2.1214.3

Fixed

  • Native page flattening retains a visible annotation appearance whose Form subtype is omitted or null. The imported page keeps that appearance even though the source stream did not explicitly identify itself as a Form

Version 2.1214.2

Fixed

  • Native page import declares PDF 1.5 when an older destination retains a newer transition such as Fly or Fade. Legacy transitions such as Dissolve can keep the destination's original PDF version

Version 2.1214.1

Fixed

  • Native page import declares PDF 1.5 when an older destination retains a page's presentation steps. A null presentation-step entry does not trigger the version change

Version 2.1214.0

Fixed

  • Preserving PDF/A-4 conversion omits page presentation steps so documents with slide navigation can be archived with their original page content

Version 2.1213.0

Fixed

  • Preserving PDF/A-4 conversion fills in missing layer-panel order entries, including when the order is inherited. Existing groups keep their relative order, nested labels, and visibility

Version 2.1212.0

Fixed

  • Preserving PDF/A-4 conversion gives unnamed layer configurations a name and disambiguates duplicate names. Each configuration keeps its original visibility settings, so the page appearance stays the same

Version 2.1211.132

Fixed

  • Native page import declares PDF 1.4 when an older destination retains XMP metadata streams on the page or its images. Null metadata entries do not trigger the version change

Version 2.1211.131

Fixed

  • Native page import declares PDF 1.6 when an older destination retains an embedded OpenType font program. The imported font data is preserved and the destination identifies a PDF version that supports it

Version 2.1211.130

Fixed

  • Native page import declares PDF 1.6 when retaining an optional-content visibility expression in an older destination. The expression stays with the imported layers so their combined visibility can still be evaluated

Version 2.1211.129

Fixed

  • Native page import declares a compatible catalog version when an older destination receives an explicit or color-key image mask

Version 2.1211.128

Fixed

  • Native page import declares PDF 1.5 in an older destination when the imported page retains a 16-bit image XObject

Version 2.1211.127

Fixed

  • Compiled FormCalc Oneof distinguishes explicit field references from scalar values. Two references to different fields are still distinct when those fields happen to contain the same value

Version 2.1211.126

Fixed

  • FormCalc string functions preserve null inputs in native and compiled events while retaining empty strings and optional deletion arguments

Version 2.1211.125

Fixed

  • Native FormCalc expressions can call Null() to produce a null value. Compiled events accept the zero-argument call and reject calls that supply arguments

Version 2.1211.124

Fixed

  • FormCalc Space returns null when its input is null. In compiled events, a requested string that exceeds the configured value-size limit is rejected

Version 2.1211.123

Fixed

  • FormCalc HasValue treats whitespace-only text as blank, including when it comes from a bound field. A field containing numeric zero still counts as having a value

Version 2.1211.122

Fixed

  • FormCalc Choose handles fractional indexes consistently in standalone expressions and event calculations. An index outside the available choices returns an empty string

Version 2.1211.121

Fixed

  • Legacy FormCalc field calculations preserve large finite values when rounding. Halfway values round away from zero, including negative halfway values

Version 2.1211.120

Fixed

  • FormCalc preserves the sign and fractional part of a remainder even when division produces a quotient too large to represent. This applies to standalone calculations, event calculations, and legacy field calculations

Version 2.1211.119

Fixed

  • Page import with a supplied FreeText font now preserves beveled and inset borders when flattening annotations with missing appearances

Version 2.1211.118

Fixed

  • When a combo box needs a regenerated appearance, native rendering and page import use the field’s text alignment. Centered and right-aligned values keep their placement in the recovered widget

Version 2.1211.117

Fixed

  • Native rendering and page import keep widget backgrounds visible between dashes and through the outer edge when recovering rectangular widget appearances

Version 2.1211.116

Fixed

  • Native rendering and page import recover beveled and inset borders on rectangular widgets with missing appearances

Version 2.1211.115

Fixed

  • Native rendering and page import recover rectangular widget underline borders while preserving the background and field content

Version 2.1211.114

Fixed

  • Native rendering and page import recover explicit border and background colors for combo boxes and list boxes with missing appearances

Version 2.1211.113

Fixed

  • Native rendering and page import recover explicit border and background colors on text fields with missing appearances

Version 2.1211.112

Fixed

  • Native page import can flatten an annotation appearance whose PDF stream reference uses a nonzero object generation. The imported page keeps the annotation’s visible appearance

Version 2.1211.111

Fixed

  • Native page import declares PDF 1.4 when synthesized annotation appearances add transparency graphics states to older PDFs

Version 2.1211.110

Fixed

  • Native rendering and page import recover the empty frame of an unsigned signature field with a missing appearance

Version 2.1211.109

Fixed

  • Native page import preserves streams whose decoding parameters are stored in an indirect dictionary or array

Version 2.1211.108

Fixed

  • Native page import declares the minimum PDF version needed by retained JBIG2 and JPEG 2000 stream filters

Version 2.1211.107

Fixed

  • Native page import declares PDF 1.4 for transparency in copied shading pattern graphics states when needed

Version 2.1211.106

Fixed

  • Native page import preserves vector appearances that require placement coefficients larger than the native content operand limit

Version 2.1211.105

Fixed

  • Native page import retains annotation appearances with very small transformed bounds when their placement fits the renderer coordinate range

Version 2.1211.104

Fixed

  • Native page import declares PDF 1.4 when copied graphics states or image soft masks require transparency support

Version 2.1211.103

Fixed

  • Native page import declares PDF 1.4 when copied page or Form transparency groups require it in an older destination

Version 2.1211.102

Fixed

  • Native page import declares PDF 1.6 when a copied page uses UserUnit and the destination declares an older PDF version

Version 2.1211.101

Fixed

  • Native page import keeps Text annotation icons upright on rotated pages, including icons generated during import

Version 2.1211.100

Fixed

  • Native page import flattens NoZoom annotations at the source page’s 100% view scale. The resulting page content uses that reference size when the annotation becomes part of the page

Version 2.1211.99

Fixed

  • Native page import flattens NoRotate annotations as upright vector appearances anchored to the original annotation corner

Version 2.1211.98

Fixed

  • Native Cairo rendering treats an explicitly null /Annots entry as an empty annotation list. The page still renders its ordinary content

Version 2.1211.97

Fixed

  • Native Cairo rendering falls back to the Normal blend mode for an unrecognized PDF blend-mode name. The affected drawing can still render

Version 2.1211.96

Fixed

  • XFA field calculations accept scientific notation in FormCalc expressions. A value such as 1e-3 can be entered directly as a numeric literal and evaluates to 0.001

Version 2.1211.95

Fixed

  • FormCalc NPV retains a representable discounted cash flow even when the discount denominator would overflow. A valid contribution remains part of the net present value

Version 2.1211.94

Fixed

  • FormCalc IPmt and PPmt handle payment ranges consistently and finish once a loan is paid off

Version 2.1211.93

Fixed

  • FormCalc Apr returns zero for a loan repaid exactly without interest and retains accuracy for loans with small positive rates

Version 2.1211.92

Fixed

  • FormCalc Rate and CTerm preserve precision for nearly equal amounts and handle widely separated amounts when the result is representable

Version 2.1211.91

Fixed

  • FormCalc payment, annuity, and period calculations distinguish a very small nonzero interest rate from zero. These calculations retain the effect of the supplied rate

Version 2.1211.90

Fixed

  • FormCalc compiled through QuickJS uses Unicode character positions, preserves supplementary characters in replacement, and applies FormCalc whitespace rules

Version 2.1211.89

Fixed

  • Native XFA FormCalc counts and slices supplementary Unicode characters consistently in Len, At, Left, Right, and Substr

Version 2.1211.88

Fixed

  • Native XFA FormCalc Stuff can delete a substring without inserting replacement text. String edits also preserve supplementary Unicode characters

Version 2.1211.87

Fixed

  • Native FormCalc Ltrim, Rtrim, and Trim recognize Unicode space separators. They remove those characters from the leading edge, trailing edge, or both edges respectively, including in compiled XFA events

Version 2.1211.86

Fixed

  • Native XFA FormCalc Upper and Lower apply Unicode case mappings directly. Results for non-ASCII field values no longer depend on the platform code page

Version 2.1211.85

Fixed

  • Native Cairo rendering handles optional font entries that are explicitly null. It retains both ordinary page text and text in regenerated field appearances

Version 2.1211.84

Fixed

  • Native XFA FormCalc preserves Unicode in Replace, including supplementary characters when the search text is empty

Version 2.1211.83

Fixed

  • Native Cairo renders gradients, meshes, and shading patterns whose optional dictionary entries are null. Explicit nulls no longer prevent otherwise renderable shading from appearing

Version 2.1211.82

Fixed

  • Native Cairo renders non-embedded Symbol and ZapfDingbats text and existing widget appearances when compatible system fonts are installed

Version 2.1211.81

Fixed

  • If a native OCR search-layer request recognizes no words, it returns the original PDF bytes. A page with no recognized text can pass through without a rewritten copy

Version 2.1211.80

Fixed

  • Recognition-only native OCR works directly with the loaded PDF. It returns recognition results without the extra save-and-reopen step

Version 2.1211.79

Fixed

  • Native OCR validates page selections before recognition and rejects duplicate pages that would repeat the search layer

Version 2.1211.78

Fixed

  • Native OCR loads the search-layer font only when it needs to write recognized text. Recognition-only requests and pages with no recognized words avoid that dependency

Version 2.1211.77

Fixed

  • Native OCR checks the configured JSON result budget while adding pages and words. An oversized result is rejected during assembly rather than only after it has been built

Version 2.1211.76

Fixed

  • The native OCR word limit applies to the combined result from all selected pages. A multi-page request cannot receive a fresh word allowance on each page

Version 2.1211.75

Fixed

  • Native OCR maps words correctly on pages with inherited geometry, null overrides or reversed box corners

Version 2.1211.74

Fixed

  • Native rendering and page import preserve inherited page boxes and rotation when the page has null overrides

Version 2.1211.73

Fixed

  • A native rectangular redaction preview with an explicitly empty outline color is drawn without an outline. Native rendering and vector import both preserve that choice

Version 2.1211.72

Fixed

  • When a redaction annotation has null quadrilateral coordinates, native rendering and page import use the annotation rectangle for its preview. The mark remains visible using its rectangular bounds

Version 2.1211.71

Fixed

  • Native rendering and page import use the Draft stamp appearance when the stamp name is null

Version 2.1211.70

Fixed

  • External XFA JavaScript uses the actual parent for same-class sibling lists and indexes inside anonymous containers

Version 2.1211.69

Fixed

  • Native XFA Form SOM queries can filter nodes by their same-class sibling index

Version 2.1211.68

Fixed

  • External XFA JavaScript SOM predicates match quoted values containing Unicode line and paragraph separators

Version 2.1211.67

Fixed

  • External XFA JavaScript SOM predicates can match values containing escaped quotes, backslashes and Unicode characters

Version 2.1211.66

Fixed

  • External XFA JavaScript resolves relative parent paths with occurrence selectors and property filters

Version 2.1211.65

Fixed

  • External XFA JavaScript can filter Form SOM queries by field value and class index

Version 2.1211.64

Fixed

  • Clearing a combo box now keeps its selection empty when the previous value came from a parent field

Version 2.1211.63

Fixed

  • Clearing a single-select list box now keeps its selection empty when the previous value came from a parent field

Version 2.1211.62

Fixed

  • Native list box appearance synthesis honors explicit empty selections even when old selection indexes remain

Version 2.1211.61

Fixed

  • Native list box appearance synthesis follows the field value when selection indexes conflict

Version 2.1211.60

Fixed

  • Native combo box appearance synthesis uses a matching selection index to distinguish duplicate export values

Version 2.1211.59

Fixed

  • Native annotation rendering and page import use defaults for null FreeText callouts and Caret symbols

Version 2.1211.58

Fixed

  • Native line annotation rendering and page import use leader and caption defaults for null entries

Version 2.1211.57

Fixed

  • Native annotation rendering and page import use border defaults when border style or effect entries are null

Version 2.1211.56

Fixed

  • Native annotation rendering and page import use the default opacity when an annotation alpha entry is null

Version 2.1211.55

Fixed

  • Native rendering and page import treat a null annotation rectangle-difference entry as an omitted inset. The annotation can still use its original rectangle when rendering its appearance

Version 2.1211.54

Fixed

  • External XFA JavaScript can follow parent steps in absolute SOM paths. A callback can navigate back from a matched node and continue resolving the path from its parent

Version 2.1211.53

Fixed

  • External XFA JavaScript can apply multiple literal SOM predicates after an occurrence selector

Version 2.1211.52

Fixed

  • External XFA JavaScript can filter SOM candidates using literal Form property values. A path can select the matching Form nodes from multiple candidates

Version 2.1211.51

Fixed

  • External XFA JavaScript can read the presence and access properties of Form nodes. Callbacks can use those values when deciding how to handle fields with different display or access states

Version 2.1211.50

Fixed

  • External XFA JavaScript can select scalar Form node properties at the end of SOM paths

Version 2.1211.49

Fixed

  • External XFA JavaScript exposes the Form root directly and supports item and namedItem on SOM query results

Version 2.1211.48

Fixed

  • External XFA JavaScript can enumerate same-name and same-class Form instances and read the class index

Version 2.1211.47

Fixed

  • External XFA JavaScript can enumerate direct Form children through read-only node collections

Version 2.1211.46

Fixed

  • External XFA JavaScript can follow Form node parent links and resolve the Form root

Version 2.1211.45

Fixed

  • External XFA JavaScript can resolve fields from a previously resolved Form node

Version 2.1211.44

Fixed

  • External XFA JavaScript can read the names, classes, and occurrence indexes of resolved Form nodes

Version 2.1211.43

Fixed

  • External XFA JavaScript can resolve sibling and enclosing Form fields from the current node without explicit parent steps

Version 2.1211.42

Fixed

  • External XFA JavaScript uses the current repeated Form occurrence when a relative path omits an index

Version 2.1211.41

Fixed

  • External XFA JavaScript can read neighboring repeated Form instances with signed relative occurrence indexes

Version 2.1211.40

Fixed

  • External XFA JavaScript can select Form children by wildcard without naming each field

Version 2.1211.39

Fixed

  • External XFA JavaScript supports descendant SOM lookups in absolute and receiver-relative Form paths

Version 2.1211.38

Fixed

  • External XFA JavaScript can read sibling fields relative to the current repeated Form instance

Version 2.1211.37

Fixed

  • External XFA JavaScript can use class selectors in absolute Form paths, including through unnamed layout containers

Version 2.1211.36

Fixed

  • External XFA JavaScript can read repeated fields through absolute Form paths with occurrence indexes and wildcards

Version 2.1211.35

Fixed

  • External XFA JavaScript receives the selected radio group value during validation and can validate multiple fields in one form

Version 2.1211.34

Fixed

  • External XFA JavaScript can read the selected export value of a named radio button group

Version 2.1211.33

Fixed

  • XFA scripts read all selected values from multi-select fields bound to repeated data elements

Version 2.1211.32

Fixed

  • External XFA JavaScript named lookups return ordinary Form field instances in order and follow their own data bindings

Version 2.1211.31

Fixed

  • External XFA JavaScript named lookups retain ordinary fields that share a name with rich text fields

Version 2.1211.30

Fixed

  • Native button appearance inference uses the existing off appearance when the matching state entry is null

Version 2.1211.29

Fixed

  • Native rendering and page import select existing button appearances from the field value when the widget state is absent

Version 2.1211.28

Fixed

  • Native checkbox appearance recovery uses the selected widget position for fields with export options

Version 2.1211.27

Fixed

  • Native radio appearance recovery uses the selected widget position for groups with export options

Version 2.1211.26

Fixed

  • Native AcroForm reading and appearance recovery retain inherited values and settings when child entries are null

Version 2.1211.25

Fixed

  • Native rendering accepts null optional graphics state for text fonts and shading patterns

Version 2.1211.24

Fixed

  • Native pattern rendering treats a null matrix as the identity transform. The pattern renders with its default placement and scale

Version 2.1211.23

Fixed

  • Native rendering treats a null Form matrix as the default identity transform. The Form is drawn in its original position and scale without requiring an explicit matrix

Version 2.1211.22

Fixed

  • Native rendering, text extraction and annotation flattening retain content streams when a page content array contains null entries

Version 2.1211.21

Fixed

  • Native rendering, text extraction and annotation flattening support pages with a null content entry

Version 2.1211.20

Fixed

  • Native FDF export preserves small decimal values generated for annotations. Reimporting the FDF retains those values instead of rounding them away during export

Version 2.1211.19

Fixed

  • Native PDF saves write small generated values, such as appearance opacity, as PDF-compatible decimals. A small nonzero value remains distinguishable from zero after saving

Version 2.1211.18

Fixed

  • Native review highlights retain small fractional coordinates in both their geometry and appearance streams. The saved appearance stays aligned with the corresponding highlight coordinates

Version 2.1211.17

Fixed

  • Native page edits preserve very small rectangle coordinates when placing text or creating signature fields. Saving the page retains those fractional bounds

Version 2.1211.16

Fixed

  • Flattened annotations with very small offsets or scales remain renderable after page import

Version 2.1211.15

Fixed

  • Flattening an imported annotation keeps its appearance resources local to the target page. If another page shares the original XObject resource names, its content remains intact

Version 2.1211.14

Fixed

  • Enabled annotation appearance recovery also preserves annotations hidden by the default layer preset

Version 2.1211.13

Fixed

  • Flattened annotations retain their layer visibility when a different layer preset is selected after page import

Version 2.1211.12

Fixed

  • Layer presets keep the other document's panel order, radio groups and locks after preserving page import

Version 2.1211.11

Fixed

  • Preserving page import skips stale layer panel entries and retains their copied children

Version 2.1211.10

Fixed

  • Native rendering applies default layer usage behavior when optional entries are explicitly null

Version 2.1211.9

Fixed

  • Preserving page import keeps the original language fallback when some layers are omitted

Version 2.1211.8

Fixed

  • Selecting a layer preset after preserving page import keeps the other document's default layer usage rules

Version 2.1211.7

Fixed

  • Native rendering retains the separate layer intents of source and destination pages after preserving import

Version 2.1211.6

Fixed

  • Native rendering and preserving page import ignore stale layer references in catalog configurations

Version 2.1211.5

Fixed

  • Preserving page import keeps page and Form content visible when a named optional-content resource points to a deleted object

Version 2.1211.4

Fixed

  • Preserving page import keeps the visibility fallback for removed optional-content members and expressions

Version 2.1211.3

Fixed

  • Native rendering preserves page content when optional-content membership references have been removed

Version 2.1211.2

Fixed

  • Native rendering treats omitted and explicit View layer intents alike and leaves empty intent sets outside visibility filtering

Version 2.1211.1

Added

  • Linux callback rendering can select an alternate layer configuration through its JSON options

Version 2.1211.0

Added

  • Native PNG rendering can apply a selected alternate layer configuration, including its intent and automatic visibility rules

Version 2.1210.62

Fixed

  • Imported layer presets with duplicate names receive numbered suffixes so they can be distinguished after repeated imports

Version 2.1210.61

Fixed

  • Alternate layer configurations retain their original inherited panel order and mutually exclusive groups after page import

Version 2.1210.60

Fixed

  • Preserving page import retains alternate layer configurations and limits their on and off settings to the originating document's layers

Version 2.1210.59

Fixed

  • Preserving page import retains automatic layer visibility rules for copied groups, including print and zoom settings

Version 2.1210.58

Fixed

  • Preserving page import retains layer locks and mutually exclusive layer sets for copied layers

Version 2.1210.57

Fixed

  • Preserving page import retains the source layer panel order and grouping for copied layers

Version 2.1210.56

Fixed

  • Preserving page import registers copied page layers and retains their default on and off states alongside existing destination layers

Version 2.1210.55

Fixed

  • Preserving page import keeps annotations and normal appearances hidden by the source default layer configuration out of flattened pages

Version 2.1210.54

Fixed

  • Preserving page import keeps standard annotations with the Invisible flag when flattening the visible page

Version 2.1210.53

Fixed

  • Native rendering recovers missing or null normal annotation appearances, including missing selected states, consistently with opt-in vector page import

Version 2.1210.52

Fixed

  • External JavaScript lookups retain plain text and empty values in repeated XFA rich text fields

Version 2.1210.51

Fixed

  • External JavaScript reads repeated XFA rich text fields in Form instance order with each instance's bound value

Version 2.1210.50

Fixed

  • Named XFA rich text field lookups in external JavaScript return the same plain text as the widget

Version 2.1210.49

Fixed

  • External JavaScript validation receives the widget's plain text for local and bound XFA rich text fields

Version 2.1210.48

Fixed

  • XFA required-field validation recognizes visible rich text and treats style-only or script-only rich text as empty

Version 2.1210.47

Fixed

  • Moving focus away from an unchanged XFA rich text field preserves its styling. A changed plain value replaces the styled value in both local and bound fields

Version 2.1210.46

Fixed

  • Fixed a Linux ARM64 page-import crash when synthesizing and flattening missing form appearances

Version 2.1210.45

Fixed

  • Fixed an OCR crash on Linux ARM64 caused by floating-point settings changing after page rendering

Version 2.1210.44

Fixed

  • Ordinary Form XObjects with a null Group retain the same soft-mask compositing as forms without a group
  • Optional null transparency group entries use their defaults for Form XObjects and pages
  • Null soft-mask transfer and backdrop entries use the same defaults as omitted entries

Version 2.1210.43

Fixed

  • Native Cairo preserves the current graphics state when an ExtGState entry is null
  • Null alpha and blend-mode entries keep the transparency established by earlier drawing operations
  • Null soft-mask entries preserve the active mask, while an explicit None still clears it

Version 2.1210.42

Fixed

  • Native Cairo renders inline images whose optional entries are explicitly null
  • Inline images with a null Filter use unfiltered samples, and null DecodeParms use the selected filter defaults
  • Inline stencils retain the graphics-state soft mask when optional image entries are null

Version 2.1210.41

Fixed

  • Native Cairo keeps the active graphics-state soft mask when an image mask entry resolves to null
  • Optional null image entries use the same defaults as omitted entries
  • Explicit image masks still take precedence over the graphics-state soft mask

Version 2.1210.40

Fixed

  • Native Cairo decodes escaped rendering-intent names only once
  • A literal hash in an intent name no longer changes calibrated colors by selecting a different intent
  • Ordinary and hex-escaped spellings of a standard rendering intent still produce the same colors

Version 2.1210.39

Fixed

  • Nested XHTML with explicit line height no longer inserts a leading blank line into portable XFA rich fields
  • Empty styled blocks no longer add extra line breaks to the exported field value or appearance
  • Visible rich text retains its line height and explicit line breaks after export

Version 2.1210.38

Fixed

  • Portable XFA rich text fields preserve line breaks after nested XHTML blocks
  • Exported editable AcroForm fields keep these boundaries in the plain value, styled value and initial appearance
  • An empty trailing block with default styling no longer adds an extra line to the exported rich value

Version 2.1210.37

Fixed

  • XFA widget plain values retain line breaks after XHTML paragraphs and divisions
  • Bound aliases retain the same line breaks after saving and reopening the XDP
  • An unchanged plain edit preserves the styled XHTML and its block boundaries

Version 2.1210.36

Fixed

  • Unix annotation fallback can use TrueType faces installed inside font collections
  • Generated rich appearances can use multiple faces from the same collection while retaining each face and its searchable text
  • Native vector page import preserves the selected collection faces when the generated appearance fits the operation budget

Version 2.1210.35

Fixed

  • Unix annotation synthesis reuses an installed font when multiple fallback lookups select the same file
  • Repeated fallback font references no longer consume the rich text inspection budget more than once
  • Supported rich annotation appearances can be flattened under the default callback memory limits when their unique fonts fit

Version 2.1210.34

Fixed

  • Unix rich annotation fallback accepts style faces with complementary character coverage in the same grapheme
  • Fontconfig fallback skips candidates that lack the characters needed for a style
  • Generated appearances retain cross-style combining text through vector page import

Version 2.1210.33

Fixed

  • Unix rich text widgets and FreeText annotations can recover missing glyphs using installed fallback fonts
  • Fallback selection keeps graphemes together across styled spans and retains their text colors
  • Native page import preserves the resulting rich text appearances and searchable text

Version 2.1210.32

Fixed

  • Unix text widgets with missing appearances can use installed fallback fonts for scripts outside the primary font
  • Plain FreeText annotation recovery uses the same grapheme-aware fallback
  • Flattened text widgets and FreeText retain their searchable text and fallback fonts after save and reopen

Version 2.1210.31

Fixed

  • Unix combo and list boxes can use installed TrueType fallback fonts for missing glyphs in generated appearances
  • Choice labels keep complete graphemes together when selecting a fallback font
  • Native page import preserves fallback fonts and searchable choice labels when flattening the generated appearances

Version 2.1210.30

Fixed

  • Generated combo box captions stay on one line when an option label contains line breaks
  • Long combo box captions keep their leading text visible when clipped to the field
  • Combo box captions that fit retain their centered placement

Version 2.1210.29

Fixed

  • Generated list box appearances use the final default font size to determine the visible rows
  • Generated combo and pushbutton captions honor default font selections separated by PDF whitespace or comments
  • Automatic caption sizing preserves the selected font and color

Version 2.1210.28

Fixed

  • Generated list box appearances no longer select the wrong row when a selection index is fractional
  • Out-of-range selection indices leave the other list rows available for rendering
  • Valid selection indices still highlight their rows when the list is scrolled and the selection array contains invalid entries

Version 2.1210.27

Fixed

  • List boxes with missing appearances highlight selected rows when they use embedded Type 1 or raw CFF fonts
  • Selection bands follow the actual font metrics and spacing of the displayed rows
  • Selection bands stay within the list box text area

Version 2.1210.26

Fixed

  • List boxes with missing appearances keep each option on one visual row when its label contains line breaks
  • Selection highlights stay aligned with their options when earlier labels contain paragraph separators
  • List box selection still matches original export values containing line breaks

Version 2.1210.25

Fixed

  • Combo boxes with missing appearances can display the label for a selected empty export value
  • Generated choice appearances preserve explicitly blank option labels
  • Generated list boxes can highlight a selected blank row and ignore non-text selection values

Version 2.1210.24

Fixed

  • Combo boxes with missing appearances show the selected option label even when the field value and option use different encodings
  • List boxes with missing appearances display BOM-prefixed UTF-8 option labels correctly
  • List box selection highlights match equivalent values across PDF text encodings

Version 2.1210.23

Fixed

  • An unchanged plain edit preserves the styling of an existing XFA rich text field
  • A changed plain edit replaces the previous XHTML in local fields and shared dataset values
  • XDP reload and portable PDF export retain the resulting plain value

Version 2.1210.22

Fixed

  • XFA rich text widgets separate XHTML divisions with line breaks in the plain field value
  • XFA rich text widgets exclude style and script contents from the plain field value
  • XHTML body indentation no longer introduces extra spaces into XFA field values

Version 2.1210.21

Fixed

  • XFA host editors can read and submit rich text when the text widget is defined by the Form instance
  • Rich text readback and editing honor the same field option as portable PDF export
  • Surrounding whitespace on the XFA rich text option no longer prevents host editing

Version 2.1210.20

Fixed

  • XFA rich text fields accept their first styled edit when the local value starts empty or contains plain text
  • The first styled edit is available to the host editor after XDP save and reload
  • Portable PDF export retains the styled content entered into these fields

Version 2.1210.19

Added

  • XFA widget hosts can read the current styled XHTML before opening an editor
  • Readback returns the effective bound or local rich text value
  • Runtime readback and portable PDF export use the same resolved markup

Version 2.1210.18

Added

  • XFA rich text editors can update fields bound to scalar dataset elements
  • Widgets sharing the value refresh together after a styled edit
  • Portable PDF export preserves the bound rich value and its styled appearance

Version 2.1210.17

Added

  • XFA widget hosts can commit a styled XHTML body after opening a rich text edit
  • The widget exposes the edited text while XDP save and reload preserve its styling
  • Invalid markup and rejected edits leave the previous content available for retry

Version 2.1210.16

Added

  • Portable XFA output exports XHTML text edits as AcroForm rich text fields
  • The saved field retains its styled value, plain text and styled initial appearance
  • Rich text fields preserve their XFA editability and multiline settings

Version 2.1210.15

Added

  • Rich XFA draws support solid overlines and strikeouts alongside underlines
  • Both PDF output paths draw decorations in the text color for each wrapped fragment
  • Inline decoration can be cleared with none

Version 2.1210.14

Added

  • Rich XFA text uses system dictionaries to find line breaks in complex-context scripts such as Thai
  • Dictionary opportunities work across inline styles and retain the original source positions for continuation
  • Without system ICU, complex-context text can wrap between complete grapheme clusters

Version 2.1210.13

Added

  • Inline XHTML elements can override whitespace modes in XFA rich text
  • Nested spans inherit the nearest setting and can preserve spaces, keep text together or force source line breaks
  • Rich draw continuation keeps inline whitespace and the corresponding source offsets

Version 2.1210.12

Added

  • Rich XFA paragraphs accept inherited or explicit CSS tab sizes for preserved tabs
  • Tab sizes accept space multiples and supported lengths, and zero removes the tab advance
  • Wrapped text recalculates tabs from the paragraph content edge on each line

Version 2.1210.11

Added

  • Rich XFA paragraphs support CSS break-spaces
  • Preserved spaces, tabs and Unicode space separators count toward the line width
  • Consecutive spaces can wrap across styles and continue onto the next page

Version 2.1210.10

Added

  • Rich XFA paragraphs support CSS pre and pre-wrap
  • Preserved spaces and tabs retain their advances, and source newlines force a break
  • Pre-wrap also wraps to the available width, with trailing preserved spaces hanging at a soft break

Version 2.1210.9

Added

  • Rich XFA paragraphs support CSS nowrap and pre-line whitespace modes
  • No-wrap paragraphs collapse whitespace and break only at forced breaks
  • Pre-line paragraphs preserve source line endings while continuing to wrap to the available width

Version 2.1210.8

Fixed

  • Rich XFA text hides soft hyphens until a line wraps at their position
  • The visible hyphen keeps its inline styling and counts toward the available width
  • A continuation resumes after the source soft hyphen

Version 2.1210.7

Fixed

  • Rich XFA paragraphs wrap at Unicode line opportunities, including between ideographs and across styled spans
  • Nonbreaking spaces and word joiners suppress soft wrapping, while zero-width spaces provide a break without a visible glyph
  • Unicode mandatory separators create line breaks and preserve empty intervening lines

Version 2.1210.6

Fixed

  • XFA rich text keeps combining marks and joined emoji together when narrow lines split long words
  • Grapheme clusters stay together across style spans and keep their original styling
  • A cluster that exceeds the available width stays intact on one line

Version 2.1210.5

Fixed

  • QuickJS FormCalc normalizes parsed time-zone offsets to signed hours and minutes
  • Compact and hour-only offsets parse to the same form as offsets that include a colon
  • UTC uses the canonical Z suffix, and out-of-range hours or minutes are rejected

Version 2.1210.4

Fixed

  • QuickJS-backed FormCalc now treats the datetime separator as the start of the time mask, even when the mask omits hours
  • Datetime pictures preserve quoted labels when formatting and parsing localized values
  • Calendar parsing requires complete input, including at the end of a line

Version 2.1210.3

Added

  • QuickJS-backed XFA FormCalc now supports zero and null picture clauses
  • Scripts can display custom labels for zero and null and parse them back to their original value types
  • Ordered alternatives support quoted labels and empty output masks

Version 2.1210.2

Added

  • Native XFA FormCalc can display distinct labels for zero and null values using picture clauses
  • Parsing those labels recovers numeric zero or null, preserving the distinction from a failed match
  • Zero and null picture clauses can appear before a general format as ordered alternatives

Version 2.1210.1

Fixed

  • Native XFA datetime parsing now accepts quoted text containing T on either side of the date-time separator
  • Native FormCalc can parse its own formatted datetime output with prefixes such as Today
  • Quoted and unquoted date-time separators retain strict calendar and time validation

Version 2.1210.0

Added

  • FreeText rich appearance import supports up to sixteen caller-supplied font families
  • Rich labels keep their font-family choices and use supplied fallback faces for missing glyphs
  • The Linux JSON API reports support for named font families in its capabilities

Version 2.1209.0

Added

  • FreeText import can embed supplied bold, italic, and bold italic fonts in rich annotation appearances
  • Each style keeps its own font in the saved PDF, with searchable text
  • The Linux JSON API advertises the available style-font inputs through capability discovery

Version 2.1208.23

Added

  • FreeText page import can rebuild a missing appearance from XHTML strings and streams using the supplied font
  • FreeText default styles apply to rich labels and plain contents, including supported text sizes, colors and paragraph alignment
  • Imported rich labels remain searchable after saving and reopening the PDF

Version 2.1208.22

Added

  • FreeText page import preserves character spacing and word spacing in generated annotation appearances
  • Spacing contributes to text wrapping and alignment inside the annotation
  • Repeated spacing settings use the last value for each operator

Version 2.1208.21

Added

  • FreeText page import can synthesize cloudy borders when the original appearance is missing
  • The cloud contour shapes both the background and border while the text stays inside the inset box
  • A zero cloud intensity retains the ordinary border

Version 2.1208.20

Added

  • FreeText page import supports quarter-turn label rotation when synthesizing a missing appearance
  • Rotated text is laid out within the inset annotation rectangle
  • Background, border, and callout geometry retain their page alignment

Version 2.1208.19

Added

  • FreeText page import supports square, circle, and diamond callout endings
  • Callout endpoints can also use a perpendicular butt mark or a slash
  • Callout ending marks follow the first segment and remain solid when the line is dashed

Version 2.1208.18

Added

  • FreeText page import synthesizes straight and bent callout lines with the supplied-font label
  • Callout lines can use open or closed arrowheads in either direction
  • Rectangle insets position the label without moving the authored callout coordinates

Version 2.1208.17

Added

  • FreeText appearance synthesis during page import shapes complex text with the supplied font
  • The generated appearance preserves bidirectional layout, cursive joining, and combining marks where the font supports them
  • Saved shaped appearances retain the logical Unicode text for extraction

Version 2.1208.16

Added

  • FreeText appearance synthesis during page import supports automatic font sizing
  • A zero font size fits multiline text to the annotation rectangle after applying any rectangle insets
  • Positive font sizes remain fixed in the saved appearance

Version 2.1208.15

Added

  • FreeText appearance synthesis during page import accepts CMYK text color from the default appearance string
  • The generated text and border preserve the original CMYK components in the saved PDF
  • The last supported color operator in the default appearance determines the synthesized color

Version 2.1208.14

Added

  • FreeText appearance synthesis during page import honors annotation opacity
  • The background, border, and text are composited as a single appearance before opacity is applied
  • Older destination documents declare PDF 1.4 in the Catalog when an imported appearance adds transparency

Version 2.1208.13

Added

  • FreeText appearance synthesis during page import supports underline borders
  • The underline follows the lower edge of the inset rectangle when the annotation supplies rectangle differences
  • A zero-width underline leaves the background and searchable text intact

Version 2.1208.12

Added

  • FreeText appearance synthesis during page import honors horizontal and vertical corner radii from the legacy Border array
  • Rounded FreeText backgrounds and strokes can combine with dash patterns and asymmetric rectangle insets
  • Imported rounded FreeText appearances retain searchable text after saving

Version 2.1208.11

Added

  • Opt-in FreeText appearance synthesis during page import honors asymmetric rectangle insets
  • The inset rectangle controls text wrapping, background fill, and border placement
  • The flattened appearance keeps its original page position and searchable text

Version 2.1208.10

Added

  • Opt-in FreeText appearance synthesis during page import preserves square dashed borders
  • Import accepts dash patterns from the border style dictionary or the legacy Border array
  • The saved appearance retains the dash pattern alongside searchable text

Version 2.1208.9

Fixed

  • Native macOS headless rendering discovers standard Homebrew installs of Cairo, FreeType, Fontconfig, and LittleCMS
  • First-use Fontconfig cache generation on macOS preserves the caller's floating-point exception settings
  • Explicit native library overrides still take precedence over default discovery

Version 2.1208.8

Fixed

  • PDF/X-6 preflight reports forbidden additional-action entries in the document catalog, pages, form fields, and Widget annotations
  • Empty additional-action dictionaries are reported, and a combined field and Widget receives one finding
  • Explicitly invoked actions, such as JavaScript on a link, continue to be checked under their own action rules

Version 2.1208.7

Fixed

  • Native Cairo honors explicit OFF for ICC v4 perceptual and saturation black-point compensation
  • ICC conversion preserves the selected rendering intent and the color mapping defined in the embedded profile with compensation disabled
  • Default continues to use the color management engine's normal policy when an ICC intent applies black-point adjustment

Version 2.1208.6

Added

  • Native Cairo applies PDF black-generation and undercolor-removal functions when converting DeviceRGB painting into DeviceCMYK transparency groups
  • RGB child groups use the black-generation and undercolor-removal settings active when painted into a CMYK parent
  • Native rendering honors the newer graphics-state keys, their Default reset and signed undercolor removal

Version 2.1208.5

Fixed

  • Indic GSUB applies reph, half, below-base, pre-base reordering and post-base lookups only to eligible glyph positions
  • A zero-width non-joiner blocks Indic half-form substitution on the preceding consonant
  • Indic glyph positions remain associated with the correct glyphs across contextual, multiple and ligature substitutions

Version 2.1208.4

Fixed

  • Telugu and Sinhala reph reordering now requires an explicit zero-width joiner after Ra and halant
  • Fonts without a matching reph substitution keep ordinary conjunct glyph order in shaped Telugu and Sinhala text
  • Sinhala repaya stays with its base before the dependent vowel's post-base component

Version 2.1208.3

Fixed

  • Bengali reph now precedes right-hand vowels and follows below-base vowels
  • Bengali split vowels keep their left component before the base and their right component after reph
  • Gujarati reph now follows above-base vowels and precedes below-base and right-hand vowels

Version 2.1208.2

Fixed

  • Sinhala diga kombuva now places its pre-base and post-base components around the consonant
  • Precomposed and canonically decomposed Sinhala diga kombuva now shape consistently without absorbing the following syllable
  • Fonts with a dedicated Sinhala post-base glyph use it when shaping diga kombuva

Version 2.1208.1

Fixed

  • Character spacing keeps combining marks attached to their bases in positioned Unicode text in both directions
  • Explicitly positioned text preserves caller-supplied glyph origins when character spacing and horizontal scaling are active
  • Positioned embedded-glyph runs preserve their supplied advances when character spacing is active

Version 2.1208.0

Added

  • THPDFPage.ShowUnicodeText takes an optional TextFormat (stfAuto, stfUnicode, stfHex) so callers can state whether Text holds characters or hexadecimal codes; plain text is now written as the current font's character codes, as TextOut writes it, and in the automatic mode only hex digits in whole 4-digit units count as hexadecimal, so words such as 'a' or 'bed' are no longer read as codes

Version 2.1207.247

Fixed

  • The Delphi ExtractText and PageOperations demos print extracted text without losing characters outside the console code page, writing UTF-16 to a console and UTF-8 when the output is redirected, like their C++Builder counterparts

Version 2.1207.246

Fixed

  • The C++Builder PDFBarcode demo prints its output path and error messages with the Unicode console writer the other C++ demos use, so folder names and localized messages outside the console code page are no longer shown as question marks

Version 2.1207.245

Fixed

  • When building the C++Builder Annotations or FileAttach demo document fails, the demo no longer writes and opens a half-built PDF; the partial file is removed and the error is shown without the misleading advice to close the viewer

Version 2.1207.244

Fixed

  • The C++Builder PDFmerge demo asks before its Save dialog overwrites an existing file, as the Delphi demo already does

Version 2.1207.243

Fixed

  • The PDFmerge demos (Delphi and C++Builder) recognise a destination that is a source file under another name, such as a hard link, an 8.3 short name or a subst drive, and refuse to overwrite it

Version 2.1207.242

Fixed

  • The SignatureValidator demo exits with code 2 when any signature fails verification and 3 when the document has no signature field, and prints each status by name, so scripts can rely on its exit code

Version 2.1207.241

Changed

  • hpdf_document_execute_json_v1 checks the password of an operation that loads its input PDF the same way the form and annotation operations do: a password that is not a JSON string or contains NUL is rejected as an invalid argument instead of being treated as empty

Version 2.1207.240

Fixed

  • Windows C ABI exports and their JSON statusCode now always return an hpdf_status code: a failure status outside the defined range that a size, read, timestamp transport or font callback returns (for example an errno value) is reported as HPDF_STATUS_IO_ERROR

Version 2.1207.239

Fixed

  • The Windows C ABI sends the diagnostics of hpdf_document_load_from_io and hpdf_document_save_to_io in UTF-8 like its other operations, so localized error texts and non-ASCII names reach the callback intact

Version 2.1207.238

Fixed

  • ValidatePDFX6 also checks the resources of Type 3 fonts and of soft-mask transparency groups, so an unembedded font or a forbidden XObject used only inside a Type 3 glyph or a soft mask is reported

Version 2.1207.237

Changed

  • ValidatePDFUA2Structure looks up visited structure elements, header IDs, object references and reachable form fields by binary search, so tagged documents with very large structure trees validate in reasonable time

Version 2.1207.236

Fixed

  • ValidatePDFUA2Structure reports each role map cycle once instead of once per resolution of an affected element, so a single cycle no longer fills the issue limit and hides other findings

Version 2.1207.235

Fixed

  • ValidatePDFUA2Structure reports ua2.document.metadata.revision when the XMP lacks pdfuaid:rev or does not give it as a four-digit year, which ISO 14289-2:2024 requires alongside pdfuaid:part; documents HotPDF writes already carry it

Version 2.1207.234

Fixed

  • ValidatePDFUA2Structure resolves named destinations whose name tree keys or references are hexadecimal strings, so a link to a destination named <...> in one place and (...) in the other is no longer reported as unresolved

Version 2.1207.233

Fixed

  • ValidatePDFX6 compares the XMP GTS_PDFXVersion with the selected profile exactly, so a file identified as PDF/X-6p or PDF/X-6n is no longer accepted when the complete PDF/X-6 profile is requested, and the profile is detected from that value rather than from any occurrence of the text

Version 2.1207.232

Security

  • The bundled JBIG2 encoder rejects bitmaps whose byte size does not fit in 32 bits instead of computing a wrapped size and copying rows past a short buffer

Version 2.1207.231

Fixed

  • When memory runs out during JBIG2 encoding with the bundled encoder on 32-bit Windows, the allocation helpers report the failure to the encoder as C expects instead of raising an exception through its C code

Version 2.1207.230

Fixed

  • The memset helper that the bundled JBIG2 encoder links on 32-bit Windows now returns its destination like the C library function, so compiled callers that use the return value no longer receive an arbitrary pointer

Version 2.1207.229

Fixed

  • On 32-bit Windows, messages the bundled colour management engine formats about malformed ICC profiles now show their real numbers and names instead of stack contents

Version 2.1207.228

Fixed

  • An ICC profile whose header gives a rendering intent with the high bit set is now rejected as out of range instead of passing the check as a negative intent and making colour management fail later (or raising a range error in checked builds)

Version 2.1207.227

Fixed

  • A malformed EMF RestoreDC record with state number 0 no longer reads before the saved-state buffer when world transforms are unavailable; the record is ignored

Version 2.1207.226

Fixed

  • EMF text in Wingdings is handled as a symbol font, and EMF fonts named Courier or Times are mapped to Courier New and Times New Roman, as intended; the font name checks compared an upper-cased name with mixed-case literals and never matched

Version 2.1207.225

Fixed

  • Embedded GoTo actions that target a file attachment annotation by name write the annotation name as a text string, so non-ASCII names match the annotation's /NM as they already did when the page is given by index

Version 2.1207.224

Fixed

  • SetOptionalContentGroupUsage writes the CreatorInfo, User and PageElement usage categories with the entries ISO 32000 defines (/Creator with /Subtype, /Name with /Type, and the /Subtype name) instead of a key named after the category

Version 2.1207.223

Fixed

  • THPDFActionBuilder.ThenAction rejects an action whose chain already leads back to the builder (A.ThenAction(B) followed by B.ThenAction(A)), which used to make building the action recurse until the stack overflowed and the builders free each other

Version 2.1207.222

Fixed

  • AddLoadedOptionalContentGroup writes a non-ASCII layer name as a proper text string, so viewers show it in their layer panel instead of mojibake, and no longer crashes on a document whose /OCProperties /OCGs entry is not an array

Version 2.1207.221

Fixed

  • ExtractLoadedPageTextColumns no longer stalls on pages with very many glyphs, such as maps and drawings: the median glyph advance it uses for column detection is found in linear time

Version 2.1207.220

Fixed

  • SearchLoadedPageTextWholeWord treats no-break spaces, curly quotes, dashes, ellipses and CJK or full-width punctuation as word boundaries, so a word next to them is found as a whole word

Version 2.1207.219

Fixed

  • GetLoadedSearchHitRect covers the whole of every matched glyph, including the last one, and follows rotated text; a one-character hit no longer gets a zero-width rectangle

Version 2.1207.218

Fixed

  • GSUB features requested for a script the font does not list (for example Tibetan shaping with a font that keeps its lookups under DFLT) now come from the font's DFLT script, as OpenType prescribes, instead of being skipped

Version 2.1207.217

Fixed

  • When a substitution removes a glyph during Indic or Tibetan run shaping (a multiple substitution to nothing), the glyph that follows it is still processed by the same lookup instead of being skipped

Version 2.1207.216

Fixed

  • ReplaceLoadedPageText encodes replacement text by Unicode code point, so replacements containing emoji or CJK extension characters are written when the font has them instead of being skipped

Version 2.1207.215

Fixed

  • Rich text tables in headless appearances place cells correctly next to cells that span several rows; a narrower later row no longer forgets the spanned columns and draws its cell on top of them

Version 2.1207.214

Fixed

  • ValidatePDFX6 and ValidatePDFUA2Structure report numbers too large for an integer (such as /ColSpan 1E30 or an annotation /F of that size) through their normal checks instead of failing with EInvalidOp

Version 2.1207.213

Fixed

  • ValidatePDFUA2Structure no longer reports ua2.form.widget.structure for a widget outside the structure tree that is flagged Invisible, or NoView without ToggleNoView, matching the annotation check that treats such widgets as artifacts

Version 2.1207.212

Security

  • The table header cycle check of ValidatePDFUA2Structure runs in linear time without recursion, so a table with tens of thousands of chained header cells can no longer overflow the stack or stall validation

Version 2.1207.211

Fixed

  • ValidatePDFUA2Structure matches table /Headers entries against header cell IDs after decoding hexadecimal strings on both sides, so headers referenced as <48315F31> are no longer reported as missing and header cycles through such IDs are detected

Version 2.1207.210

Fixed

  • ValidatePDFX6 takes the document title from XMP dc:title and the Trapped key from XMP pdf:Trapped when neither the document nor its Info dictionary gives them, so PDF 2.0 files that keep this metadata only in XMP are no longer reported for a missing title or Trapped value

Version 2.1207.209

Fixed

  • ValidatePDFX6 finds xmp:CreateDate, xmp:ModifyDate and xmp:MetadataDate whatever prefix the XMP basic schema is bound to and whether they are written as elements or as rdf:Description attributes, so conforming files that use the attribute shorthand are no longer reported

Version 2.1207.208

Fixed

  • ValidatePDFX6 no longer reports pdfx6.graphics.type3-width-mismatch for Type 3 glyphs whose d0 or d1 width equals the /Widths entry but is not exactly representable, such as 0.6

Version 2.1207.207

Fixed

  • ValidatePDFX6 decodes hexadecimal strings before checking them, so an output profile reference written as /ICCVersion <04200000> or /ProfileCS <434D594B> is no longer reported as malformed and its process space is read correctly

Version 2.1207.206

Fixed

  • Bitmaps handed out by the decoded image cache to parallel render threads are now independent copies, and drawing a cached image locks its canvas, so concurrent rendering of the same image can no longer corrupt the shared bitmap or draw from a reclaimed device context

Version 2.1207.205

Fixed

  • Clearing the decoded image cache while a page is still being rendered no longer lets that render put an image decoded from the previous content back into the cache, where a newly loaded document with the same object numbers could pick it up

Version 2.1207.204

Fixed

  • JBIG2 encoding works in builds with overflow checking on (such as Debug configurations): the globals pool hash and the C runtime helpers of the bundled encoder no longer raise EIntOverflow on their intended wraparound arithmetic

Version 2.1207.203

Fixed

  • When JBIG2 symbols are accumulated across pages, a page that only reuses known glyphs now shares the current /JBIG2Globals stream instead of writing another copy, so multi-page scans stay smaller

Version 2.1207.202

Fixed

  • EMF StretchBlt records now copy only the source rectangle they name, so a blit from part of a larger bitmap shows that part, and top-down bitmaps are no longer dropped

Version 2.1207.201

Fixed

  • EMF text written as glyph indices (ETO_GLYPH_INDEX, as Uniscribe and Office printing produce) is converted back to characters through the selected font, so it no longer comes out as unrelated letters

Version 2.1207.200

Fixed

  • After an EMF GradientFill, shapes and text that use the colour that was current before the gradient are painted in that colour again instead of with the gradient pattern

Version 2.1207.199

Fixed

  • 1-bit StretchDIBits records in EMF files are converted from the source rectangle they name, so scaled or cropped monochrome bitmaps keep their content, and top-down monochrome bitmaps are no longer lost

Version 2.1207.198

Fixed

  • Playing an EMF with 1-bit StretchDIBits records no longer leaks a GDI bitmap per record, so long reports and batch conversions no longer run out of GDI handles

Version 2.1207.197

Fixed

  • Drawing an EMF whose last clip is still active at its end (no RestoreDC, which is common) no longer leaves that clip in force for whatever the page draws after ShowMetafile

Version 2.1207.196

Fixed

  • EMF text drawn with a clip rectangle now clips inside the clip already in force: an empty opaque and clipped ExtTextOut, the usual way to paint a text background, no longer ends the active clip early, and clipped text no longer removes a region clip set by ExtSelectClipRgn for the rest of the page

Version 2.1207.195

Security

  • GetLoadedActionChain reports the script of a JavaScript action whose /JS is a stream instead of an empty script, so action-chain reviews no longer miss scripts stored that way, and an undecodable script stream is flagged

Version 2.1207.194

Fixed

  • GetLoadedOutlineCount returns the number of top-level outline items, the range GetLoadedOutlineItem, GetLoadedOutlineColor and GetLoadedOutlineStyle accept; it used to return the root /Count, which also counts the visible items of expanded sub-outlines

Version 2.1207.193

Fixed

  • Under Free Pascal and Delphi 7, appearances generated for list boxes and multiline text fields keep characters outside the system code page, such as CJK text, instead of turning them into question marks

Version 2.1207.192

Changed

  • The four mesh shading registration methods reject NumComponents = 2 with an exception, since the shading is written in DeviceGray, DeviceRGB or DeviceCMYK; two components used to produce a DeviceRGB shading whose vertex data a viewer misread

Version 2.1207.191

Security

  • AnalyzeLoadedReadingOrder walks each structure element and kid array once, so a tagged PDF whose structure tree shares kids by reference can no longer make the analysis run for an exponential time

Version 2.1207.190

Security

  • GetLoadedCollectionFolderTree no longer hangs on a portfolio whose folder points back to itself through /Child or /Next, and no longer drops folders after the 256th sibling: siblings are walked in a loop, each folder ID is collected once and the walk stops after 16384 folders

Version 2.1207.189

Fixed

  • Field appearances and synthesized FreeText appearances drawn with a Type0 font from the form's /DR encode their text through that font's CMap instead of writing a UTF-16 byte order mark into the content stream, which showed as a stray glyph or garbled Identity-H text

Version 2.1207.188

Fixed

  • The synthesized FreeText appearance decodes /Contents and /DA as text strings, so hexadecimal, UTF-16 and PDFDocEncoding contents show their text instead of hex digits or byte garbage, and text drawn with a simple font is written in WinAnsi codes

Version 2.1207.187

Fixed

  • The appearance HotPDF synthesizes for a FreeText annotation without one, used when flattening, now shows every line of a multi-line text instead of pushing the second and later lines out of the box

Version 2.1207.186

Security

  • Enabling a shaping feature for a font subset no longer exhausts memory or stalls on a font whose GSUB coverage tables repeat or overlap ranges: each covered glyph is collected once

Version 2.1207.185

Fixed

  • GetMultipleSubstituteGlyphs and GetAlternateGlyph now find multiple and alternate substitutions stored in Extension lookups, as GetAlternateGlyphCount already did, so large fonts that wrap every lookup that way report their alternates

Version 2.1207.184

Fixed

  • Ligatures formed inside a contextual rule or during Indic and Tibetan run shaping keep the marks their lookup skips (IgnoreMarks or a mark filtering set): the marks follow the ligature instead of disappearing

Version 2.1207.183

Fixed

  • SetLoadedXMPMetadata on a document whose metadata stream was compressed now writes a readable stream: the old /Filter and /DecodeParms are dropped, /Length is refreshed and the change is kept by incremental saving

Version 2.1207.182

Fixed

  • FlattenLoadedAnnotations leaves annotations flagged Hidden or NoView in place even when they carry an appearance stream, instead of painting their hidden content onto the page

Version 2.1207.181

Fixed

  • ValidatePDFX6 accepts the external output profile reference of PDF/X-6p and PDF/X-6n files as ISO 32000-2 defines it, so painted DeviceGray, DeviceRGB and DeviceCMYK content and transparency in such files, including the files HotPDF itself writes, are no longer reported as incompatible with the output intent

Version 2.1207.180

Fixed

  • Multi-page JBIG2 batches encoded by the built-in encoder (the only one outside Windows) now decode on every page: all pages are coded against the final shared symbol dictionary, so earlier pages no longer break once later pages add symbols

Version 2.1207.179

Fixed

  • JBIG2 images encoded with symbols accumulated across pages now decode to the right glyphs: text regions refer to each symbol by its position in the exported globals dictionary instead of the order in which the page first met it

Version 2.1207.178

Fixed

  • ReplaceLoadedPageText keeps the text that follows a match spanning several string operands, such as " World" after "Hello" written as (Hel) Tj (lo World) Tj; a spanning match whose replacement the font cannot encode now leaves every operand unchanged instead of deleting its tail, and ReplaceCount counts each match once

Version 2.1207.177

Fixed

  • Indic syllables written with a zero width joiner or non-joiner after the virama (such as Sinhala rakaransaya and yansaya, or an explicit Devanagari half form) now stay one syllable, so the font's conjunct forms apply instead of a visible virama

Version 2.1207.176

Fixed

  • Text copied from Indic and Tibetan text shaped with sfIndicGSUB or Tibetan shaping no longer repeats the whole syllable once per glyph: a glyph that stands for one character maps to that character, a conjunct or stack glyph maps to the characters around it, and a later syllable no longer overwrites the text of a glyph with a longer reading

Version 2.1207.175

Fixed

  • Contextual and chained contextual GSUB rules whose nested lookups form a ligature or split a glyph now keep the right glyphs: a nested ligature no longer empties the output, and a nested multiple substitution no longer swallows the glyph after the match or reads past the end of the text

Version 2.1207.174

Fixed

  • The Windows C ABI no longer lets an exception escape hpdf_document_execute_json_v1, hpdf_document_load_from_io, the comparison operation or the release of a handle when a commit, rollback or cleanup step fails; such a failure is reported as HPDF_STATUS_INTERNAL_ERROR or keeps the error already returned

Version 2.1207.173

Security

  • EMF playback now checks the counts and offsets inside each record against the record size before reading them, and skips a record whose text, point, region, comment, gradient or bitmap data would run past its end; PolyDraw records that end inside a Bezier segment stop there

Version 2.1207.172

Fixed

  • AddStructureElement on a loaded tagged PDF whose parent holds /K as a single kid or as a reference to an array no longer corrupts memory; a single kid is moved into a new /K array together with the new element

Version 2.1207.171

Fixed

  • AddLoadedOptionalContentMembership no longer frees the catalog's optional content group references twice when the document is destroyed, and an out-of-range group index now leaves the document unchanged instead of leaving a dangling membership dictionary behind

Version 2.1207.170

Security

  • Generating or baking field appearances no longer overflows the stack or repeats work when the /Kids of a field lead back to a field or widget already visited; each widget is visited once and nesting stops below 128 levels

Version 2.1207.169

Security

  • FindLoadedOutlineByTitle, GetLoadedOutlineTitlesDeep and GetLoadedOutlineEntries no longer overflow the stack on an outline item whose /First points back to itself; nesting below 256 levels is ignored

Version 2.1207.168

Security

  • Reading the destination page of a loaded outline item no longer overflows the stack when its destination dictionary refers to itself through /D or /SD; the lookup gives up after eight nested dictionaries

Version 2.1207.167

Security

  • GetLoadedOutlineCount no longer hangs on an outline without /Count whose /Next chain loops back; the fallback walk stops after 100000 items like the other outline walks

Version 2.1207.166

Security

  • Adding a document JavaScript or a named destination to a loaded PDF whose name tree has a /Kids cycle now raises an error instead of looping until memory runs out

Version 2.1207.165

Security

  • Loading a PDF whose document-level JavaScript name tree has a /Kids entry pointing back to itself or an ancestor no longer overflows the stack; the walk stops after 32 levels or 100000 nodes like the other name tree readers

Version 2.1207.164

Fixed

  • Showcase --generate of the C++Builder demo prints the same Verified showcase outputs line as the Delphi demo, and its help and error texts reach a redirected output

Version 2.1207.163

Fixed

  • The PreflightReport demo reports in its status line when the output file or folder cannot be opened

Version 2.1207.162

Fixed

  • The C++Builder PageMultiSize demo applies the chosen orientation to a custom page size and rejects a width or height that is not between 0 and 5080 mm

Version 2.1207.161

Fixed

  • The C++Builder TextOut demo writes a Flate-compressed PDF and restores the normal fill rendering mode, like the Delphi demo

Version 2.1207.160

Fixed

  • The HTML dashboard of the PreflightCLI demo shows file names with characters outside the ANSI code page correctly

Version 2.1207.159

Fixed

  • The C++Builder RtLTextOut demo no longer opens the PDF it writes in a viewer, matching the Delphi demo

Version 2.1207.158

Fixed

  • The C++Builder ImageDemo, LineGraphicsState, CanvasDraw, GraphicDraw and RtLTextOut demos print the error and end with exit code 1 when the library raises an exception

Version 2.1207.157

Fixed

  • The C++Builder console demos print paths and error messages with non-ASCII characters in full; such a line used to be cut off at the first of them

Version 2.1207.156

Fixed

  • The Image zoom bookmark of the C++Builder ImageDemo jumps to its heading instead of the foot of the page

Version 2.1207.155

Fixed

  • The C++Builder Stamp demo reads and writes its default files next to the executable regardless of the folder a file dialog was last in, and refuses an output file that is the input file

Version 2.1207.154

Fixed

  • The C++Builder Stamp demo accepts PNG and BMP stamp images; a PNG used to fail and a BMP was stored as a lossy JPEG

Version 2.1207.153

Fixed

  • The C++Builder Hyperlink demo keeps link captions and URLs with characters outside the ANSI code page intact, as the Delphi demo does

Version 2.1207.152

Fixed

  • MemStream --open respects HOTPDF_SUPPRESS_AUTO_LAUNCH in every spelling the library accepts, PreflightCLI names itself correctly and reports an option without its value as such, and the Dash patterns bookmark of GraphicDraw jumps to its heading

Version 2.1207.151

Fixed

  • The Showcase demo removes its temporary working folder on exit, the Showcase, Stamp and PDFmerge save dialogs ask before overwriting, and the E-Invoice demo removes its temporary file when a conversion fails

Version 2.1207.150

Fixed

  • SearchAndSelect --whole-word skips pages without searchable text instead of failing on documents the default mode handles

Version 2.1207.149

Fixed

  • LoadedDocInspector lists a bookmark without a page destination as such instead of as page 0

Version 2.1207.148

Fixed

  • The RtLTextOut demo ends with exit code 1 when it fails and prints one sentence through TextOut as well, so the difference it describes can be seen

Version 2.1207.147

Fixed

  • The ConvertTo and ImageDemo demos fit pictures into their display areas while preserving the original aspect ratio. Images with a different shape from the destination box no longer appear stretched

Version 2.1207.146

Fixed

  • CopyPage reports an unknown option instead of writing an output file named after it

Version 2.1207.145

Fixed

  • The Annotations demo attaches its sample files when the demo folder name has characters outside the ANSI code page, and no longer announces video annotations it does not add

Version 2.1207.144

Fixed

  • After a document fails to open, the Viewer demo clears the bookmarks, disables the toolbar and no longer shows the failed file name as the open document

Version 2.1207.143

Fixed

  • The E-Invoice and PreflightReport demo forms no longer draw one control over another

Version 2.1207.142

Fixed

  • The E-Invoice demo writes VAT category Z for a rate of zero and rounds the net amount before deriving VAT and total, so the invoice XML passes EN 16931 rules BR-S-05 and BR-CO-15

Version 2.1207.141

Fixed

  • The HelloWorld, RtLTextOut, ViewerPref and vertical text demos, in Delphi and C++Builder, no longer need the Arial Unicode MS font: they use fonts that ship with Windows and choose among the installed ones

Version 2.1207.140

Fixed

  • The TextOut demo shows Latin Extended-A letters for the Eastern European character set and the Turkish letters for the Turkish one, where both samples used to print Latin-1 characters

Version 2.1207.139

Fixed

  • The database TableDemo prints an empty cell for a NULL column instead of stopping with a conversion error

Version 2.1207.138

Fixed

  • An exception in a Direct File API step of HugeFileBenchmark is reported as that step's failure and the reports are still written

Version 2.1207.137

Fixed

  • The CSV report of HugeFileBenchmark writes numbers with a decimal point on every system locale, so a comma locale no longer shifts the columns

Version 2.1207.136

Fixed

  • HugeFileBenchmark no longer reports a failure and exit code 1 when a decryption step is skipped because its encryption step was not selected

Version 2.1207.135

Fixed

  • The Stamp and PageThumbnails demos refuse an output file that is the input file instead of destroying it

Version 2.1207.134

Fixed

  • The CopyPage, PageThumbnails, Annotations, CJKAnnotations and chart demos and the direction test of the ViewerPref demo no longer open every PDF they write in a viewer

Version 2.1207.133

Fixed

  • Page rendering paints fills and strokes in a DeviceN colour space with more than four colourants in their real colour; they used to come out grey or in the wrong colour

Version 2.1207.132

Fixed

  • FlattenFormFields keeps what each field looked like: the field font, alignment and border, the check mark of a check box and the selected radio button are drawn from the widget appearance instead of a plain line of Helvetica

Version 2.1207.131

Fixed

  • Pages that inherit their size, rotation or resources from a parent node of the page tree keep them when a loaded document is saved after pages were deleted, inserted or reordered

Version 2.1207.130

Fixed

  • Loaded content streams, object streams and other non-image streams compressed with a PNG or TIFF predictor, or with LZW EarlyChange 0, are decoded correctly for text extraction, rendering and editing

Version 2.1207.129

Fixed

  • SetFormFieldValue and the other form text setters store UTF-8 input as a Unicode text string, so a value read with GetFormFieldValue can be written back unchanged
  • ExportLoadedFormToFDF writes Unicode values and field names as UTF-16BE strings instead of UTF-8 bytes that other readers show as mojibake, and FDF import decodes hexadecimal names and values

Version 2.1207.128

Fixed

  • FDF import applies values of hierarchical fields written under Kids, such as addr.city inside addr, instead of skipping them

Version 2.1207.127

Fixed

  • GetLoadedEmbeddedFileCount, GetLoadedEmbeddedFileName and GetLoadedFileSpecInfo now list attachments stored in a name tree with Kids nodes, and renaming, removing or adding an attachment in such a document keeps the tree valid

Version 2.1207.126

Fixed

  • Documents that use very large, sparse object numbers keep the newest revision of each object when read through an incremental update chain

Version 2.1207.125

Fixed

  • Free Pascal builds no longer keep idle workers of the parallel page pipeline at full CPU load while they wait for work

Version 2.1207.124

Fixed

  • AddOutputIntent raises when ICCProfileName is not a name returned by RegisterICCProfile instead of writing an output intent without its profile

Version 2.1207.123

Security

  • SaveAllLoadedEmbeddedFiles renames attachments called after a Windows device (CON, NUL, COM1 and the like) and trims trailing dots and spaces, so the data lands in a file

Version 2.1207.122

Fixed

  • WideTextOutBox no longer splits a supplementary-plane character, such as an emoji or a rare CJK ideograph, across two lines

Version 2.1207.121

Fixed

  • HTML import decodes percent-encoded data: URIs the same way under Delphi and Free Pascal: binary payloads are accepted and a plus sign stays a plus sign

Version 2.1207.120

Fixed

  • Layout DOM text made of East Asian wide characters wraps at about the available width instead of overflowing it, and no longer breaks a line inside a surrogate pair

Version 2.1207.119

Fixed

  • Loading an XFA packet array with a malformed or over-budget packet no longer leaks the entry being built

Version 2.1207.118

Fixed

  • A cancelled or failed page render no longer leaks bitmaps, and RenderLoadedPageToBandEncoder no longer reports a rotated page as cancelled when the callback left its Cancel flag alone

Version 2.1207.117

Fixed

  • Extended axial shadings keep a smooth gradient when the painted area is much longer than the shading axis

Version 2.1207.116

Fixed

  • Rendering no longer loses content after a form XObject, Type 3 glyph or tiling pattern with unbalanced marked-content operators, and a hidden optional-content section left open on one page no longer blanks the next

Version 2.1207.115

Fixed

  • Pages whose MediaBox lists its corners in reverse order, or stores its numbers as indirect objects, now render at their real size

Version 2.1207.114

Fixed

  • ANSI text that uses two characters sharing one glyph in the font, such as a hyphen and a soft hyphen, no longer shows every following character as its neighbour in the embedded subset

Version 2.1207.113

Fixed

  • Glyphs of embedded ANSI TrueType subsets keep their own side bearings, so characters above 127 are no longer drawn slightly off their position

Version 2.1207.112

Fixed

  • Embedding an ANSI TrueType subset from a font with a damaged loca or cmap table no longer reads outside the font data

Version 2.1207.111

Fixed

  • ANSI text with characters above 127 (accented letters, currency and typographic signs) is written correctly on systems whose code page is multi-byte or UTF-8, such as Chinese, Japanese and Korean Windows; it used to come out as question marks

Version 2.1207.110

Fixed

  • TrueType fonts embedded for ANSI text (TextBox, TextOutBox and the other AnsiString calls) are now complete, readable font programs. Viewers previously could not open them and substituted an installed font, so documents now show the embedded typeface everywhere; a style the font has no face for, such as italic Tahoma, appears upright as it does for Unicode text

Version 2.1207.109

Fixed

  • The Windows symbol cmap of embedded ANSI TrueType subsets now maps the used characters instead of being empty

Version 2.1207.108

Fixed

  • Embedded ANSI TrueType subsets carry checksums computed according to the font format. Readers that verify the font directory can match each table to its recorded checksum

Version 2.1207.107

Security

  • Certificate path validation of a CMS signature now applies AlgorithmPolicy to the SignerInfo as well: SHA-1 after SHA1SunsetTime, disabled signature schemes and short PSS salts give cvsAlgorithmRejected. With the default policy a SHA-1 document signature validates only at an evaluation time before 2016

Version 2.1207.106

Security

  • XFDF input nested deeper than 512 elements is rejected with an error instead of overflowing the stack

Version 2.1207.105

Fixed

  • SetFormFieldValue keeps values such as FEFFAB as text; the UTF-16BE hex form is recognised only when the digits make up whole code units

Version 2.1207.104

Fixed

  • Documents encrypted for key-agreement recipients open with EC key material from a PFX or with keys registered through AddPubSecAgreementKeyMaterial alone; an RSA key is no longer required

Version 2.1207.103

Fixed

  • Object streams recovered by the fallback scan keep bytes above 127 intact on multi-byte system locales, and an oversized /N no longer drives the allocation

Version 2.1207.102

Fixed

  • Encryption dictionary values written as literal strings that contain a backslash byte are no longer corrupted on the fallback read path

Version 2.1207.101

Fixed

  • Opening encrypted documents through the raw-byte recovery path picks the file identifier of the trailer rather than a later /ID key, and no longer slows down quadratically on tagged documents

Version 2.1207.100

Fixed

  • Text extraction no longer repeats earlier text when a content stream contains a TJ operator without its array operand

Version 2.1207.99

Fixed

  • Objects packed in an object stream without white space between them are no longer read one byte short

Version 2.1207.98

Fixed

  • Countersignatures whose signer is identified by subject key identifier are rebuilt with the SignedData version RFC 5652 requires

Version 2.1207.97

Fixed

  • A cloned headless public-key security provider keeps its recipient envelopes after the original is freed, and the other way round

Version 2.1207.96

Security

  • ValidatePDFMAC reports MACRequiredByPermissions and PermissionsAuthenticated also when the AuthCode is missing, so a stripped PDF MAC can be told from a document that never had one

Version 2.1207.95

Fixed

  • The direct AES-256 file path no longer leaks a memory stream for each object that fails to parse

Version 2.1207.94

Fixed

  • Deleting a page that carries form fields no longer leaves dangling entries in the AcroForm field list of the saved document

Version 2.1207.93

Fixed

  • Saving a document larger than about 9.3 GB with a classic cross-reference table now raises an error that points to UseXRefStream instead of writing an unreadable table

Version 2.1207.92

Security

  • WebP images above 134 million pixels and PNG chunks longer than the remaining data are rejected before any large buffer is allocated

Version 2.1207.91

Security

  • CCITTFaxDecode images are now held to DecodeBudgetBytes like the other image filters; an image that would exceed it raises EHPDFDecodeBudgetError instead of exhausting memory

Version 2.1207.90

Fixed

  • A JBIG2 stream with an oversized segment length is rejected instead of reading past the data

Version 2.1207.89

Fixed

  • Parallel image optimization restores the saved position only if the original stream is still in use. When optimization replaces an image stream, the replacement keeps its own position

Version 2.1207.88

Fixed

  • Gray images with a Decode array outside the 0 to 1 range are clamped instead of producing wrapped values or an error

Version 2.1207.87

Fixed

  • AddImageWithMask finds the mask by the index AddImage returned even after an image name had to be skipped

Version 2.1207.86

Fixed

  • AddImageWithMask no longer leaks an object when the image type or PDF version is rejected

Version 2.1207.85

Fixed

  • GS1-128 barcodes with the checksum option no longer fail on data that contains letters or brackets

Version 2.1207.84

Fixed

  • MSI barcodes of 19 digits or more get the correct check digit

Version 2.1207.83

Fixed

  • CCITT Group 3 2D and Group 4 encoding now uses vertical mode for all offsets it covers, which makes the output smaller

Version 2.1207.82

Fixed

  • Bar charts with automatic axes show the first and last bars in full and keep the value label of the tallest bar inside the plot

Version 2.1207.81

Fixed

  • Cancelling a parallel tile render from its callback returns a cancelled result even when workers are waiting for memory, instead of raising an error

Version 2.1207.80

Fixed

  • Free Pascal builds on Windows load the native codec library from directories whose names contain non-ASCII characters

Version 2.1207.79

Fixed

  • Named destinations and page labels are now found when their name or number tree is split over Kids nodes or stores its array as an indirect object

Version 2.1207.78

Fixed

  • The headless renderer accepts page boxes whose corners are not given in lower-left, upper-right order

Version 2.1207.77

Fixed

  • HPDFLayoutFootnotes and HPDFLayoutEndnotes place several notes on a page in reading order below the separator, and endnotes now start at the top margin

Version 2.1207.76

Fixed

  • HPDFBalanceColumns keeps content that fits on one page on that page: the balanced column height is relaxed over up to MaxBalancePasses passes instead of pushing the remainder to an extra page

Version 2.1207.75

Security

  • XFA event scripts can no longer spell the internal $node handles to reach nodes outside their scope or read past the binding table

Version 2.1207.74

Fixed

  • HTML import no longer slows down quadratically on large inline style sheets or long runs of text

Version 2.1207.73

Fixed

  • HTML import continues an ordered or bulleted list with its own numbering or bullets after a nested list ends

Version 2.1207.72

Fixed

  • HTML5 import limits a table to 1000 grid columns and four million spanned cells and reports a budget error beyond that instead of running out of memory

Version 2.1207.71

Fixed

  • HTML5 import ignores @media blocks nested more than eight levels deep instead of exhausting the stack

Version 2.1207.70

Fixed

  • Native FormCalc no longer treats a chain of binary operators as nesting: long sums and concatenations evaluate under the default depth limit, and a single chain may hold up to 256 operators

Version 2.1207.69

Fixed

  • XFA JavaScript calculations keep non-ASCII field values and script literals intact under Delphi

Version 2.1207.68

Fixed

  • The % operator in form scripts now follows JavaScript, so the result takes the sign of the dividend

Version 2.1207.67

Fixed

  • Math.floor, Math.ceil and Math.round in form scripts, and Ceil and Floor in legacy FormCalc, now handle values beyond 2,147,483,647 instead of wrapping around

Version 2.1207.66

Fixed

  • Out-of-range integer operands, oversized form matrices, halftone dimensions and calculator function values in a content stream no longer abort page rendering with a floating-point exception

Version 2.1207.65

Fixed

  • Radial shadings whose first circle is larger than the second now extend with the correct colour on each side

Version 2.1207.64

Fixed

  • Parallel rendering no longer leaks the sampled-function cache of each worker thread

Version 2.1207.63

Fixed

  • A tiling pattern whose content has an unbalanced Q no longer makes the rest of the page disappear

Version 2.1207.62

Fixed

  • PrintLoadedDocument takes page rotation into account when it chooses the paper orientation and the fit scale, so quarter-turned pages are no longer clipped

Version 2.1207.61

Fixed

  • Page metafiles from GetLoadedPageMetafile, EMF and WMF export and the clipboard now have a frame that matches the drawing instead of one many times larger

Version 2.1207.60

Fixed

  • ExtTextOut with a Dx array no longer drops glyphs or reads past the array when a shaping feature changes the number of glyphs; glyphs beyond the supplied values keep their natural advance

Version 2.1207.59

Fixed

  • Subset embedding of ANSI TrueType fonts takes each glyph's advance and side bearing from the right place when the font stores fewer horizontal metrics than glyphs, and no longer reads past the table

Version 2.1207.58

Fixed

  • CFF subsetting keeps every subroutine when a retained subroutine contains a hint mask, so glyphs that reach further subroutines behind the mask keep their complete outline

Version 2.1207.57

Fixed

  • Registering a Unicode TrueType font with a malformed format 12 character map no longer reads past the font data or grows the mapping without limit

Version 2.1207.56

Fixed

  • Decoding a damaged PNG no longer leaks the decompression state and row buffers

Version 2.1207.55

Fixed

  • A PNG with an invalid colour type and bit depth combination is rejected as a format error instead of failing with an access violation

Version 2.1207.54

Fixed

  • JBIG2 and CCITT fax images stored behind another filter, such as ASCII85Decode or FlateDecode, are now decoded

Version 2.1207.53

Fixed

  • Stencil masks that omit BitsPerComponent are decoded as one bit per sample and no longer fail to extract or render

Version 2.1207.52

Fixed

  • XFDF import finds form fields whose names contain non-ASCII characters regardless of the system code page

Version 2.1207.51

Fixed

  • Outline CopySubtree raises an error when the target lies inside the copied subtree instead of looping without end

Version 2.1207.50

Fixed

  • Outline MoveTo now accepts moves to an ancestor, refuses moves into the node's own subtree, and no longer leaves the moved item linked into its old sibling chain

Version 2.1207.49

Security

  • CRL evaluation now honours the issuing distribution point: a CRL that covers another partition, only CA certificates, only attribute certificates or only some reasons is no longer taken as proof that a certificate is not revoked

Version 2.1207.48

Fixed

  • The headless security provider opens V=4 documents that omit the top-level Length entry

Version 2.1207.47

Fixed

  • Online chain building now follows the caIssuers URLs of certificates it has just fetched, so a path missing more than one intermediate can be completed
  • The retry delay requested by a caIssuers server is limited to the retry policy ceiling

Version 2.1207.46

Security

  • A trust anchor that issued the signer's path must now be a certificate authority permitted to sign certificates; a trusted end-entity certificate can no longer vouch for certificates it issued itself

Version 2.1207.45

Security

  • Signature verification refuses RSA keys above 16384 bits and, for keys above 3072 bits, public exponents above 64 bits, so a crafted certificate cannot stall verification

Version 2.1207.44

Fixed

  • Certificate validity and revocation freshness are now evaluated against the UTC clock, so results no longer shift with the local time zone

Version 2.1207.43

Security

  • With ReproducibleOutput enabled, AES-256 key material is now derived from the passwords instead of a fixed pattern; documents written earlier in that mode were encrypted with a publicly known key and should be regenerated

Version 2.1207.42

Fixed

  • AES-256 documents that store the U, O, UE and OE entries as literal strings and keep their pages in encrypted object streams now open with the correct password

Version 2.1207.41

Fixed

  • An object stream that ends before its declared length is decoded from the bytes present instead of from uninitialised memory

Version 2.1207.40

Fixed

  • Tokenizing content streams with many strings no longer slows down quadratically with the stream size, which speeds up text extraction and rendering of large pages

Version 2.1207.39

Fixed

  • The fallback parsers no longer misread trailer and page entries that hold an unexpected object type, such as an indirect /Type
  • Incremental files larger than 16 MB keep the exact /Prev offset on the legacy trailer path

Version 2.1207.38

Fixed

  • Resolving a reference to a missing object after many objects were added to a small loaded document no longer hangs

Version 2.1207.37

Fixed

  • A page tree that declares more pages than the file has objects no longer sizes the page table from that claim; the pages that exist are counted instead

Version 2.1207.36

Fixed

  • Cross-reference streams and object streams are now inflated under DecodeBudgetBytes, so a small compressed stream can no longer expand without limit while a document is loaded

Version 2.1207.35

Fixed

  • A PDF whose cross-reference tables chain to one another through XRefStm entries is rejected by the standard parser instead of exhausting the stack

Version 2.1207.34

Fixed

  • The Showcase demo prints its Cyrillic and CJK sample lines again instead of question marks

Version 2.1207.33

Fixed

  • HTML5 import rejects element nesting deeper than 256 levels with a budget error instead of exhausting the stack

Version 2.1207.32

Fixed

  • Renderers whose lifetimes overlap on one thread, such as a progressive render session interleaved with thumbnails or region renders, no longer lose colour-space resolution or their ICC pipeline
  • Releasing a renderer no longer leaks its copies of the proof and output ICC profiles

Version 2.1207.31

Fixed

  • CopyPageFromDocument and DuplicateLoadedPage carry over the MediaBox, CropBox, Rotate and Resources that the source page inherits from its page tree

Version 2.1207.30

Fixed

  • Editing a loaded page that inherits its resources from the page tree keeps the inherited fonts and images

Version 2.1207.29

Fixed

  • CFF subsetting rejects fonts whose charstring or subroutine index offsets run backwards or past their data

Version 2.1207.28

Fixed

  • Subsetting of embedded TrueType text fonts validates table lengths and glyph offsets and accepts any number of retained tables

Version 2.1207.27

Fixed

  • TrueType subsetting rejects fonts whose table directory or glyph locations point outside the font data instead of reading past it; such fonts are embedded without subsetting

Version 2.1207.26

Fixed

  • Native FormCalc scripts may use string literals that spell an operator or keyword, such as "-", "(" or "else"; expressions like Concat(Year, "-", Month) no longer fail to parse

Version 2.1207.25

Fixed

  • XFA XML with element nesting deeper than 512 levels is rejected with an error instead of exhausting the stack

Version 2.1207.24

Fixed

  • PrintLoadedDocument with automatic rotation no longer fails on the first page under VCL: the paper orientation is chosen before the job starts and switched between pages on the open printer context

Version 2.1207.23

Fixed

  • DeletePage keeps the current page when an earlier page is removed, instead of silently moving to the next page or raising an invalid page number when the current page was the last one

Version 2.1207.22

Fixed

  • DeletePage on a document under construction keeps images and form XObjects that other pages still use

Version 2.1207.21

Fixed

  • Lossless WebP images that use a colour cache now decode the same way with overflow checking enabled and on 64-bit Free Pascal builds

Version 2.1207.20

Fixed

  • FlateDecode data that asks for a preset dictionary is now treated as a data error instead of stalling decompression indefinitely

Version 2.1207.19

Fixed

  • Rendering a Type 1 glyph whose flex sequence carries more points than the format allows no longer writes past the point buffer

Version 2.1207.18

Security

  • Certificate path validation now adopts the time of an embedded signature timestamp only when the timestamp's own signing certificate chains to a caller-supplied trust anchor and permits time stamping; an untrusted token no longer moves the evaluation time, so a signature made with an expired or revoked certificate cannot be dated back into its validity period
  • HPDFCMSTimestampTimeIsTrusted reports whether the timestamp time of a CMS signature qualifies as the evaluation time, and batch signature validation applies the same rule

Version 2.1207.17

Fixed

  • A stream whose declared Length runs past the end of the file is now loaded up to its endstream keyword or the file end, instead of keeping unread bytes that a later save could write out

Version 2.1207.16

Fixed

  • Revision and certification comparison now reads past escaped parentheses in literal strings, so an object with such a string no longer swallows the objects that follow it

Version 2.1207.15

Fixed

  • Loading a PDF whose cross-reference data declares object numbers far beyond what the file can hold no longer writes outside the cross-reference integrity report; such entries are left out of the report

Version 2.1207.14

Added

  • Native XFA numeric and text picture formatting and parsing now support full-width picture symbols and digits, mixed precision-preserving 8 fractional slots, and wider or multi-width integer grouping including four-digit myriad and South Asian 2-2-3 patterns
  • Owned and ordinary native FormCalc evaluators now support ordinal day-of-year (J/JJJ), numeric and ISO weekdays (E/EEE/EEEE/e), ISO and month weeks (WW/w), 0–11 and 1–24 hour clocks (k/K), era G, fractional seconds (S/F/FF/FFF), global ?/*/+ symbols, and z/zz/Z time-zone offsets across Format, Parse and calendar conversions
  • Native FormCalc Parse now supports scientific E notation, implied decimal radix V/v, credit/debit CR/DB suffixes, Unicode text masks O/0/A/X/9, alternative clauses and compound date/time/scalar picture clauses

Version 2.1207.13

Fixed

  • COLRv1 source-atop regular and equal-angle sweep composites over a vertical two-stop Pad backdrop with varying positive opacity now emit a single vector root Form with a rational effective-Y color program and a linear DeviceGray luminosity soft mask instead of falling back to the 16-Form linear-light transparency chain
  • Regular 360-degree sweeps and sheared or axis-aligned arbitrary-angle equal-sweep rays with varying backdrop opacity now agree within two byte levels across MuPDF and Poppler while preserving constant-backdrop output byte-for-byte

Version 2.1207.12

Added

  • JavaScript and compiled FormCalc event scripts now execute Form, subform, exclusion-group and field execValidate() through the transactional @XFAVALIDATE host barrier
  • validationState listeners under EnableJavaScript receive target errorText through direct event properties and SOM or Ref expressions
  • TXFAJavaScriptSession replays nested validator journal steps across accepted barriers and rolls back both document bytes and session state on rejection

Version 2.1207.11

Added

  • Calling xfa.form.remerge() inside an explicit XFA validator now initializes replacement instances without running replacement validators during the in-flight pass
  • Outer native scripts invoking execValidate() refresh their Form bindings, continuations and event target after an accepted in-validator remerge
  • When a remerging validator rejects, the enclosing transaction restores the prior Form bytes and delivers failure validationState notifications on the restored tree

Version 2.1207.10

Added

  • Explicit whole-form and subtree XFA validation now captures target identities at pass start and refreshes live Form and data bindings after script instance mutations
  • Removed targets are skipped, moved targets are checked once in captured order, and newly added instances are deferred to the next explicit validation pass
  • A validator that removes its own receiver and rejects retains its validation message and rolls back the enclosing transaction byte-for-byte

Version 2.1207.9

Added

  • Resident startup, deferred layout-ready rounds and resident remerge now initialize validationState listeners on live Form subforms and exclusion groups
  • Startup rejection restores the attempted initialization and publishes the first known descendant failure to the owning container target
  • Deferred and remerge container notifications participate in the enclosing lifecycle transaction with per-generation deduplication and atomic rollback

Version 2.1207.8

Added

  • Ordinary XFA edit commits and focus exits now update aggregate validation outcomes on enclosing live subforms and exclusion groups
  • Ancestor containers select the first known descendant failure in Form document order or their own focus-exit failure without re-running sibling scripts
  • Rejected focus exits restore prior values and focus before notifying live container instances with the active failure reason

Version 2.1207.7

Added

  • Explicit whole-form and subtree validation now aggregate the first failing test in Form document order for each live subform and exclusion group
  • Container validationState listeners receive the live container target and its active errorText across failure-category transitions, recovery and rollback
  • Repeated subforms maintain independent Form and data validation identities so subtree validation leaves sibling occurrences untouched

Version 2.1207.6

Added

  • Deferred layout-ready startup and public or scripted resident remerge now run visible field validationState initialization within the enclosing lifecycle transaction
  • Each live Form field notifies once across deferred ready rounds, while remerge starts a fresh initialization generation and rolls back on listener failure
  • FPC generic work-list admission now recognizes AnsiString alongside integer and Unicode string elements during native remerge continuation

Version 2.1207.5

Added

  • Resident XFA initialization and ordinary edit or focus-exit validation now notify native field validationState listeners on failure and recovery transitions
  • Format and script rejections restore the prior field value before notifying listeners with the active failure reason
  • Ordinary empty edits skip nullTest and preserve any previously published explicit required-field failure state

Version 2.1207.4

Added

  • Explicit XFA widget and container checks now notify visible field validationState listeners when validity or the failing test category changes
  • Active validationState targets expose the authored validation message through errorText, or null when valid, across local and ancestor listeners
  • Notifications run in independent transactions after commit or rollback so failing listeners isolate their own mutations and remain retryable

Version 2.1207.3

Added

  • TXFAWidgetRuntime.ValidateForm and native container execValidate() now traverse live Form descendants in child-first DOM order with repeated occurrence data scopes
  • Container validation retains the first failure while continuing sibling checks, publishes widget validity and rolls back enclosing native events on rejection
  • Subtree validation isolates sibling occurrences and rejects recursive validation on an active receiver

Version 2.1207.2

Added

  • TXFAWidgetRuntime.ValidateWidget and native FormCalc execValidate() on fields and exclusion groups now evaluate nullTest on empty values and formatTest before scriptTest on nonempty values
  • Explicit validation warnings request a typed Boolean decision through xhValidationWarning while preserving ordinary edit clearing and empty-script skipping
  • Rejected explicit checks restore preceding document and host mutations and update widget validity flags

Version 2.1207.1

Added

  • Headless rich-text run setters and single-line XHTML setters now support single-line Comb fields with a positive inherited MaxLen and field or widget alignment
  • Typed rich updates compare generated comb appearances for idempotent AES-256 writes, and FDF/XFDF imports regenerate missing appearances or refresh inherited flags
  • Multiline, password, file-select, missing or exceeded MaxLen and structured layout markup in rich comb fields are rejected before mutating document bytes

Version 2.1207.0

Added

  • Rich-comb widget appearance recovery now mixes original embedded Type1 and CFF font runs with styled OpenType family runs in a shared comb grid
  • A synchronous span probe, measurement and paint bridge preserves original raw font programs, encodings and advances alongside shaped OpenType cells and shared fitting
  • Vector-preserving page imports retain exact original Type1 and CFF font programs and styled OpenType faces across plain and AES-256 documents

Version 2.1206.5

Added

  • Missing-appearance recovery now draws styled OpenType rich-comb widgets with per-run font families, faces, colors, sizes and cell decorations
  • Styled comb cells share one whole-text bidirectional and shaping context, preserve relative run sizes during automatic fitting and emit a single logical ActualText value
  • Plain and authenticated AES-256 vector page imports retain styled rich-comb appearances and searchable logical text after source release and reload

Version 2.1206.4

Added

  • Interactive XFA edits and focus commits now enforce calculate.override policies for error, ignore, disabled and typed warning decisions
  • Accepted warning overrides persist the instance value.override marker across dependent calculations and XDP save/reload until reset
  • Rejected warning responses, callback recursion and downstream validation failures roll back the complete edit and host transaction

Version 2.1206.3

Added

  • Native XFA numeric picture formatting now supports scientific E notation with canonical decimal digits, signed exponents, rounding carry and fractional-only mantissas
  • Owned and ordinary native FormCalc evaluators share one numeric picture formatter across Format calls, formatTest validation and runtime events
  • Refused scientific picture edits and budget failures preserve exact serialized XDP bytes

Version 2.1206.2

Added

  • Native CalGray, CalRGB and Lab rendering now honors black-point compensation using declared black luminance, preserving white and bypassing compensation for absolute-colorimetric intent
  • Calibrated gray and RGB transparency-group destinations apply inverse compensation, including their physical luminosity-mask behavior
  • Native CalGray destination conversion now adapts back to the declared white point before extracting luminance, correcting non-D65 inverse conversion

Version 2.1206.1

Added

  • Native rendering now supports relative-colorimetric ICC black-point compensation through PDF graphics state, with explicit ON, OFF and Default settings and state-aware conversion caches
  • Compensation state reaches paths, images, Forms, transparency groups, soft masks and shading while preserving pattern initialization and absolute-colorimetric exclusions
  • Soft-mask construction applies color-conversion state independently of dictionary entry order, and malformed compensation settings preserve the existing destination

Version 2.1206.0

Added

  • Native XFA editing now validates nonempty field values against their independent validation picture, with disabled, error and headless warning policies even when script validation is disabled
  • Validation-picture failures select the matching inherited message and restore the form transaction; sparse policy changes survive saving and reloading
  • An explicit native formatting result distinguishes failed matching from valid empty output and applies operation, elapsed-time, nesting and value-byte limits

Fixed

  • Native picture formatting now rejects an incomplete compound match instead of accepting a leftover literal prefix, and matches Unicode text classes by complete characters
  • Numeric pictures retain quoted text, required zero padding and canonical fractional precision instead of losing literals or silently truncating all fractions to 18 positions
  • Native calendar pictures validate complete timestamp components, preserve valid dates before 1900 and display short fractional seconds at the correct millisecond scale

Version 2.1205.7

Fixed

  • Empty or explicitly null XFA scalar values no longer execute script validation during native editing or direct field evaluation, while nonempty values retain normal validation
  • Prepared standalone contexts keep skipped validation successful, and the empty-value fast path retains live-document checks for field and data nodes
  • Clearing and reloading a field preserve the empty value without invoking its validator; nonempty rejection remains transactional and valueless container scripts retain their existing behavior

Version 2.1205.6

Added

  • Native FormCalc events can create field and container event handlers through supported property chains, with event defaults, repeated occurrences and singleton script constraints
  • Created and overridden handlers participate in actual input, focus and initialization processing, retain their selected instance context and survive saving and reloading the form
  • Sparse event overrides preserve inherited script settings, explicit script clearing suppresses the old template text, and rejected handler creation restores the form transaction

Version 2.1205.5

Added

  • Missing-appearance single-line text fields now retain one centered line: fixed-size overflow is clipped and a zero font size fits the available field dimensions
  • Native recovery draws stored file-selection pathnames and non-scrolling field values with inherited fonts, alignment and quarter turns while preserving the original field data
  • Plain and authenticated AES-256 vector imports preserve these appearances, including embedded Unicode shaping and original-font path text, after the source is released and the target is saved and reloaded

Version 2.1205.4

Added

  • Missing-appearance recovery now draws default-style comb fields in inherited cell grids with left, center or right alignment, automatic font sizing and quarter-turn placement
  • Comb recovery retains Unicode shaping, embedded TrueType and original Type1C resources through plain or authenticated AES-256 vector import, with searchable logical text after source release and save/reload
  • Native page-text extraction now honors marked-content ActualText replacement, including named properties, empty replacement and nested Form content; consecutive replacement sequences remain contiguous while physical glyph extraction stays unchanged

Version 2.1205.3

Added

  • Native missing-appearance recovery now draws multiline and rich-text fields using inherited field values, default styles and the existing Unicode/font layout, including rich XML streams without a plain field value
  • Password appearances display one mask per Unicode character without publishing the field's plaintext as appearance text; existing embedded appearances remain authoritative
  • These text-field appearances also work in vector-preserving page import from plain or authenticated AES-256 sources, keeping nonpassword text searchable after source release and save/reload

Version 2.1205.2

Fixed

  • Disabled XFA calculations now preserve the current field value during initialization and edits; scripts can enable or disable calculation dynamically, and the policy survives saved-form reload
  • Disabled XFA script validation no longer executes its script or blocks initialization and edits; warning validation reports invalid input while allowing it to commit, while error validation preserves the previous committed value
  • Validation warnings and errors select the matching script-test message, and the public field-script evaluation API follows the same disabled and warning policies as the interactive runtime

Version 2.1205.1

Added

  • Native XFA events can create calculation and validation scripts through supported property chains, then execute them during edits and after saving and reloading the form
  • Created automation properties expose their supported defaults and validation message content through the shared native and script-provider schema
  • Provider-free FormCalc events recover after rejected property creation without attempting to load a JavaScript bridge; invalid singleton requests restore the form transaction

Version 2.1205.0

Added

  • Native page import can now synthesize supported missing annotation appearances as persistent vector Forms, including text fields, rotated button icons, original-font captions and geometric annotations, while keeping text searchable
  • The page-import JSON and C ABI operation exposes the same opt-in recovery, cumulative synthesis work limit and generated-appearance count without changing the versioned C records
  • A reusable vector appearance lease keeps generated font resources alive while callers consume them; staged page import copies those resources before releasing the source document

Fixed

  • Mixed generated appearances no longer reuse cached content from a freed temporary Form, preventing intermittent missing-resource or embedded-font errors when several controls share a page

Version 2.1204.78

Added

  • Widgets without an embedded appearance now honor their clockwise or counterclockwise quarter-turn setting when headless rendering synthesizes text, button or choice appearances
  • Rotated fields lay out text and visible list rows against the correctly exchanged dimensions, while button captions and normal icons rotate together within the original widget rectangle
  • Default and full-turn widget rotation preserve existing output, embedded appearances remain authoritative, and invalid angles are diagnosed before replacing destination output

Version 2.1204.77

Added

  • Native headless rendering now applies PDF tone-response transfer functions to paths, text, images, shading and patterns, with independent RGB curves and correct graphics-state restoration
  • Transferred output respects transparent objects, containing groups, image soft masks and pattern-cell transparency after composition, retaining the original colors for regions that require the page's default response
  • Transfer-aware antialiasing preserves clean text and image-template edges while retaining final-pixel hairlines, adjusted strokes and annotation sizing within the caller's resource limits

Version 2.1204.76

Added

  • Headless rendering now displays the normal icon of a pushbutton without an embedded appearance when its text-position setting requests an icon, instead of leaving that part of the button blank
  • Button icons support proportional or stretched fitting, conditional scaling, alignment and full-bound fitting while preserving the original Form transformation and resources
  • Pushbutton captions can appear above, below, beside or over their normal icon; the default caption-only layout remains unchanged

Version 2.1204.75

Changed

  • HPDFCMapReader, HPDFTextExtraction and HPDFContentStream now accelerate CMap lookup and page text extraction: out-of-order beginbfchar/begincidchar tables and mutually disjoint out-of-order beginbfrange/begincidrange tables build companion sorted lookup index arrays (BFCharSortedIndex, BFRangeSortedIndex, CIDCharSortedIndex, CIDRangeSortedIndex) for O(log N) binary search while preserving first-wins duplicate semantics and the raw BFCharSorted/CIDCharSorted flags; THPDFPageFontResolver caches the active font index and dereferences THPDFFontDecoder and THPDFCIDWidthRange records by pointer instead of copying managed records on every glyph; and HPDFAssemblePageText writes code units into a pre-allocated exponential buffer instead of reallocating the output string per glyph
  • HPDFDeriveHTMLFromTaggedPDF in HPDFDeriveHTML now distributes page glyphs into per-page /MCID counting buckets in a single linear pass per touched page, resolves structure-element /Pg page object references through an O(1) indirect-object lookup table, and returns unescaped strings zero-copy in DeriveEscapeHTMLText and DeriveEscapeHTMLAttr

Version 2.1204.74

Added

  • ISO 32000-1/2 clause 12.9 Measurement Properties and GeoPDF Geospatial Viewports (Tables 260–269) can now be authored and inspected on pages and annotations: THPDFPage.AddRectilinearViewport, AddRectilinearViewportEx, THotPDF.AddPageRectilinearViewport and AddPageRectilinearViewportEx attach /Type /Viewport entries with rectilinear /Measure (/Subtype /RL) dictionaries carrying /R scale ratios, chained /X, /Y, /D, /A, /T and /S /Type /NumberFormat arrays (with /U, /C, /F /D//F//R//T, /D, /FD, /RT, /RD, /PS, /SS, /O), /O origin and /CYX; THPDFPage.AddGeospatialViewport and THotPDF.AddPageGeospatialViewport emit PDF 2.0 geospatial /Measure (/Subtype /GEO) dictionaries with /GCS and optional /DCS coordinate system dictionaries (/Type /GEOGCS or /Type /PROJCS with /EPSG and /WKT), /PDU preferred display units, /Bounds, /GPTS and /LPTS; SetViewportPointDataCloud and SetPageViewportPointDataCloud attach PDF 2.0 /Type /PtData (/Subtype /Cloud, /Names, /XPTS) point clouds; and GetLoadedPageViewports and GetLoadedAnnotationMeasure inspect all viewport, rectilinear, geospatial and point-cloud structures on loaded documents

Version 2.1204.73

Added

  • Portable Collections (PDF Portfolios, ISO 32000-1/2 clause 12.3.5 Tables 152–158) now cover the complete PDF 1.7 and PDF 2.0 collection dictionary model on both the producer and reader sides: THotPDF.SetPortfolioSplit authors /Split (/Type /CollectionSplit with /Direction /H, /V or /N and optional /Position, Table 156); THotPDF.SetPortfolioColor and SetPortfolioColors author /Colors (/Type /CollectionColors with /Background, /CardBackground, /CardBorder, /PrimaryText and /SecondaryText DeviceRGB arrays, Table 155); EnsureCollectionRootFolder, AddCollectionChildFolder and AddDocumentAttachmentToCollectionFolder build ISO 32000-2 Table 158 hierarchical /Type /Folder trees (/ID, /Name, /Parent, /Child, /Next, /Desc, /CreationDate, /ModDate, /Free) and <FolderID>filename name-tree entries; SetPortfolioItemNumericMetadata and SetPortfolioItemDirectMetadata emit typed numeric subitems and direct /CI values (Table 157) alongside cfsCompressedSize (/CompressedSize, Table 153); and GetLoadedCollectionInfo, GetLoadedCollectionSortOrder, GetLoadedCollectionSplit, GetLoadedCollectionColors, GetLoadedCollectionItemFields and GetLoadedCollectionFolderTree inspect all collection tables on loaded documents

Version 2.1204.72

Added

  • THotPDF.RegisterBlackPointCompensationState, THPDFExtGStateOptions.UseBlackPtComp and THotPDF.GetLoadedExtGStateBlackPointComp author and inspect ISO 32000-2:2020 clause 8.6.5.9 / clause 8.4.5 Table 57 and ISO 15930-9:2020 clause 6.3.3 Black Point Compensation /UseBlackPtComp (/ON, /OFF, /Default) ExtGState entries (rejecting /Default when PDFXCompliance is 'X-6'/'X-6p'/'X-6n'), while THPDFPageRenderer tracks UseBlackPtComp, /RI and /FL across gs and q/Q graphics-state transitions
  • THotPDF.SetCatalogPieceInfo, THotPDF.SetPagePieceInfo, THPDFPage.SetPieceInfo, THotPDF.GetLoadedCatalogPieceInfo and THotPDF.GetLoadedPagePieceInfo author and inspect ISO 32000-1/2 clause 14.5 Table 323 /PieceInfo application-data dictionaries (carrying /LastModified and structured or scalar /Private payloads alongside required Catalog/Page /LastModified timestamps)

Version 2.1204.71

Added

  • PDF/A XMP Extension Schemas (ISO 19005-1 §6.7.8, ISO 19005-2 §6.6.2.3, ISO 19005-3 §6.6.2.3, ISO 19005-4 §6.5.2 and PDF Association TechNote 0008) can now be authored, inspected and validated end-to-end: THotPDF.AddPDFAExtensionSchema, AddPDFAExtensionProperty, AddPDFAExtensionValueType, AddPDFAExtensionField and ClearPDFAExtensionSchemas register custom pdfaExtension:schemas entries (including nested pdfaSchema:valueType and pdfaType:field descriptors), while THotPDF.SetCustomXMPProperty and ClearCustomXMPProperties emit custom namespace-prefixed XMP properties inside <rdf:Description>
  • When PDFACompliance is combined with PDFUACompliance, AddPDFDeclaration (pdfd:declarations with Claim and Declaration value types), PDFXCompliance, PDFVTCompliance, PDFVCRCompliance or PDFECompliance, BuildXMPPacket automatically synthesizes the corresponding pdfuaid, pdfd, pdfx, pdfvtid, pdfvcrid and pdfe extension schema descriptors inside <pdfaExtension:schemas> so multi-standard archival documents pass strict PDF/A XMP extension checks without manual boilerplate, and fixes the closing tag on <pdfvcrid:GTS_PDFVCRModDate> in PDF/VCR-1 XMP packets
  • THotPDF.GetLoadedPDFAExtensionSchemas parses pdfaExtension:schemas, pdfaSchema:property, pdfaSchema:valueType and pdfaType:field descriptors from loaded XMP metadata, and THotPDF.ValidateLoadedPDFAExtensionSchemas reports machine-readable THPDFComplianceFindings under the new cpfPDFAExtension (PDF/A XMP Extension) profile (or as deterministic JSON) for missing XMP packets (PDFA-EXT-XMP-001), Table 5 schema descriptor violations (PDFA-EXT-SCHEMA-001 / PDFA-EXT-SCHEMA-002), Table 6 property category and value-type errors (PDFA-EXT-PROP-001), Table 7/8 custom value-type and field errors (PDFA-EXT-TYPE-001), and undeclared non-predefined XMP properties (PDFA-EXT-UNDECLARED-001)

Version 2.1204.70

Added

  • ISO/TS 32005:2023 (Document management — Portable Document Format — PDF 1.7 and PDF 2.0 structure namespace inclusion in ISO 32000-2) structure hierarchy and namespace conformance can now be validated directly with THotPDF.ValidateISO32005 and HPDFValidateISO32005, reporting machine-readable THPDFComplianceFindings under the new cpfISO32005 (ISO/TS 32005) profile or as deterministic JSON
  • HPDFIsAllowedISO32005ParentChild encodes the complete ISO/TS 32005 Clause 7 Table 5 parent-child inclusion matrix across all PDF 1.7 and PDF 2.0 standard structure types, including approved PDF Association Errata #336 (Code ↔ Sub), Errata #440 (WP → Figure), Clause 7.4 MathML 3.0 namespace nesting (Formula → math and internal MathML elements), and Table 4 ø* grouping-vs.-inline distinction for Link, Annot, Form and Figure when the parent contains no direct marked-content sequences
  • HPDFIsAllowedISO32005RoleNamespace enforces ISO/TS 32005 Clauses 5.2–5.5: documents using only PDF 1.7 structure types may remain entirely in the default or PDF 1.7 namespace (Clause 5.2), whereas documents mixing PDF 2.0 structure types or namespaces require common PDF 1.7/2.0 types to use http://iso.org/pdf2/ssn (Clause 5.3), PDF 2.0-only types (DocumentFragment, Aside, Title, FENote, Sub, Em, Strong, H7+) to declare http://iso.org/pdf2/ssn (Clause 5.4), and unique PDF 1.7 types (Art, BlockQuote, TOC, TOCI, Index, Quote, Note, Reference, BibEntry, Code) to stay in the default or PDF 1.7 namespace (Clause 5.5)
  • Child cardinality constraints from ISO/TS 32005 Table 5 (Caption 0..1 at first or last child position, unnumbered H 0..1, Table THead/TFoot 0..1, heading Art/Sect 0..1) and Ruby / Warichu child sequence rules are checked automatically, and WTPDF 1.0 validation (HPDFValidateWTPDF10) now enforces the full ISO/TS 32005 parent-child matrix (wtpdf.hierarchy.parent_child, Clause 8.2.2) and Clause 5.3–5.5 role-namespace rules (wtpdf.namespace.role_mismatch, Clause 8.2.4)

Version 2.1204.69

Added

  • Semantic HTML5 can now be derived directly from the logical structure tree of a Tagged PDF according to the PDF Association Deriving HTML from PDF 1.0 specification: THotPDF.ExportLoadedTaggedPDFToHTML, THotPDF.ExportLoadedTaggedPDFToHTMLFile and HPDFDeriveHTMLFromTaggedPDF walk /StructTreeRoot in logical reading order rather than geometric layout order and emit a clean, self-contained HTML5 document or body fragment
  • Standard PDF 1.7 and PDF 2.0 structure types — after resolving /RoleMap and namespace-aware /RoleMapNS — map to their HTML5 counterparts: Document to <main>, Art to <article>, Sect to <section>, Div to <div>, H1–H6 and depth-tracked H to <h1>–<h6>, P to <p>, Span to <span>, BlockQuote to <blockquote>, Code to <code>, Em to <em>, Strong to <strong>, Sub and Sup to <sub> and <sup>, L / LI to <ul> or <ol> (honouring /ListNumbering) and <li>, Table / THead / TBody / TFoot / TR / TH / TD to HTML table elements with colspan, rowspan, scope and headers, Figure and Caption to <figure> and <figcaption>, Formula to embedded MathML 3.0 <math> (from an associated application/mathml+xml file or a MathML structure subtree), Note / FENote to <aside role="note">, and Link to <a href="..."> from its associated link annotation URI
  • Structure element attributes map to HTML attributes: /Lang to lang, /ID to a sanitized unique id, /T to title, /E on inline runs to <abbr title="...">, and /Alt on non-figure elements to aria-label; marked-content runs (BDC / EMC with /MCID) are extracted per page and honour structure-level and marked-content /ActualText replacements while skipping Artifact and NonStruct pass-through wrappers
  • THPDFDeriveHTMLOptions and THPDFDeriveHTMLResult expose bounded traversal limits (MaxElements, MaxDepth), full-document vs. fragment output, default CSS inclusion, custom class annotations and conversion counters (ElementCount, HeadingCount, TableCount, ListCount, FigureCount, FormulaCount, LinkCount)

Version 2.1204.68

Added

  • THotPDF.RegisterCalGrayColorSpace, THotPDF.RegisterCalRGBColorSpace and THotPDF.RegisterCalRGBSRGBColorSpace register CIE-based /CalGray (ISO 32000-1 clause 8.6.5.2) and /CalRGB (ISO 32000-1 clause 8.6.5.3) colour-space resources on the current page, including the canonical ISO 32000-2:2020 clause 8.6.5.3 sRGB CalRGB approximation (D65 white point [0.9505 1.0000 1.0890], gamma [2.2 2.2 2.2] and ITU-R BT.709 primary matrix)

Changed

  • HPDFCalGammaComponent, HPDFResolveColor and HPDFResolveLuminosity in HPDFRenderColorSpace now evaluate CalGray and CalRGB gamma transfer curves through precomputed 4096-interval linear-interpolation lookup tables for standard 2.2 and 1.8 exponents and algebraic fast-paths for 1.0 and 2.0, avoiding per-sample transcendental Power calls while clamping CalGray components above 1.0 to the unit interval

Version 2.1204.67

Added

  • THotPDF.AttachMathMLToFormulaElement and THotPDF.AddFormulaWithMathML author ISO 32000-2:2020 clause 14.8.4.8.3 and WTPDF 1.0 clause 8.2.5.29 <Formula> structure elements carrying MathML 3.0 XML (application/mathml+xml) Associated Files (/AF) and optional http://www.w3.org/1998/Math/MathML <math> child structure elements, while THotPDF.GetLoadedFormulaMathML and THotPDF.CollectLoadedFormulaMathML extract associated or structure-synthesized MathML 3.0 XML and text alternatives from in-memory or loaded PDF documents

Fixed

  • THotPDF.ValidatePDFUA2Structure now permits nested MathML namespace elements (such as mi, mo, mn, mrow, and msup) inside a <math> child of <Formula> while still requiring the root <math> element itself to be a direct child of <Formula>, and THotPDF.AssociateFileWithStructure now checks indirect object links so attaching the same Filespec twice does not duplicate the /AF entry

Version 2.1204.66

Changed

  • THPDFPage.AddRedactAnnotationEx and THotPDF.AddLoadedRedactAnnotationEx now emit the full ISO 32000-1 clause 12.5.6.23 (Table 192) /Subtype /Redact dictionary entries (/IC interior RGB fill colour, /OverlayText with mandatory /DA, /Repeat, /Q justification, /QuadPoints and the /RO rollover appearance Form XObject stream)
  • THotPDF.ApplyLoadedRedactions and the new THotPDF.ApplyLoadedRedactionsAndRemoveAnnotations now honour /QuadPoints quadrilaterals on /Redact annotations (falling back to /Rect when absent), paint each redaction box with its custom /IC RGB fill colour and optional repeated or aligned /OverlayText after blanking the underlying text operands, and optionally strip the applied /Redact annotations from /Annots

Version 2.1204.65

Changed

  • HPDFXFDF and THotPDF now provide clause-addressable ISO 19444-1:2016 (XFDF 3.0) validation (HPDFValidateXFDF30, THotPDF.ValidateXFDF30, THotPDF.ValidateXFDF30File and the cpfXFDF30 profile in THPDFComplianceFindings) checking root <xfdf xmlns="http://ns.adobe.com/xfdf/" xml:space="preserve"> attributes, <f href="..."/>, 32-hex <ids original="..." modified="..."/>, hierarchical <fields>/<field>/<value>/<value-richtext> elements and all 18 <annots> element and geometry rules
  • THotPDF.ExportLoadedDocumentToXFDF, ExportLoadedDocumentToXFDFBytes, ImportLoadedDocumentFromXFDF and ImportLoadedDocumentFromXFDFBytes (backed by HPDFXFDFExportDocument and HPDFXFDFImportDocument) now export and import combined XFDF 3.0 packets carrying <f>, <ids>, <fields> and <annots> in a single XML document

Version 2.1204.64

Changed

  • PDF/VT DPart hierarchy emission in EndDoc now runs in linear time with respect to the number of DPart nodes instead of scanning the full node array for every parent-child lookup, and THotPDF now preserves its O(1) indirect-object hash index across page-tree finalization and newly appended objects while indexing flat /Pages leaf arrays directly in O(1)
  • HPDFValidatePDFVTXObjectHints now tracks visited indirect and direct container objects in O(1) instead of inserting scalar keys into a sorted string list, skips page content streams whose /Resources /XObject dictionary is absent or empty, and performs the full page-tree content-stream reference-counting pass only when at least one hinted XObject declares GTS_Scope SingleUse or File

Version 2.1204.63

Fixed

  • The Free Pascal and Lazarus packages compile again after the OpenEXR and modern-image decoding work: the new implementation dependency on the bundled zlib unit brought a second byte-array type into the same scope, so every decoder function header disagreed with its own declaration and the compiler stopped with twenty-two errors
  • Under Free Pascal the modern-image unit now binds that byte-array name back to the type its interface publishes, so JPEG XL, AVIF and OpenEXR keep their documented signatures; Delphi and C++Builder builds are unchanged because the adjustment is compiled only for Free Pascal

Version 2.1204.62

Added

  • THotPDF.PDFVTCompliance now accepts 'VT-2' (ISO 16612-2:2010 clause 6.2.2) alongside 'VT-1', and THotPDF.PDFXCompliance accepts 'X-4p' (ISO 15930-7:2010 external ICC output intent), 'X-5g' (ISO 15930-8:2010 external graphical content with embedded ICC output intent), and 'X-5pg' (ISO 15930-8:2010 external graphical content and external ICC output intent), emitting the corresponding pdfvtid:GTS_PDFVTVersion (PDF/VT-2) and pdfx:GTS_PDFXVersion / pdfx:GTS_PDFXConformance XMP metadata
  • THotPDF.AddPDFXExternalOutputIntent attaches a PDF 1.6+ /S /GTS_PDFX output intent carrying a /DestOutputProfileRef reference dictionary (URL array, profile name, ICC version, GRAY/RGB /CMYK signature, and optional MD5 checksum) for PDF/X-4p, PDF/X-5pg, and PDF/VT-2 workflows, and THotPDF.ValidatePDFVT / HPDFPreflightValidatePDFVT now validate PDF/VT-2 documents across all three ISO 16612-2 clause 6.2.2 PDF/X baselines

Version 2.1204.61

Added

  • HPDFValidateWTPDF10 and HPDFComplianceFromWTPDFIssues in HPDFWTPDFValidation provide a bounded clause-addressable read-side validator for the PDF Association Well-Tagged PDF (WTPDF) 1.0 Reuse and Accessibility conformance levels (clauses 6.1.2, 6.1.3, 6.2, 8.2.1, 8.2.4, 8.2.5.2, 8.2.5.8, 8.2.5.12, 8.2.5.14, 8.2.5.23, 8.2.5.24, 8.2.5.25, 8.2.5.27, 8.2.5.28.2, 8.2.5.29, 8.4.3, 8.4.4, 8.4.5.3.2, 8.4.5.5.1, 8.7, 8.9.2.4, 8.9.3.3, 8.10, 8.11.1, 8.11.2, and 8.14.1), integrated with THPDFComplianceFindings under cpfWTPDF10 (WTPDF 1.0)
  • THotPDF.ValidateWTPDF and HPDFPreflightValidateWTPDF generate a structured Enterprise WTPDF 1.0 preflight report, while HPDFPreflightValidatePDFWithPolicy now enforces full WTPDF 1.0 structural and accessibility conformance (`PolicyWTPDFConformance`) for the built-in wtpdf-reuse, wtpdf-validated-reuse, wtpdf-accessibility, and wtpdf-validated-accessibility policies, and AddStructureElement automatically assigns the PDF 2.0 standard structure namespace (http://iso.org/pdf2/ssn) when WTPDF 1.0 or ISO/TS 32005 conformance is declared

Version 2.1204.60

Fixed

  • A PDF/X document keeps its mandatory document information entries when Information is set to False: the PDF/X check in EndDoc now turns the information dictionary back on, as it already does for the XMP packet, so /Trapped (required by every PDF/X profile) and the PDF/X-1a and PDF/X-3 /GTS_PDFXVersion and /GTS_PDFXConformance entries are always written; previously the file silently lost them and read back as /Trapped /Unknown

Version 2.1204.59

Fixed

  • PDF/X-1a and PDF/X-3 documents now also carry their identification in the document information dictionary, where ISO 15930-1 and ISO 15930-3 require it: PDFXCompliance X-1a writes /GTS_PDFXVersion (PDF/X-1:2001) and /GTS_PDFXConformance (PDF/X-1a:2001), and X-3 writes /GTS_PDFXVersion (PDF/X-3:2002), matching the XMP values that are still written; previously only the XMP packet identified such files, so preflight tools that read the information dictionary did not recognise them

Version 2.1204.58

Fixed

  • GetLoadedPDFXVersion and IsLoadedPDFX now recognise PDF/X-1a and PDF/X-3 files, which ISO 15930-1 and ISO 15930-3 identify through /GTS_PDFXVersion in the document information dictionary rather than in XMP; such a file previously reported no PDF/X version
  • The XMP identification is consulted first, then the document information dictionary, then the legacy catalog keys some producers write

Version 2.1204.57

Added

  • GetLoadedPDFARevision returns the pdfaid:rev edition year a document declares, which PDF/A-4 requires as 2020

Fixed

  • GetLoadedPDFAVersion now reports the PDF/A part and conformance level that a loaded file declares, such as PDF/A-1b, PDF/A-2u, PDF/A-4 or PDF/A-4f, instead of the bare PDF/A it returned for every identified file
  • The identification is read from both child-element and RDF attribute-shorthand XMP, in any rdf:Description of the packet and under any prefix bound to the PDF/A identification namespace, including its https:// spelling
  • A document being built with PDFACompliance reports the profile it will write in the same form

Version 2.1204.56

Added

  • THotPDF.AddPDFEDefaultSRGBOutputIntent and HPDFBuildDefaultSRGBICCProfileBytes now supply a self-contained 468-byte ICC v2.10 matrix/TRC sRGB IEC61966-2.1 output-intent profile for ISO 24517-1:2008 (PDF/E-1) engineering documents without requiring an external .icm file
  • THotPDF.AddPDFELayer, THPDFPage.AddPDFE3DAnnotation and THPDFPage.AddPDFELinkAnnotation author ISO 24517-1:2008 clause 7.12 optional-content layers (ensuring /OCProperties /D /Name), clause 9.3 and clause 16 U3D 3D annotations with named /Type /3DView dictionaries (/XN, /IN, /MS /M, /C2W, /CO) and normal appearance streams, and clause 9.3 intra-document navigation link annotations with print flag /F 4 and normal appearance streams, while existing AddGoToLink and markup annotation builders automatically emit PDF/E-1 compliant flags and non-multiply appearances when PDFECompliance is active
  • HPDFValidatePDFE now enforces ISO 24517-1:2008 clause 7.12 on catalog /OCProperties (pdfe.ocproperties.d.missing, pdfe.ocproperties.d.name, pdfe.ocproperties.config.name, pdfe.ocproperties.config.duplicate) and /Type /OCG dictionaries (pdfe.ocg.name), as well as clause 16.4 on /Type /3DView dictionaries (pdfe.3d.view.xn)

Version 2.1204.55

Added

  • HPDFDecodeOpenEXRToRGBA, HPDFDecodeOpenEXRToBitmap and HPDFDecodeOpenEXRFileToBitmap in HPDFModernImages now natively decode OpenEXR v2 scanline images (NONE, RLE, ZIPS and 16-line ZIP compression with OpenEXR byte predictor and odd/even deinterleaving across UINT, HALF and FLOAT channels and Extended Reinhard HDR-to-sRGB tone mapping), while HPDFParseJPEGXLCodestreamSizeHeader and HPDFDecodeJPEGXLInfo extract bit-packed ISO/IEC 18181-1 clause 9.1 SizeHeader image dimensions from raw and container JPEG XL codestreams
  • THotPDF.AddImageFromFile and AddImage now natively decode and embed .exr scanline images, probe .jxl, .avif, .heif and .heic containers into LastModernImageInfo (with optional external bitmap decoding through OnDecodeModernImage), and expose ProbeModernImageBytes and ProbeModernImageFile

Version 2.1204.54

Changed

  • THotPDF.AnalyzeLoadedPageInkCoverage now evaluates ink coverage and total area coverage (TAC) directly from the four process separation plates (Cyan, Magenta, Yellow and Black) replayed from a single compiled page display list instead of re-deriving CMYK from a flattened composite RGB bitmap, so per-object ExtGState /BG2//BG and /UCR2//UCR curves (ISO 32000-1 clause 10.3.4) and native DeviceCMYK rich-black channels are preserved
  • THPDFPageRenderer now also applies the active clause 10.3.4 black-generation and undercolor-removal lookup tables when painting raster images (DrawImageXObject and DrawInlineImage) onto Cyan, Magenta, Yellow and Black separation plates, and re-resolves the active fill and stroke colours when DoApplyExtGState updates /BG2//BG or /UCR2//UCR after a colour operator

Version 2.1204.53

Added

  • THotPDF.ValidatePDFVCR and HPDFPreflightValidatePDFVCR now generate an Enterprise preflight report for ISO 16613-1:2017 (PDF/VCR-1) templates alongside ValidatePDFVT and ValidatePDFE, while cpfPDFVCR (PDF/VCR-1) and HPDFComplianceFromPDFVCRIssues integrate template and CSV data-sequence validation findings into THPDFComplianceFindings and ComplianceFindingsToJSON
  • HPDFVCRReplaceXObjectStream and the extended HPDFVCRProcessRecord overload now perform live PassThrough substitution on XObject-targeted placeholders (/ObjR referencing Form or Image XObjects) in addition to marked-content placeholders, clearing stream filters and updating /Length with whitespace-framed substitution bytes per ISO 16613-1 clause 8.7.2

Version 2.1204.52

Fixed

  • The Lazarus and Free Pascal packages build again on both 32-bit and 64-bit Windows: an editing pass dropped the UTF-8 marker from the main document unit, which includes a marked section, and the compiler rejects mixed code pages inside one module
  • The source-encoding check now also verifies that a unit including a UTF-8-marked section carries the same marker, so even a host written entirely in plain ASCII can no longer silently break the Free Pascal build

Version 2.1204.51

Added

  • HotPDF now supports ISO 16613-1:2017 (PDF/VCR-1 Variable Content Replacement) across template authoring, CSV data sequence encoding and parsing, bounded template and data sequence validation, and live PassThrough content replacement in HPDFPDFVCR alongside THotPDF.PDFVCRCompliance ('VCR-1'), IsLoadedPDFVCR, and GetLoadedPDFVCRVersion
  • Template helpers (HPDFVCRCreateReplacementRoot, HPDFVCRAddMCIDPlaceholder, HPDFVCRAddXObjectPlaceholder, HPDFVCRCreatePlaceholderXObject, and HPDFVCRWriteMarkedPlaceholderSample) build the /O /GTS_Template replacement root with /GTS_Fields and optional /GTS_Pages plus leaf /O /GTS_Replacement placeholders targeting single marked-content sequences or Image/Form XObjects
  • HPDFValidatePDFVCR1Template, HPDFValidatePDFVCR1DataSequence, and HPDFVCRProcessRecord verify PDF/X-4 or PDF/X-6 base conformance, pdfvcrid:GTS_PDFVCRVersion XMP identification, placeholder leaf and target-uniqueness invariants, RFC 4180 CSV field headers and ascending 0-based GTS_Pages arrays, and execute live marked-content replacement with surrounding whitespace per ISO 16613-1 clause 8.7.2

Version 2.1204.50

Changed

  • THotPDF now writes and inspects XMP PDF Declarations (xmlns:pdfd="http://pdfa.org/declarations/") as well as ISO/TS 32005:2023 and WTPDF 1.0 conformance claims: AddPDFDeclaration and ClearPDFDeclarations manage arbitrary pdfd:declarations entries with optional claimBy, claimDate, claimCredentials and claimReport fields
  • DeclareISO32005Conformance, DeclareWTPDF10Reuse and DeclareWTPDF10Accessibility promote the document to PDF 2.0 Tagged PDF with XMP metadata and emit the standard declaration URIs (https://pdfa.org/declarations#iso32005, http://pdfa.org/declarations/wtpdf#reuse1.0, http://pdfa.org/declarations/wtpdf#accessibility1.0 and their -validated variants), with DeclareWTPDF10Accessibility also enabling /ViewerPreferences /DisplayDocTitle
  • Loaded documents and documents being built can be queried through GetLoadedPDFDeclarations, HasLoadedPDFDeclaration, IsLoadedISO32005, IsLoadedWTPDF and GetLoadedWTPDFVersion across both child-element and RDF attribute-shorthand XMP serializations, and Enterprise WTPDF preflight now accepts both http:// and https:// declaration URIs

Version 2.1204.49

Added

  • THotPDF now exposes producer-side PDF 2.0 developer-extension declarations for ISO/TS 32003:2023 (EnsureISO32003Extensions), ISO/TS 32004:2024 (EnsureISO32004Extensions), ISO/TS 32007:2024 glTF 3D RichMedia assets (EnsureISO32007Extensions, emitting integer /ExtensionLevel 32007 per approved PDF Errata #835, /ExtensionRevision (1:2024), and /URL (https://www.iso.org/standard/45880.html)), and ISO/TS 24064:2023 STEP AP242 3D RichMedia assets (EnsureISO24064Extensions, emitting /ExtensionLevel 24064, /ExtensionRevision (:2023), and /URL (https://www.iso.org/standard/86655.html)), while completing the required /URL entry on EnsureISO32001Extensions and EnsureISO32002Extensions per ISO 32000-2:2020 clause 7.12.3 Table 49 (Issue #732)
  • THPDFPage.AddRichMediaAnnotation now stamps model/gltf+json, model/gltf-binary, and model/step embedded-file subtypes for .gltf, .glb, and .stp/.step/.p21 3D assets and automatically declares ISO/TS 32007 or ISO/TS 24064 when building a PDF 2.0 document
  • THotPDF.HasLoadedISODeveloperExtension and GetLoadedISODeveloperExtensionLevels inspect the catalog /Extensions /ISO_ entry on loaded or in-progress documents, accepting both the multi-extension array form and the single-dictionary form as well as pre-errata name-typed /ExtensionLevel values

Version 2.1204.48

Added

  • THotPDF.ValidatePDFE and HPDFPreflightValidatePDFE now generate a structured Enterprise preflight report for ISO 24517-1:2008 (PDF/E-1) documents alongside ValidatePDFVT, reporting version identification, XMP namespace and metadata stream presence, /ISO_PDFE1 output intent coverage, full validator error and warning counts, issue codes and per-issue details, page loadability, and an FNV-1a 64-bit report fingerprint
  • HPDFValidatePDFE now also provides an overload returning THPDFComplianceFindings under the new cpfPDFE (PDF/E-1) profile alongside HPDFComplianceFromPDFEIssues, so PDF/E-1 findings serialize directly through THotPDF.ComplianceFindingsToJSON

Version 2.1204.47

Added

  • The PDF/E-1 validator now enforces ISO 24517-1:2008 clause 18.3 on encrypted files: every string, array or dictionary value inside the /Encrypt dictionary (and inside nested dictionaries or arrays such as /CF and its crypt-filter entries) that is stored as an indirect reference is captured before decryption and reported as a pdfe.encryption.direct error with its exact dictionary path
  • THotPDF.GetLoadedSourceEncryptionIndirectPaths exposes those captured indirect encryption-dictionary value paths on a loaded document, while indirect objects belonging to the /Encrypt subtree are skipped during document-graph decryption per ISO 32000-1 clause 7.6.1

Version 2.1204.46

Added

  • Loaded documents now expose symmetric standard-identification accessors alongside IsLoadedPDFA and IsLoadedPDFX: IsLoadedPDFUA with GetLoadedPDFUAVersion, IsLoadedPDFVT with GetLoadedPDFVTVersion, IsLoadedPDFE with GetLoadedPDFEVersion, and IsLoadedPDFR1 with GetLoadedPDFR1Version
  • The XMP identification readers recognise both RDF child elements and shorthand attributes on rdf:Description (pdfuaid:part, pdfvtid:GTS_PDFVTVersion, pdfe:ISO_PDFEVersion, and pdfx:GTS_PDFXVersion), while GetLoadedPDFR1Version inspects a bounded tail window of the loaded source stream for the ISO 23504-1 clause 5 %PDF-raster-x.y comment

Version 2.1204.45

Fixed

  • XFA forms that declare an empty pageSet no longer fail pagination before the first item is placed: they now receive the same whole-page layout that a template with no page model at all already received
  • Flattening an XFA document whose template carries an empty pageSet now produces its field and page content instead of raising a pagination error; templates that declare explicit page areas keep their existing layout

Version 2.1204.44

Fixed

  • The Lazarus and Free Pascal packages build again on both 32-bit and 64-bit Windows: one source unit that includes a UTF-8-marked section was itself left unmarked, and the compiler refuses to mix the two code pages inside a single module
  • The missing marker is now supplied on that unit, so the same headerless encoding fix that protects non-ASCII source text also keeps the included section consistent with its host; Delphi and C++Builder builds are unaffected, and the source-encoding check still passes

Version 2.1204.43

Fixed

  • Adding a repeated XFA subform occurrence through a scripted event no longer places it after siblings declared below the repeating group: the new instance is inserted at the end of its own group, so a footer field that follows the rows stays at the bottom instead of being stranded above the new row
  • Fields below a repeatable row now move down by exactly that row's height when addInstance or insertInstance appends an occurrence, and the form tree keeps the template's flow order; a repeating group that is already the last child is still appended as before

Version 2.1204.42

Fixed

  • Validating a PDF/VT file no longer reports its recurring graphical object hints as broken: the preflight freed the document it had just loaded before running the §6.7 hint pass, so that pass saw no catalog and answered that the hints were unavailable, and any PDF/VT-1 file with correct hints was reported as failing
  • The hint pass now runs while that document is still open, so a file whose hints follow §6.7.2 and §6.7.3 reports PASS PDFVTXObjectHints, and a file that really breaks them still reports the specific hint issue; ValidatePDFVT returns true again for a well-formed PDF/VT-1 file

Version 2.1204.41

Fixed

  • column-gap now spaces grid and flex items instead of being silently dropped there: the cascade routed the shared spelling only to the multi-column fields, so a container written with gap:24pt;column-gap:normal kept the 24pt column gap, and any column-gap length that differed from the shorthand had no effect on a grid or flex row
  • One spelling now updates both consumers, so column-gap keeps serving multi-column blocks while also setting the grid and flex column gap, and normal resolves to zero there; the inherit and initial forms follow the same fields, so a reset or an inherited column gap reaches the grid layout too

Version 2.1204.40

Fixed

  • An inverted stencil image mask (one written with /Decode [1 0]) paints its intended cells again on a reloaded document: a later change to how a DeviceGray image applies its /Decode range made the renderer invert such a mask a second time, so the stencil showed the page background instead of the current fill colour

Version 2.1204.39

Fixed

  • GetLoadedPDFXVersion and IsLoadedPDFX now recognise a reloaded PDF/X document: HotPDF writes the PDF/X identification only to its XMP and never to a catalog key, so both reported nothing for a loaded PDF/X file even though the document declared itself PDF/X-4; the version getter now reads that XMP value and the boolean agrees with it

Version 2.1204.38

Fixed

  • IsLoadedPDFA now recognises a reloaded PDF/A document: it reported false for a loaded PDF/A file because it read only the write-side compliance setting, which a load never assigns, contradicting GetLoadedPDFAVersion that already identified the same file from its XMP

Version 2.1204.37

Fixed

  • GetLoadedPDFAIssues now recognises the OutputIntent that a reloaded document carries in its catalog: the PDF/A structural scan reported every loaded PDF/A file as missing its output intent, because it only looked at intents registered through AddPDFAOutputIntent in the same session, so the read-side verdict disagreed with the file it was reading

Version 2.1204.36

Fixed

  • Editing a form field whose data value has been removed and re-created under the same name no longer reports success while changing nothing: the edit follows the value that is actually in the data now, instead of landing in the copy the form keeps for display
  • When the record a field was bound to has been removed altogether, the edit is refused with a message naming the dead binding and the document is left untouched, instead of writing the value into a record that merely took the removed one's place

Version 2.1204.35

Fixed

  • A form keeps responding after one of its values is rejected. Rebuilding the script engine after a rollback is now paid for before the event's time budget starts, so a form that has been clicked many times no longer refuses every later event with an execution time limit
  • Replaying a long script history no longer consumes the time budget of the script the caller asked for, because each replayed entry runs under the budget it was originally admitted with

Version 2.1204.34

Fixed

  • The 32-bit Free Pascal package builds from scratch again: build-Win32-Lib-FPC.cmd stopped at the replay payload arena because a 64-bit for-loop counter is rejected on i386, so the arena slot loops index with a 32-bit counter, and the two COLRv1 gradient cycle loops, whose counter spans the full 64-bit range, repeat through an explicit while
  • A replay payload arena whose slot count exceeds a 32-bit index is refused with a diagnostic instead of being iterated from a bound that would wrap

Version 2.1204.33

Fixed

  • A number written into a content stream no longer keeps the full eighteen-digit expansion when its fractional part ends in zeros: a coordinate that is exactly 87.5 was written as 87.5000000000000000, the same value four times longer, and every shading coordinate, colour component and transformation matrix carried that padding
  • Only zeros after the decimal point are removed, so every significant digit that the serializer recovered from a single-precision value survives, and a value such as 0.123456789 is written unchanged
  • The XPS elliptical radial brush test had been failing since the precision-preserving serializer landed on 2026-10-24, because it compares the shading coordinates against 87.5; it passes again, and the generated files are smaller by the padding that is no longer written

Version 2.1204.32

Fixed

  • An archive part that a container or package document names but the archive does not carry is no longer answered with the first entry: the entry lookup returned entry 0 for every name it did not hold, so an EPUB, XPS or CBZ package that referenced a missing part was converted with the content of mimetype in its place instead of reporting the part as missing
  • The cause was a dictionary lookup whose outcome was discarded: TryGetValue writes the default value into its out parameter when the key is absent, which overwrote the not-found index the caller had already set, so every miss became a silent hit on the first entry; the call now tests the result and restores the not-found index
  • Free Pascal builds now resolve a part whose name the archiver stored without the ZIP UTF-8 flag: such a name is bytes in the archiver's code page while a reference from a package document is Unicode text, so the two never compared equal and the part was reported missing; a name whose flag is clear is now decoded from the ANSI code page, which leaves pure ASCII names untouched
  • The reference read from a container or package document is now converted to UTF-8 bytes explicitly instead of through an implicit wide-to-narrow cast, which follows a runtime default code page that the host application may change; Delphi strings are already Unicode, so the shipping compiler keeps its previous behaviour

Version 2.1204.31

Fixed

  • The Free Pascal library build compiles again on Win64: since a change to the XFA literal-presence setup on 2026-11-05 the Lazarus package of the library stopped with a syntax error, so no Free Pascal user could build the library from source and the last successful package build on this checkout predates that change
  • The cause was a guard that compared a node's child list against its class written as a generic type inside an if condition; Free Pascal reads the angle brackets there as a not-equal operator followed by a less-than, then expects a closing parenthesis where it finds then, while Delphi parses the same line without complaint
  • That class is now named once in a local type, where a type is expected, and the guard compares against the name: the check is the same check, Delphi builds the line as before, and the Win64 package set of the library builds from scratch

Version 2.1204.30

Fixed

  • The C++Builder binding compiles again from a clean build: three independent defects in the generated headers had blocked every fresh build of the package and any application linking it — an edition exception exposed no parameterless constructor for its derived classes to call, two constructors collapsed to one identical C++ signature, and a generic nested type was emitted in a form the compiler rejects; the base, Small Business and Enterprise packages now build and a C++Builder consumer compiles against the regenerated headers

Version 2.1204.29

Fixed

  • THPDFHTMLEncoding.Decode now returns characters instead of bytes: the Free Pascal stand-in for TNetEncoding took and returned an AnsiString, so the value of an XPS or EPUB attribute was routed through the code page of the machine doing the conversion and the same document produced different text on two machines
  • On a Chinese or Western Windows installation that made every character the local code page could not represent arrive as a question mark: a numeric reference beyond the BMP was destroyed in transit, while the caller at HPDFTagAttribute already held a WideString; the decoder now takes and returns WideString and no substitution happens
  • A numeric reference naming a character that cannot exist now yields U+FFFD instead of vanishing: a lone surrogate used to delete the reference from the text entirely, U+0000 produced a zero byte, and a code point above U+10FFFF was left as source text, where HTML5 and every other decoder substitute the replacement character
  • &nbsp; now decodes to U+00A0, the character the name stands for and the one &#160; names; it used to produce a plain space, so two spellings of one character disagreed
  • A decimal reference no longer tolerates a space after the hash: &# 65; decoded to A because the conversion routine it leaned on skips blanks, while the hexadecimal spelling of the same mistake, &#x 41;, was already refused; the digits are now read one at a time, so the two spellings agree and a body long enough to overflow the accumulator cannot wrap round to a small number
  • The network encoding unit now has a gate in the tree: a Free Pascal program runs 135 checks over seven phases covering the byte contract of the percent decoder, the characters of the entity decoder, the text a system code page would destroy, and the agreement between the two decoders that an EPUB href depends on; with the change reverted the same program reports 33 failures

Version 2.1204.28

Fixed

  • An archive password set before the archive is opened is now kept: the Free Pascal container reader cleared it inside the Close that Open performs, so a caller following the System.Zip order of setting Password and then calling Open had it silently discarded, and every encrypted XPS, EPUB or CBZ entry was then refused as a wrong password with the correct one supplied
  • A truncated central directory is now reported as EZipException: a declared entry count larger than the directory it describes reached the stream and left as a bare stream read error, which is not the exception type the reader documents for a damaged archive and which a caller catching that type never saw
  • A name carrying the UTF-8 flag is documented as arriving unconverted: the reader hands back the bytes the archive stores, so a name outside ASCII reaches an AnsiString as UTF-8 rather than as text in the caller's code page
  • The container reader now has a gate in the tree: a Free Pascal program reads eight archives written by Python's zipfile, four of the cases damaged on purpose, and pins the entry names, sizes and CRC-32 values, the expanded payload bytes, the ZIP64 extended fields and locator, the traditional-encryption preamble, both check-byte forms and the refusal path of every malformed variant

Version 2.1204.27

Fixed

  • HPDFDecodeVP8KeyframeYUV and HPDFDecodeVP8Keyframe now return False when they refuse a bitstream: neither entry point ever assigned its result on the failure path, so an empty buffer, a stream cut short, or an inter-frame tag came back as a successful decode with a zero width and height, and a caller could not tell a refusal from an empty image
  • The two calls also leave the image out-parameters cleared on a refusal instead of holding whatever the previous call left there, so a decoder object reused across files cannot hand back an earlier image after a stream it declined
  • The interface comment no longer claims the chroma planes are rounded down: the decoder follows the I420 rule it implements, where a 7 by 5 image carries a 4 by 3 chroma plane rather than a 3 by 2 one
  • A focused program now decodes six keyframes encoded by libwebp and pins the frame header, the plane geometry, the refusal paths and a byte-identical repeat decode, so the VP8 decoder has a regression gate in the tree rather than only the delivery that introduced it

Version 2.1204.26

Fixed

  • The Win64x C++Builder package builds and links again: the QuickJS engine unit was compiled into the package as a used dependency but absent from the package's contained-unit list, so the Win64x linker reported its symbols as undefined and no C++Builder application could link the package on that platform; listing the unit alongside the other contained units resolves the link and also exposes the QuickJS engine API to C++Builder consumers, while the Win32 package continues to build unchanged

Version 2.1204.25

Added

  • The WebP decode entry points are now exported from the C++Builder package, so an application that links the package can call HPDFDecodeWebPLossless, HPDFDecodeWebP and the bitmap helpers directly; the unit was already compiled into the package but its symbols had not been exposed through the C++Builder binding, unlike the Flate and LZW codecs

Version 2.1204.24

Fixed

  • The bundled PNG image object works again on 64-bit and Unicode Delphi builds: it used to crash while saving and write corrupt files because its byte pointers were truncated to 32 bits and its byte-oriented buffers were read and written as wide characters
  • A PNG saved and reloaded through it now reproduces the original pixels exactly across greyscale, RGB, palette, alpha and 16-bit channels, interlaced or not, with palette transparency, chunk splitting and every compression level preserved
  • A 16-bit greyscale image no longer overruns its palette on save, and a damaged file is rejected with its own error rather than crashing: a bad signature, a bad chunk checksum, a truncated stream, an unknown critical chunk and an invalid header combination are each caught
  • Normal PNG import is unaffected because it uses the Delphi and Lazarus built-in decoders; this repairs the bundled PNG object for callers that use it directly

Version 2.1204.23

Fixed

  • ZCompressStr now compresses at the level it is asked for: the Unicode build dropped the argument and called the default overload, so a caller requesting zcNone or zcMax silently received the zcDefault stream
  • The difference is visible in the output: a 20000-character string at zcNone now carries its payload instead of hiding behind the default compression, and the Flate checks pin the stored form as the larger of the two

Version 2.1204.22

Added

  • PDF/E-1 clause 18.2 is checked rather than described: an encryption dictionary shall contain a V entry and that value shall be 1, 2 or 4, judged from the source-file capture that survives the engine decrypting the object graph in memory, so pdfe.encryption.version and pdfe.encryption.version.missing are errors while the existing pdfe.encryption.present warning stays for clause 18.1
  • The source-encryption capture now resolves the cipher from the crypt filter's /CFM entry instead of the /StmF filter name, so a V=4 file reports AES-128 rather than RC4-128 and an AES-256-GCM file is no longer reported as plain AES-256, and THotPDF.GetLoadedSourceEncryptionVersion exposes the captured V value

Version 2.1204.21

Added

  • Signature evidence and RFC 3161 timestamps can now use an in-tree HTTP(S) transport instead of a hand-written callback: one standalone unit supplies bounded GET and POST for AIA caIssuers, CRL, OCSP and TSA, plus adapters for the evidence-transport, signature-time-stamp and headless-timestamp callback contracts
  • Every request is bounded by a timeout, a response-byte ceiling, a redirect count, a scheme allowlist and an optional cancellation token, and a failure names its own reason, a bad URI, an unsupported scheme, a connection refusal, a timeout, an oversized reply, too many redirects, an HTTP error or a cancellation, rather than one generic failure
  • The library stays offline unless a caller installs one of the adapters, and no existing callback contract changes; Windows loads WinHTTP dynamically so no new static dependency is added, while other platforms report an explicit unsupported-platform reason and the Enterprise C ABI timestamp transport remains a caller-supplied callback

Version 2.1204.20

Added

  • A declaration the standard cannot express raises where it is made rather than producing a file a reader rejects: a scope outside the six permitted names, a Record scope with no record level declared, a Stream scope, which belongs to a chunk of a PDF/VT-2s stream rather than to a single document written through THotPDF, a Global scope with no environment, an empty identifier or an unknown form name
  • HotPDF now writes and checks the PDF/VT-2s stream package of ISO 16612-2:2010 Annex A: THPDFVTStreamWriter gathers inline PDF/VT files, re-usable PDF parts and ICC profiles into one multipart/mixed MIME stream, and HPDFValidatePDFVTStream reads such a stream back and reports every departure from the annex as a structured finding carrying a severity, a stable code, a clause reference and a part index
  • The package header carries X-PDFVT-Stream-version: 1 ahead of the content type, each PDF part is application/pdf and each profile part application/vnd.iccprofile, and a re-usable PDF or profile part is written as an attachment with a filename so a later part can refer to it by that name
  • An inline part contributes its pages to the stream while a re-usable part contributes none: the validator returns the default page processing order of Annex A.3 as the aggregation of the inline files' document part hierarchies in stream order, so a consumer processes pages the way the annex defines without rebuilding that order itself
  • References are resolved by filename rather than by position, so a part may only name an earlier part and an inline PDF/VT file may not be referenced at all; a forward reference and a reference to an inline part are each reported with their own code, and a reference that names no part is reported rather than silently ignored
  • Every PDF/VT file in one stream has to agree on its node name list, its record level and its characterized printing condition, and a disagreement is reported against the part that introduces it; a stream whose inline parts carry no PDF/VT identification at all is reported instead of being accepted as an empty hierarchy
  • The check is bounded by configurable part, stream-byte, part-byte, object, object-nesting, issue and document-part-depth limits, and a PDF part that does not load is reported as a finding rather than raising out of the validator, so one damaged part cannot abort the inspection of the rest
  • The writer validates the package it built before writing a byte, so a stream that breaks Annex A.2 raises where it is written instead of reaching a consumer, and a boundary that happens to occur inside a part body is regenerated until it is unique
  • A content transfer encoding other than binary is reported as a should-level warning and the part is read as its raw bytes, because the annex recommends binary without requiring it; the XML representation of Annex A.4 is should-level and is not produced, and the stream writer is standalone, taking finished PDF bytes rather than changing how a THotPDF document is written

Version 2.1204.19

Changed

  • The page renderer now converts a painted DeviceCMYK colour to DeviceRGB the way ISO 32000-1 10.3.5 defines: the black component is added to each ink and the sum is subtracted from one, so red = 1 − min(1, cyan + black) and likewise for green and blue
  • This replaces the earlier multiplicative conversion, which agrees with the clause only when the black component is zero or one; a colour whose black component lies between them now renders darker, so fills, strokes, shadings and SVG export of such a colour change appearance
  • A DeviceCMYK image decoded to a bitmap follows the same additive rule, so a scan or photograph carrying a black component matches the painted colours instead of being converted by a second formula
  • Colours with no black component and pure black are unchanged, the headless renderer already used the additive rule and keeps its pixels, and the black-generation and undercolor-removal curves of 10.3.4 take no part in this conversion, as the clause requires
  • Converting a loaded page to DeviceCMYK and rendering it back no longer reproduces the original colours exactly: the rewrite keeps the canonical RGB to CMYK conversion, and the additive clause is not its inverse, so a mid-tone colour shifts by up to 64 levels where it used to return unchanged

Version 2.1204.18

Added

  • A PDF/R-1 file whose page tree leads to no page is now rejected instead of certified: HPDFPreflightValidatePDFR1 counts the leaves its page-index map found and the pages its object walk actually checked, and emits pdfr.pagetree.empty (§6.5.2) when the tree has no reachable /Type /Page leaf
  • The companion finding pdfr.pagetree.unreachable reports a mapped leaf that the object walk never reached, while a walk stopped by the object or issue budget keeps its own limit finding and is not misreported as an unreachable page; conforming one-page and two-page raster files remain clean

Version 2.1204.17

Added

  • A PDF/VT writer can now emit the recurring graphical object hints of ISO 16612-2 clause 6.7, which the reader has checked but no producer wrote: SetPDFVTXObjectHint attaches a GTS_XID identity, a GTS_Scope usage scope and an optional GTS_Env environment to a Form XObject the document already holds, so a conforming reader can recognise and reuse content that recurs across pages or files
  • The three keys are written with the types the clause requires, a string identifier, a name scope and a text-string environment, and a hint set this way passes the existing clause 6.7 reader without findings
  • The hints belong to a PDF/VT file, so the call raises when PDFVTCompliance is empty and a document written without it carries no hint keys and keeps the bytes it produced before; the reference-count meaning of a scope stays with the read-side check

Version 2.1204.16

Added

  • Lossy WebP photos now decode and embed instead of being declined: a VP8 keyframe is reconstructed to pixels through AddImageFromFile and the WebP bitmap and file entries, beside the lossless VP8L support that was already there
  • The lossy decoder reproduces the RFC 6386 keyframe exactly at the colour-sample level, and its chroma upsampling matches the reference libwebp output to within a single sample value, so an embedded photo looks like the one the caller supplied
  • Animated WebP is read as well: the first frame decodes to pixels and the frame count is available through HPDFWebPAnimationFrameCount and HPDFWebPIsAnimated, because every animation frame is an independent keyframe rather than a predicted delta
  • New HPDFDecodeWebPLossy and HPDFDecodeWebPLossyEx entries decode a lossy frame on its own, and the reject vocabulary gains a missing-lossy-chunk reason and a lossy-bitstream reason so a failure still names itself
  • The lossless-only HPDFDecodeWebPLossless* contract is unchanged, and WebP animation carries no inter-frame prediction, so there is no predicted-frame path to add

Changed

  • WebP acceptance is wider than before: a lossy VP8 photo or an animated WebP now decodes through AddImageFromFile and the bitmap entries instead of being declined, while the lossless-only HPDFDecodeWebPLossless* entries keep declining them by design and the same lossless frames still decode to the same pixels

Version 2.1204.15

Added

  • PDF/E-1 documents can now be written as well as checked: setting PDFECompliance to E-1 before EndDoc makes the writer emit a file that the existing PDF/E-1 checker accepts without findings
  • The generated metadata packet declares the PDF/E identification namespace and pdfe:ISO_PDFEVersion as PDF/E-1, carries every required file identifier and date property, and keeps the packet header free of the attributes the standard forbids
  • AddPDFEOutputIntent registers an ICC profile and attaches the ISO_PDFE1 output intent that device-colour pages need; the writer refuses to finish an E-1 file without an explicit title, that output intent, or an identified custom XMP packet
  • Only PDF/E-1 is produced: PDF/E-2, built-in ICC profiles and automatic preflight wiring remain outside this delivery. Leaving PDFECompliance empty changes nothing, so existing documents and custom XMP packets keep the bytes they produced before

Version 2.1204.14

Added

  • JPEG XL, AVIF/HEIF and OpenEXR files can now be examined through bounded decode entries that read each family's container or header and report the geometry, channel layout, brand and compression they actually declare
  • Failures are no longer a single unsupported answer: a truncated header, a wrong signature, a malformed box chain, a missing required box or attribute, an unsupported brand, a codec that needs an external runtime, unsupported version flags and an exceeded budget each have their own reason and readable text
  • All three entries are bounded by probe-byte, box-count, attribute-count and nesting limits, and they need no libjxl, libavif or OpenEXR runtime; they read headers and containers rather than decompressing pixels, which is stated as the coverage boundary
  • These entries are standalone and are not wired into any existing image-loading path yet, so no current image type changes behaviour

Version 2.1204.13

Added

  • PDF/R-1 pages can now be checked against the raster the caller meant to store: HPDFComparePDFR1Pixels decodes each strip through its declared filter and compares the samples with a supplied reference raster, covering all five colour models, pages split into several strips, CCITT Group 4 bitonal strips and JPEG strips
  • Each difference is reported with its page, strip, sample offset, expected value and actual value, and the work is bounded by a page limit, a strip limit, a decoded-byte budget and a finding limit, so a large scan cannot run away
  • A JPEG strip is never silently accepted when no JPEG runtime is installed: it produces an explicit unavailable finding instead, and a per-raster tolerance lets a lossy JPEG strip be compared without demanding byte-exact samples
  • HPDFRepairPDFR1Document adds a bounded repair entry for raster files: it repairs stream lengths and the cross-reference table without rewriting object bodies, and passes the caller's input-size and object-count budgets through to the repair
  • A repaired file declares its PDF/R-1 identity again and is re-checked with the PDF/R-1 validator before it is published, so a repair that breaks raster conformance is reported rather than handed back as a valid file

Fixed

  • The PDF/R-1 writer numbered its page objects one too low, so a page tree's /Kids array named the catalog instead of the page and the contents and strip references were each one object off; written files now name the objects they actually contain
  • With the page tree wrong, no object referenced the real page, so a reader walking the tree never reached it and the earlier producer round trips were checking an empty page set; the writer and the reader now agree on the same page object

Version 2.1204.12

Added

  • Encrypted files are held to the AES-256 rule of clause 6.8: the validator reads the revision, key length and crypt-filter method of the file's encryption dictionary and reports a finding for each value that departs from ISO 23504-1, instead of accepting the file with a general not-fully-verified warning
  • THotPDF.GetLoadedSourceEncryption reports the encryption the file on disk actually used — whether it was encrypted, its revision, its key length in bits and its crypt-filter method — so a caller can still inspect it after the engine has decrypted the document in memory
  • The PDF/R-1 check now uses that captured state rather than IsEncrypted, which the engine clears once decryption finishes; previously an encrypted file could reach the raster rules with its clause 6.8 checks silently skipped
  • An encrypted PDF/R-1 file must declare a %PDF-2.0 header and use 256-bit AES, so a header below 2.0, a revision other than 5 or 6, a key shorter than 256 bits, or an algorithm other than AES-256 is each reported with its own stable code and clause reference
  • Revisions 5 and 6 are both accepted because they name the same 256-bit AES cipher, while RC4 and AES-128 files are rejected; an unencrypted file keeps the earlier 1.4 to 1.7 header rule and is never mistaken for an encrypted one

Version 2.1204.11

Added

  • HotPDF now reads PDF/E-1 conformance as well as the other profiles: HPDFValidatePDFE inspects a loaded document, or the one being built, and reports every departure from ISO 24517-1:2008 as a structured finding carrying a clause reference, an object number and a dictionary path
  • Identification follows the standard, which names a PDF/E-1 file through the pdfe:ISO_PDFEVersion property of its XMP packet rather than through the header or catalog version, so a missing or contradictory identification property is reported and a header version alone is never taken as a claim
  • The colour rules of clause 7 are checked: an ICCBased space that is not the declared output intent, a page that paints both a device and a named colour, a device colour with no output intent present, an RGB or CMYK rendering intent that contradicts the declared output condition, and a DeviceN space whose channel count disagrees with its attributes dictionary
  • Images, form XObjects and graphics states are held to their clauses, so an OPI, Interpolate or rendering-intent entry on an image, an alternate image outside an optional-content group, a Subtype2 or PostScript form, a transfer function on an extended graphics state, and an external stream reference are each reported where the standard forbids them
  • Fonts are checked for a permitted subtype, a CIDToGIDMap that is not Identity and a missing embedded font program, while annotations are checked for a permitted subtype, the flag and colour entries clause 9.3 requires, a text annotation that hides or locks itself, and a missing appearance
  • Interactive and 3D features are covered: an XFA form or a NeedAppearances flag, a JavaScript, ImportForm, SetState or NoOp action, an AlternatePresentations name tree, a permissions dictionary that grants usage rights, and a 3D stream that is not U3D or that carries a Resources entry
  • Signatures are held to clause 19, so a SigFlags value that does not lock the document, a missing ByteRange, and a signature reference whose TransformMethod is not DocMDP or whose TransformParams P is not 1 are each reported
  • Encryption is reported as a warning rather than a failure, because PDF/E-1 permits an encrypted file while the readable document graph does not expose every encryption parameter the standard ties to a conforming reader
  • The check is bounded by a configurable object count, decoded-byte budget, content-token budget, issue count and Form XObject nesting depth, and each finding is a dedicated record carrying a severity, a stable code, the ISO 24517-1 clause, a dictionary path, an object number and a message

Version 2.1204.10

Fixed

  • A loaded page whose unembedded font maps a character code to more than one Unicode scalar — a ligature such as the fi pair declared through a ToUnicode entry — now renders in the headless renderer instead of raising: the substitute face draws the whole decomposition, so the ligature appears as its constituent characters rather than aborting the page
  • A single-scalar mapping and plain unembedded text render exactly as before, and a longer decomposition draws at least as much as a shorter one; only the multi-scalar case that used to fail changes behaviour

Version 2.1204.9

Added

  • The PDF/VT check now reads the recurring graphical object hints of ISO 16612-2 clause 6.7 instead of ignoring them: every XObject carrying GTS_XID or GTS_Scope is resolved through the resource dictionary that names it, so the Do references it is judged on are the ones the file actually draws, including those reached through a Form XObject that draws another
  • A GTS_XID that is not a text string is reported, and one that is not a uuid-schemed URI is reported as a warning, because the clause recommends that form without requiring it
  • A GTS_Scope outside the six values the clause defines is reported, as is a Record scope in a file whose document part root declares no record level, and a Stream scope in a file that is not a PDF/VT-2s chunk
  • A SingleUse scope is now held to the definition of a reference the clause gives, so an XObject drawn twice is reported, while a File scope drawn only once is reported as a warning
  • The PDF/VT preflight report gains a PDFVTXObjectHints line and names the hint issue codes it found, and a file that carries no hint still passes because every one of them is optional

Version 2.1204.8

Fixed

  • A PDF/R-1 page carrying the PZ entry is no longer reported as a violation: the standard lists PZ, the TWAIN raster extension key, among the four optional page entries, and the validator had substituted PieceInfo for it
  • A page carrying PieceInfo is now reported instead: that is an ISO 32000-1 page entry the raster subset does not admit, and the validator used to accept it
  • The PDF/R-1 identification comment can now be checked: a new entry point reads the raw file or stream, finds the line immediately above the last startxref and returns the major and minor version from a %PDF-raster-x.y comment, distinguishing an absent comment, a comment that is not adjacent to startxref, and a malformed version token

Version 2.1204.7

Added

  • PDF/R-1 documents can now be written as well as checked: a page image is handed to the new writer as bitonal, 8-bit or 16-bit greyscale, or 8-bit or 16-bit RGB samples, and the result is a raster file that conforms to ISO 23504-1
  • Every colour model can be stored uncompressed, and a bitonal page can also take a caller-supplied CCITT Group 4 payload while an 8-bit greyscale or RGB page can take a caller-supplied JPEG payload, so a scanner that already compressed its strips does not have to decompress them first
  • The written file declares its conformance with the identification comment the standard places immediately before the cross-reference pointer, keeps every generation number at zero, and uses a classic cross-reference table with no object stream
  • Page geometry follows the pixel extent and the resolution you give the writer, so a 2480 by 3508 pixel A4 scan at 300 dpi gets the media box the standard expects for that page
  • A page can be split into horizontal strips of a chosen height, which keeps the strip names contiguous and their object numbers ascending in page order, so a reader that streams strips still sees them in the order the standard requires
  • Optional document information and XMP metadata are written together with the mapping the standard defines, so a document that names a creator, a producer or a date carries the same values in both places
  • Rotation and the header version are honoured per document, and an impossible request is refused where it is made: a compression that cannot carry the chosen colour model, a header outside the permitted four, or a payload shorter than the stated extent raises instead of writing a file a reviewer would reject

Version 2.1204.6

Changed

  • An icon-bearing pushbutton — one whose /MK carries an /I, /RI or /IX icon entry — is now drawn instead of declined: HotPDF paints its border and centres its /CA caption exactly as for a plain pushbutton, so a form built without /AP streams shows its icon buttons with their labels rather than failing to render
  • The icon image itself is still not rasterized, because the classic field generator this fallback mirrors has always drawn only the caption and never the icon; a text-field widget keeps the appearance it already generated

Version 2.1204.5

Changed

  • A list-box choice field with no embedded appearance is now drawn as well: HotPDF lays out a scrollable window of its options, one row per option and no border, so a form built without /AP streams shows every visible entry of its lists rather than a blank rectangle
  • The selected rows carry a highlight band behind them, an array /V selects each matching row, and the /TI scroll offset decides which option the window starts at, so a scrolled or multi-select list shows the rows a viewer would
  • Each row is the display text of its option, taken from the field's /Opt list and falling back to the export value when an option has no separate display text; the row font and size follow /DA exactly as a combo-box caption does

Version 2.1204.4

Changed

  • A combo-box choice field with no embedded appearance is now drawn as well: HotPDF centres a single caption of the selected option inside the field's rectangle, with no border and no dropdown arrow, so a form built without /AP streams shows the chosen entry of its drop-downs
  • The caption is the display text of the selected option, taken from the field's /Opt list matched against its /V value and falling back to the value itself when no option matches; an array /V draws its first element, and the caption's font and size follow /DA exactly as a pushbutton caption does

Version 2.1204.3

Changed

  • A pushbutton widget with no embedded appearance is now drawn too: HotPDF paints its border and centres the caption taken from the widget's /MK /CA text, so a form built without /AP streams shows its buttons with their labels instead of blank rectangles
  • The caption's font, size and colour follow the field's /DA default appearance string when it names a positive size, and otherwise fall back to a fitting size derived from the button's height, so a caption stays inside its button

Version 2.1204.2

Changed

  • When a rendered page carries a button widget with no embedded appearance, HotPDF now draws one instead of skipping the widget: a checkbox is drawn as a square border and a radio button as a circle border, both taken from the widget's border and background colours, so a form built without /AP streams still shows its toggle controls
  • An on state draws its mark inside that border — a stroked tick for a checkbox and a filled dot for a radio button — while the off state leaves the border empty, so a rendered page distinguishes a checked control from an unchecked one
  • The radio shape is chosen when the field's flags set the radio bit and the square otherwise, and the on or off state follows the widget's appearance state, falling back to its value when no appearance state is present

Version 2.1204.1

Changed

  • The HotPDF page renderer now applies the black-generation and undercolor-removal curves of a graphics state when it converts a painted colour to a separation plate, so a document carrying BG, BG2, UCR or UCR2 renders the cyan, magenta, yellow and black plates the way ISO 32000-1 10.3.4 defines instead of ignoring the curves
  • The conversion complements the additive primaries, takes the black key as their minimum, subtracts the undercolor-removal value of that key from the three colourant plates and takes the black plate from the black-generation value of the key, each clamped to the unit interval
  • The PDF 1.3 keys take precedence within one graphics state, so BG2 is read before BG and UCR2 before UCR, and the name Default resets a function to the one in effect at the start of the page
  • The curves are graphics state parameters, so q and Q save and restore them, and a function that cannot be evaluated or a name other than Default falls back to the page-start curve and is counted in LastRenderFallbackDroppedCount rather than aborting the page
  • With no curves installed the page-start default is now the identity pair, which reproduces the canonical conversion of the standard; this replaces the earlier heuristic that divided each colourant by one minus the key, so the cyan, magenta and yellow plates of a saturated colour shift to the values the standard defines while the black plate is unchanged

Version 2.1204.0

Added

  • HotPDF now writes PDF/VT-1 files, not just reads them: THotPDF.PDFVTCompliance set to 'VT-1' makes EndDoc emit the document part hierarchy and the identifying metadata that ISO 16612-2:2010 requires, so variable-data output reaches a PDF/VT consumer without a separate conversion step
  • The hierarchy is declared with three calls: SetPDFVTNodeNames names each level, AddPDFVTNode builds the tree from the root down and attaches the document part metadata of a node, and SetPDFVTNodePages gives a page range to a leaf, which is what a record-per-order or item-per-page job needs
  • THotPDF.PDFVTRecordLevel states which level of that tree holds one record, so a consumer can find the repeating unit without walking it
  • The page ranges are checked before anything is written: every page has to belong to exactly one leaf, the page tree has to stay in the order the leaves appear in, and the child arrays are grouped the way the standard's fixed-size inner arrays require
  • Document part metadata is validated at every depth it reaches, including the dictionaries nested inside it: each key has to be an XML name token once its escape sequences are expanded, two keys of one dictionary may not collide after that expansion, and the managed-colour and suspect-content entries have to be dictionaries
  • A declaration the standard cannot express raises at the point where it is made instead of producing a file a reader rejects: two roots, a node that is both a parent and a page range, a page claimed twice, a level left unnamed, or a key that is not an XML name token
  • PDF/VT-1 is defined as a PDF/X-4 file, so PDFXCompliance has to be 'X-4' with its output intent supplied before EndDoc, and the existing PDF/X gates then run as part of PDF/VT-1 conformance rather than beside it
  • The generated XMP packet carries the PDF/VT identification properties with the version token PDF/VT-1 and a modification date taken from the same value as the document's own, so the two cannot drift apart; a custom packet replaces the generated one and therefore has to carry that identity itself
  • Files written this way pass the existing ValidatePDFVT reader, and the reader is unchanged by the writer

Version 2.1203.25

Added

  • THotPDF.RegisterBlackGenerationState registers the black-generation and undercolor-removal curves of an extended graphics state and returns its resource name, so a prepress workflow can hand a document the functions that shape the DeviceRGB to DeviceCMYK conversion and apply them with SetGraphicsState
  • Each function goes to the PDF 1.3 key that takes precedence over the older one, and either BG2Default or UCR2Default writes the name Default instead, which resets that function to the one in effect at the start of the page
  • Asking for a function and its Default flag together raises, because the two meanings of the same key contradict each other, and a call with nothing to write raises as well
  • The document has to be at least PDF 1.3, which is raised for you unless StrictVersionLock is set; under that lock the call returns an empty string and writes nothing
  • PDF/A does not refuse it: ISO 19005-2 and ISO 19005-3 oblige a conforming reader to ignore BG, BG2, UCR and UCR2 rather than forbid writing them, unlike the transfer function and halftone origin entries that RegisterTransferFunctionState is rejected for

Version 2.1203.24

Changed

  • The timestamp callbacks are now documented as owing a token the time-stamping authority actually signed: HotPDF builds no timestamp token itself, because its token validator checks the envelope and the message imprint but neither the TSA signature nor a certificate chain, while verifying a loaded signature does check that token signature and reports a skipped token as not verified

Fixed

  • An all-zero SignaturePolicyHash is now written at the width the declared digest algorithm defines, so a 16-byte placeholder handed over beside a SHA-256 policy no longer produces a signature-policy-identifier attribute whose hash a verifier reads as malformed instead of as the unknown-hash representation
  • The resize covers every way an unknown policy hash can arrive — an empty hash, a placeholder of the wrong size, or one already at the right size — while a non-zero hash whose width does not match the algorithm is still rejected as before
  • Reading signatures is unchanged: a policy hash of all zeros is still reported as an unknown hash rather than rejected for its width, so third-party signatures keep verifying the way they did

Version 2.1203.23

Changed

  • Rendering a loaded page under the default rfpIgnore fallback policy no longer leaves a caller with nothing to read: every operator, resource or object the renderer had to work around is now counted in THotPDF.LastRenderFallbackDroppedCount, so a nonzero count says the page degraded and that switching to rfpReport would name each cause
  • The pixels are unchanged by that counting, the default policy stays the default, and the per-event detail still belongs to rfpReport; the count is reset by each render rather than accumulated across renders
  • The count is only conclusive for a page the current process rendered: an entry replayed from the on-disk page cache carries neither diagnostics nor a count, because that tier cannot retain them, while a memory cache hit in report mode still returns the set and the count it was rendered with

Version 2.1203.22

Changed

  • sfStylisticAlternates is documented as the salt stylistic-alternate substitution it already performs, rather than as a flag reserved for a future release

Fixed

  • Setting sfVerticalKerning in ShapingFeatures changes the output again: since v2.457.0 the flag was accepted and did nothing, so vertical text in a font carrying vkrn or vpal data silently lost the advance adjustment it asked for
  • The adjustment now reaches the page, closing or opening the gap between two stacked glyphs by the amount the font declares, for example 4.8 units of a 24pt run for a -200 pair
  • Because the adjustment changes the step between glyphs, a vertical run it affects is written as one show block per glyph, while a run it does not affect stays the single embedded run it was
  • Leaving the flag clear, using a font without vertical kerning data, or writing horizontal text produces the same bytes as before

Version 2.1203.21

Changed

  • Form fields created with AddTextField, AddCheckBox, AddRadioButton, AddPushButton, AddComboBox and AddListBox now carry a generated appearance by default, so a viewer that pays no attention to /NeedAppearances draws the stored value instead of an empty field
  • THotPDF.AutoFormAppearances now also decides who owns the rendering: writing it to true clears /NeedAppearances so the embedded appearances win, writing it to false returns to the earlier contract of no embedded appearance and a viewer that builds one
  • Leaving the property alone keeps /NeedAppearances true, so a viewer that regenerates appearances from each field's default appearance string still does exactly that, and either written setting produces the bytes it produced before
  • Flattening an XFA form is untouched by the new default: it keeps its own appearance engine and emits what it always emitted until the property is written
  • The generated appearances are extra content in the file, so a document that carries many form fields grows by that appearance stream for each of them

Version 2.1203.20

Added

  • A declined WebP source now names its own cause: TWebPRejectReason separates a lossy VP8 frame, an animation, a container that does not parse, a file that holds no lossless frame, a damaged bitstream, and a file that could not be opened at all
  • HPDFDecodeWebPLosslessEx, HPDFDecodeWebPToBitmapEx and HPDFDecodeWebPFileToBitmapEx report that reason beside the image, and HPDFWebPRejectReasonText renders any reason as a short phrase

Changed

  • THotPDF.AddImageFromFile now names that reason inside the message it raises for an unsupported .webp file, so a caller learns whether it handed over a lossy photo, an animation, or a file that is not a WebP stream at all

Version 2.1203.19

Added

  • PDF/R-1 conformance validation now inspects a loaded document or the document being built and reports every departure from ISO 23504-1 as a structured finding carrying a clause reference, an object number and a page index
  • The raster container rules are covered: one or more image strips named strip0 upward, a single contents stream limited to the placement operators, a direct page media box of the form [0 0 w h], and no inherited page attributes on page tree nodes
  • Strip encoding is checked against its declared colour space, so bit depth, permitted compression, CalGray gamma, CCITT group 4 parameters, and the black-is-one and decode entries are all verified
  • Document-level rules cover the permitted catalog and information dictionary entries, the allowed filter set, zero generation numbers, the absence of object streams, and the header version
  • Findings use the same report shape as the PDF/A, PDF/X and PDF/UA validators, so one report can mix profiles and serialize to JSON

Version 2.1203.18

Changed

  • A document with a configured record selector whose attached record provider returns an empty context now reports that in the runtime warnings when it is created, instead of surfacing only as a script instance failure during a later event

Version 2.1203.17

Changed

  • The presentation binding frame list that every form rebuild creates is taken from the retained-memory budget too, at each of the five places a rebuild starts one

Version 2.1203.16

Changed

  • The native FormCalc layout page-content query takes its result list and its duplicate-identity set from the retained-memory budget as well, so the same accounting covers that query instead of leaving it off the ledger

Version 2.1203.15

Changed

  • The native FormCalc remerge handler now takes its retained identity list and both of its identity maps from the retained-memory budget instead of plain containers, so a budgeted runtime accounts for that work instead of running it off the ledger
  • Behaviour is unchanged when no retained budget is configured, and the work list keeps supporting the integer and class values it already held

Version 2.1203.14

Fixed

  • A snapshot capture that runs out of its retained-memory budget now leaves the runtime exactly as the caller had it, instead of clearing the current host transaction and the retired widget list before the replacement is known to fit
  • The refused event still reports its failure and the same runtime accepts a retry with its content unaffected

Version 2.1203.13

Changed

  • Retained-funded layout predicate evaluation now reserves the parsed script tree it caches, which was kept for the runtime lifetime outside the retained-memory budget
  • The reservation grows one persistent lease held by the runtime and is released with it, while the entry-count and script value regimes are unchanged
  • Execution without a configured retained budget charges nothing and keeps its previous behaviour, and no operation charge is added anywhere

Version 2.1203.12

Changed

  • Retained-funded native choice mutations now reserve the document tree that their replay parses back out of the payload, so both halves of one mutation are metered instead of only the half that builds it
  • That reservation is a single scoped lease sized from the payload length and released once the parsed tree is freed
  • Execution without a configured retained budget charges nothing and keeps its previous behaviour, and no operation charge is added anywhere

Version 2.1203.11

Changed

  • Retained-funded native choice mutations now reserve the provisional document tree their payload builds before allocating it, instead of creating it outside the shared retained-memory budget
  • The reservation covers the node instances, the attribute and child lists each node owns, the root attribute entry, the root child array growth and the text child inserted for every non-empty value
  • String payloads stay shared by reference count except the operation attribute, and no operation charge is added, so script operation consumption, choice semantics and serializer output leases are unchanged
  • An insufficient retained-memory budget now refuses the mutation before the provisional tree exists and rolls the document back byte-exactly, while one byte more is accepted with the expected item count

Version 2.1203.10

Changed

  • Retained-funded native FormCalc reuses an already proven node ownership result while the binding generation is unchanged, instead of walking the same ownership chain again for every reference lookup, index rebuild, query refresh and node read
  • The measured event cost of a computed input reference whose predicate runs a 400-iteration accumulation loop drops by 750 operations, about 7 percent, which brings it inside a 10000-operation event allowance for the first time
  • Ownership proofs are keyed by node identity, compared against the document root they reached, charged on a hit, bounded by a fixed capacity and discarded on any mutation, remerge, rebuild or calculation-structure change
  • Doubled listener declarations still exhaust the shared allowance and roll back byte-exactly; no operation weight, resource limit, script semantic or public API changed

Version 2.1203.9

Changed

  • Retained-funded native event handlers can prepare only their listener context for eligible complete literal presence assignments in ordinary bounded models
  • The original FormCalc parser, evaluator, resource limits and typed mutation pipeline still execute the complete script, preserving syntax errors and transactional rollback
  • Callback-sensitive models and other scripts retain full preparation, while the compact context is checked after callback-capable admissions before its nodes are used

Version 2.1203.8

Changed

  • Retained-funded native FormCalc avoids copying unused ordinary Template attribute snapshots when preparing initial execution and event-reference matching
  • Native attribute reads and writes continue to use the current document, while namespace context, declaration information and model identities retain their existing preparation
  • Custom attribute tables, custom clocks, external operation consumers and later model refreshes preserve the complete snapshot path

Version 2.1203.7

Changed

  • Retained-funded native attribute queries avoid ancestry walks for ordinary nodes whose bounded attribute table cannot contain the requested attribute
  • Matching candidates retain full ownership checks, while custom clocks, external operation consumers, custom attribute tables and NodeList proof paths preserve their existing lookup order
  • The bounded availability classification uses the existing operation allowance; unrelated ownership-depth validation is deferred when its node cannot supply the queried attribute

Version 2.1203.6

Changed

  • Retained-funded native FormCalc can calculate eligible constant integer accumulation loops directly instead of repeatedly interpreting their body
  • Final local values, the loop counter after its last step and implicit results remain available to later statements and closures
  • Dynamic bounds and steps, reference writes, fractional or inexact arithmetic, control transfers and expression-depth failures retain the existing interpreter, while eligibility analysis participates in the operation allowance

Version 2.1203.5

Changed

  • Retained-funded native FormCalc execution and listener matching avoid building unused cached Data value and XML snapshots during initial environment preparation
  • Native Data reads and XML methods continue to use the current document, while binding identities, parent relationships and semantic classification retain their existing behavior
  • JavaScript provider, unfunded compatibility and refreshed execution contexts retain full payload snapshots; unused snapshot-specific serialization checks are deferred until the relevant producer is requested

Version 2.1203.4

Changed

  • XFA forms with no matching lifecycle events avoid repeated scope and effective-definition searches through a bounded phase-presence scan
  • Custom property and scope callbacks, record providers and complex binding references retain full lifecycle resolution
  • New and changed initialize or ready events remain visible after document edits, while scan work participates in the existing shared operation allowance and deadline

Version 2.1203.3

Fixed

  • Data value synchronization charges accepted-binding eligibility checks even when a field cannot use the identity filter
  • Eligibility and descriptor classification participate in the existing transaction operation limit and deadline before reading merge metadata
  • Accepted target selection and full-resolution fallback remain unchanged

Version 2.1203.2

Changed

  • Data value propagation avoids repeated target searches for unchanged accepted references whose current identities cannot refer to the written value or its parent
  • Changed binding descriptors, older saved generations, record providers, exclusion-group members and text-unit writes retain full binding resolution
  • Reference and choice-group synchronization retain their existing target semantics, with the new classification work charged to the shared operation allowance

Version 2.1203.1

Changed

  • Retained-funded native dispatch now reserves its own path slices, event fullText buffers, encoded value results and collection handle arrays before allocation
  • Native somExpression escaping and passive choice-state reconstruction build their output in measured buffers while preserving existing text, occurrence and operation-count behavior
  • Instance mutations and getElement property creation reserve their temporary identity maps, argument vectors and schema-default workspace before use
  • A refused event-text buffer follows exact document rollback and supports retry on the same runtime, including Unicode editing and existing property defaults

Version 2.1203.0

Added

  • Direct XFA SOM resolution accepts an optional synchronous workspace-reservation callback, with existing calls retaining their ordinary allocation behavior

Changed

  • Retained-funded native queries now reserve their own parser, filter, traversal, binding, identity-map, refresh-remapping and output storage before allocation
  • Query callback objects use explicit prepaid storage, and workspace reservations stay charged until returned targets finish being consumed
  • Escaped names, occurrence and property selectors, computed predicates and remerge preserve their existing results and operation charges, including rollback and retry on reservation refusal

Version 2.1202.0

Changed

  • Retained funding now covers native reference buffers, manager membership arrays, choice item and selection workspace, and Host-owned remerge and pageContent result storage
  • Temporary choice-selection arrays stay funded until their caller finishes consuming them, including item mutation and duplicate or empty export values
  • Native reference and attribute handles use prepaid output buffers, while legacy field layout arguments keep their lease through evaluation and cleanup
  • New temporary producers validate their input generation across admission callbacks and preserve transaction rollback and retry on allocation refusal

Version 2.1201.1

Changed

  • Retained memory limits now account for persistent native FormCalc query and predicate stacks, binding identity indexes and detached-node identity tables
  • Query-frame objects and their slot buffers stay charged until cleanup, including allocation failure and nested query exits
  • Data cloning and node creation reserve identity-table capacity before changing the document, preserving rollback and retry on admission refusal
  • Native queries protect active identity indexes and target generations against reentrant budget callbacks

Version 2.1201.0

Added

  • Retained-funded native FormCalc events now use owned script evaluation and action producers without enabling a JavaScript provider
  • Evaluate nonvisual Field and Data contexts through an explicit result-owner API that can keep returned text alive and funded after the runtime is destroyed

Changed

  • Calculated fields, validation, binding predicates, computed input references and legacy field layout queries share retained-funded execution while preserving transaction operation limits and deadlines
  • Current Data semantic properties, property attribute methods, NodeList mutation and batch page queries remain consistent across funded native execution
  • Existing standalone string results keep their ordinary caller-owned compatibility behavior, with independent copies at the export boundary

Version 2.1200.4

Fixed

  • Native FormCalc property getAttribute and setAttribute now use XML attributes even when their names match reserved members such as rawValue, className or length
  • Newly created value attributes and explicit empty overrides become visible immediately to subsequent value access, including supported detached and moved property nodes
  • Malformed property attribute names are rejected without changing the document, while ordinary text content and node member access retain their behavior

Version 2.1200.3

Fixed

  • Native FormCalc reads and writes attribute-backed property values, including color.value, through the same effective attributes used by rendering and JavaScript execution
  • Clearing an attribute-backed value preserves an explicit empty override instead of exposing the original authored value or schema default
  • Property value edits remain effective after supported detach and reattach operations, while content-only value and rawValue retain their text semantics and failed events restore the original document

Version 2.1200.2

Fixed

  • Decode hexadecimal and decimal XML character references correctly on Free Pascal, including supplementary Unicode characters and replacement characters for invalid scalar values
  • Preserve Unicode SVG text through caller-provided text builders without conversion through the system ANSI encoding
  • Produce identical measured Base 14 text for supported WinAnsi characters written as UTF-8 text or XML references, including accented Latin letters and the euro sign

Version 2.1200.1

Added

  • Write Data isNull, contentType and contains properties from native FormCalc events without a JavaScript provider, including both direct assignment and setAttribute
  • Synchronize null markup, qualified MIME annotations and eligible element-to-metadata conversions with bound fields and saved or reloaded XML
  • Apply semantic writes to every selected Data receiver while retaining existing resource limits and atomic event rollback

Fixed

  • Preserve ordinary assignments to Form fields sharing those property names, including repeated parents and absent-child isolation, while keeping explicit attribute setters unchanged

Version 2.1200.0

Added

  • Host event evaluation now takes an optional retained-memory family budget, and the evaluator hands it to the JavaScript session, the host transaction and the replay storage that the event creates, so a funded event is accounted against the same family your XFA session already reports
  • A host transaction can be created directly against a family budget, which charges the instance and its entry list before either is allocated and releases both when the transaction is freed
  • Focus state, layout and widget snapshots, input-source proof, resident recovery and recovery graphs each carry their own retained-memory charge, so restoring or rebuilding a form no longer allocates those structures outside the budget
  • A storage branch keeps an owner and a checkpoint root that are charged when they are created and released when the last reference to them is dropped
  • When a charge would exceed the family budget, admission is refused and the evaluator reports the failure through its diagnostic instead of publishing an action

Changed

  • A refused admitted call returns every reservation it took, so the family figure is back where it started and a retried event begins from the same budget
  • Existing default limits stay in force: the cumulative operation limit, the script deadline, the retained record limit and the configured memory bounds are unchanged by this release
  • Form output, warning text and field naming are unaffected, and a session that supplies no budget keeps the unmetered behaviour it had before

Version 2.1199.2

Fixed

  • The field-name and resolved-value caches a flattening pass keeps in memory are now charged against the retained-memory budget the batch reports, instead of growing outside it
  • Each growth of those caches is charged before the storage it needs is allocated, so a pass that would exceed the budget is refused rather than allowed to overshoot it
  • The attached-stream batch path hands its shared family budget to the flattening engine, and the rebuilt-from-bytes path, which inherits no family, carries a private batch budget of its own, so the same form is accounted on either route
  • Every charge is returned as the caches are cleared and when the flatten finishes, so a completed pass leaves the family budget where it started
  • Invalidating a layout that has no cache yet no longer creates one, so repeated passes stop reserving memory they never fill
  • A flattening run outside the record batch keeps its long-standing unmetered behaviour, so standalone and per-record output is unchanged
  • Every existing default stays in force: the cumulative operation limit, the script deadline, the retained record limit and the configured memory bounds are untouched
  • No form output, warning text or field naming rule changes in this release

Version 2.1199.1

Added

  • Add an admitted string map container, so caches that hold XFA names and field values are charged against the same retained-memory budget your XFA session already reports
  • Charge the container, each entry and each stored key or value as they are added, taking the space before the storage that needs it is allocated
  • Return every charge when the map is cleared or freed, so a long flattening pass leaves the family budget at the figure it started from
  • Keep every existing default in force: the configured memory limits and the current retained-state admission bounds are unchanged by this container
  • Introduce the container only; no current flatten, script or replay path routes through it yet, so no form output or warning text changes in this release

Version 2.1199.0

Added

  • Add an owned memory layer to the native FormCalc evaluator, so the expressions it parses and the values it produces are charged against the same admission budget your XFA session already reports
  • Charge each number, string, reference sequence and array the evaluator hands back, and release that charge when the last user of the value lets it go
  • Grow the evaluator's value lists and parsed-node storage on demand, charging each growth step before it happens instead of after
  • Account for the text the evaluator produces, including UTF-8 encoding and string concatenation, so a long conversion cannot pass unmeasured
  • Keep every existing default in force: the configured script limits, memory budget and stack budget are unchanged by this layer
  • Introduce the layer only; the current FormCalc evaluation path does not route through it yet, so no form, script, flatten or replay behavior changes in this release

Version 2.1198.1

Added

  • Evaluate a single field script without running the whole form: a standalone request prepares only the field context it needs over your own document, using the actual selected record and the real widget geometry
  • Keep that prepared context across several evaluations, sharing one operation pool and one absolute deadline that start from your configured script limits and are never reset in between
  • Report the refusals a standalone caller can meet — a field or data node that does not belong to the document, an exhausted operation pool, an expired deadline — as ordinary diagnostics instead of a quietly different result
  • Roll back exactly when a standalone evaluation fails, restoring the document bytes it touched so the same context can be retried
  • Prepare a context without replaying the form's initialize or ready events, so a standalone evaluation never re-runs form-wide startup work
  • Leave the existing behaviour unchanged: a caller without a prepared context, or with a script this context cannot host, keeps the current field script engine and its diagnostics

Version 2.1198.0

Added

  • Add the accounting foundation that XFA sessions, retention vectors and replay storage will use to hold their retained memory under one admitted budget
  • Charge the memory a retained XFA list, text or byte buffer keeps alive before the owner is created, and release that charge when the owner is destroyed, resized or cleared
  • Let a replay admission carry a separate file budget next to the heap it guards, so the bytes a replay keeps on disk are reported and limited on their own
  • Keep the existing defaults untouched: the current memory, stack, script-size, replay file and batch work limits still apply
  • Introduce this foundation only; no form, script, flatten or replay behavior changes in this release

Version 2.1197.4

Fixed

  • Resolve the JavaScript engine library correctly when the host process runs in a very long working directory, including relative locations that depend on that directory
  • Preserve the shared-library lookup behavior on Unix hosts, including the platform message that describes a failed load
  • Report a definite load failure with the system or provider message when the engine library cannot be loaded, instead of an empty message or a raised buffer overflow
  • Hold the failure message, the engine version text and the resolved library location under the same script memory budget as the rest of the bridge, so their cost is accounted while they are alive
  • Release that accounted memory when the bridge is destroyed or a load is retried, leaving no charge or reservation behind
  • Leave the existing default script memory, stack and script-size limits unchanged

Version 2.1197.3

Fixed

  • Charge the memory an XFA streamed batch keeps alive against the same budget the document's record branches share, before each owner is allocated
  • Refuse a batch whose retained state does not fit that budget instead of running it outside the accounting, and release every charge it took so the next batch starts from a clean budget
  • Cover the whole record path: the serialization clone, both checkpoint journals, each snapshot, the restored record and the layout engine are charged while they are held and released when the record ends
  • Leave the batch work limits unchanged at 100000 operations, a 500 ms deadline and 4096 records
  • Keep a refused batch silent: no field and no page callback is emitted before the refusal

Version 2.1197.2

Fixed

  • Keep the native cone gradient for COLRv1 radial Pad composites whose source transform scales, rotates, swaps axes or shears
  • Render those composites without the colour shift that previously appeared in MuPDF and Poppler readers
  • Preserve the authored cone coverage, backdrop and opacity instead of degrading to a function-based shading
  • Leave identity and translation-only source transforms unchanged

Version 2.1197.1

Fixed

  • Allow native FormCalc to update attributes on temporarily detached Form property nodes before reinserting them
  • Apply the same behavior to property descendants inside a detached subtree while preserving the original graph ownership and resource checks
  • Restore earlier detached edits when a later invalid operation aborts the event transaction

Version 2.1197.0

Added

  • Use live Data, Form and Template child lists in native FormCalc events without a script provider, including item lookup and typed append, insert and remove operations
  • Use independent query and cloned-list membership while preserving ordinary FormCalc value copying and snapshot iteration
  • Enumerate Data metadata and mixed-content text through the published child model, with consistent names, classes and sibling positions

Fixed

  • Keep actual parent references when moving or temporarily detaching native list nodes, including metadata, text and detached subtrees, with atomic rollback on invalid edits
  • Allow published Data text nodes to participate in typed structure actions while excluding comments, processing instructions and hidden content

Version 2.1196.6

Fixed

  • Restore Free Pascal 3.3.1 builds of the XFA calculation engine
  • Allow materialized-form calculations such as source * 2 to resolve sibling field values with Free Pascal
  • Apply the existing calculation-operation limit to that field-reference resolution, including refusal when the budget is exhausted

Version 2.1196.5

Fixed

  • Clean up detached XML subtrees when cloning fails while attaching a child
  • Apply the same cleanup to XML replacement and both root-handling modes of loadXML
  • Preserve the original attachment failure and parent visibility when a collection notification raises an exception after accepting a child

Version 2.1196.4

Added

  • Support native FormCalc clone on ordinary element-backed Data nodes with no script provider installed, returning a detached copy through the same typed data structure primitive the provider route uses, so namespace declarations, shallow-copy metadata handling, class annotation, shared budgets and transactional rollback all behave identically, with the deep copy as the default and an explicit flag for a receiver-only copy
  • Support native FormCalc createNode on the datasets model root for the dataGroup and dataValue classes, taking an optional name and namespace, honoring qualified prefix:local names, annotating the created element with its class and keeping the same shared budgets and exact rollback on every refusal
  • Keep a cloned or created detached node addressable for the rest of the evaluation that created it, while a removed node never becomes addressable again and the live packet keeps exactly the element occurrences it had before the call

Version 2.1196.3

Added

  • Support native FormCalc loadXML on ordinary element-backed Data nodes with no script provider installed, applying the parsed packet through the same typed data import the provider route uses, so namespace declarations, bound field refresh, existing references, shared budgets and transactional rollback all behave identically, and returning the receiver serialization after the import
  • Honor the provider-compatible ignoreRoot and overwrite flags on the native call, defaulting to importing only the children of the packet root and appending them to the receiver, while an explicit overwrite replaces the receiver children, migrates retired node identities and re-resolves widget data references
  • Refuse receivers that have no reusable import contract, being instance-manager handles, Form and property receivers, unnamed text nodes and metadata-backed representations, and report argument-count, malformed-input and budget failures as diagnostics

Fixed

  • Keep the live XML byte-exact whenever a native loadXML call is refused, fails to parse or exhausts a shared budget, so a rejected import never leaves a partially applied packet behind
  • Carry the released product version in the three Lazarus packages and in the Delphi and C++Builder project version resources, which the previous release left one version behind

Version 2.1196.2

Added

  • Support native FormCalc getAttribute on ordinary element-backed Data nodes for the documented node properties, returning the mapping-derived node name, the namespace URI, the data or metadata contains marker, and the null-state flag instead of empty strings, while reads of colliding raw XML attributes stay distinct from the semantic values
  • Support native FormCalc all, classAll, index and classIndex on Data nodes with the documented sibling semantics: name-keyed collections follow the authored name mapping and class-keyed collections follow the data value and data group classes, preserving order, lone-sibling, namespace and retired-reference behavior
  • Support the read-only native FormCalc somExpression property on ordinary named Form and Data nodes, returning an occurrence-qualified expression that selects the object again through xfa.form.resolveNode or xfa.datasets.resolveNode, with SOM escaping for names containing special characters

Version 2.1196.1

Added

  • Support native FormCalc saveXML on ordinary Form, property, Template and Data nodes without enabling a script provider, serializing the receiver subtree with the optional "pretty" indentation and keeping the live document untouched
  • Strip internal merge decoration from the serialized output and keep namespace declarations of the receiver packet intact, so the exported XML matches the authored document
  • Support native FormCalc isPropertySpecified(name, occurrence, parentSearch) on Form and property nodes, reporting whether a property element is actually authored on the node or inherited from an ancestor, while schema defaults and plain attributes stay reported as unspecified

Version 2.1196.0

Added

  • Continue qualifying XFA SOM queries through remerge for unbound repeated Form occurrences loaded from a saved document or accepted at import time, by recording accepted load-time allocation provenance that the continuation prover can verify
  • Re-issue the same accepted provenance after saving and reloading a Form, without serializing new state into the saved XDP and without treating occurrence names, positions or stored slot attributes as identity

Fixed

  • Keep refused remerge query continuations refusing with byte-exact rollback when an occurrence beyond the planned template set is removed by the rebuild, and keep data-bound imported repeats continuing through their data identity

Version 2.1195.0

Changed

  • Skip repeated XFA lifecycle event searches during a dispatch when no script ran, no remerge occurred and no widget rebuild happened since the previous search already found nothing, cutting the fixed per-event dispatch cost
  • Evaluate literal upto/downto loop bounds and steps once per loop instead of re-evaluating them on every iteration in native FormCalc
  • Filter value-synchronization walks by each field's static binding name before resolving its data node, so a widget write no longer pays full binding resolution for fields that cannot be affected

Version 2.1194.0

Fixed

  • Keep enter and exit events, explicit reference listeners and validation order working through xfa.form.remerge for fields bound with match="none", adopting the rebuilt node when no data binding carries identity
  • Restore the focused widget and its container stack after such a remerge instead of silently dropping the remaining exit events or reporting the transaction accepted with an empty dispatch
  • Re-resolve unbound event targets, input sources and declaring nodes across remerge by their unique form name path, with the pre-existing refusal kept whenever the rebuilt match is missing or ambiguous

Version 2.1193.0

Added

  • Support native FormCalc getElement(name, occurrence) on Form and property nodes without enabling a script provider, returning the occurrence-th existing child by class name
  • Create missing schema-legal property children through the same native action pipeline the provider uses, filling intermediate occurrences and applying the schema defaults of the created class, including contextual defaults
  • Reject occurrences beyond the schema cardinality and property-choice conflicts with specific diagnostics, return null for names outside the property schema, and keep every scan and creation inside the shared operation budget with byte-exact rollback on failure
  • Hand out actual live references for existing and created property nodes, so writes through one reference read back through another and retired references stay rejected across remerge

Version 2.1192.0

Added

  • Support native FormCalc Date, Time and ISO date/time conversion, including partial ISO dates, leap-day validation, timezone offsets, milliseconds and day-number round trips
  • Add locale-aware DateFmt, TimeFmt, Date2Num, Num2Date, Time2Num, Num2Time and Num2GMTime with default patterns and document locale data
  • Implement native numeric Format and Parse pictures with grouping, decimal symbols, currency codes and symbols, percentages, explicit signs, parentheses and credit notation
  • Implement native date, time and datetime pictures with month and weekday names, two-digit years, AM/PM, GMT offsets and fractional seconds
  • Support text and compound picture clauses with quoted literals, multiple date/time sections and validation that rejects incomplete or malformed input
  • Resolve named picture patterns and numeric, currency, date and time symbols from document localeSet definitions as well as standard locales
  • Add native UnitType, UnitValue, Encode and Decode for layout units, URL escapes and HTML/XML entities without enabling a script provider
  • Add native WordNum, Uuid and Str with English cardinal and currency text, both UUID shapes, width control and precision control
  • Add native Apr, IPmt and PPmt with bounded rate search, per-period interest and principal accounting, and existing null, error and operation-budget behavior

Version 2.1191.6

Fixed

  • Connect JavaScript xfa.layout.relayout() to the bounded lifecycle scheduler instead of treating it as a no-op
  • Add JavaScript xfa.layout.relayoutPageArea(), including explicit page-area requests that can publish additional pages after new content is inserted
  • Run a real ready round after an explicit request even when geometry is unchanged, and preserve request order before and after remerge
  • Validate the optional page as a nonnegative safe integer within the accepted layout, with invalid calls restoring the exact prior document
  • Retain completed layout snapshots and facade lifetimes without retaining an event activation, while coalescing repeated requests and honoring successive event requests
  • Keep explicit requests inside the existing reflow and transaction budgets, including exact rollback and a valid retry after refusal

Version 2.1191.5

Fixed

  • Honor explicit references on XFA enter and exit events during public focus changes, so a listener runs for its referenced target rather than against the node that declares it
  • Apply refOnly only to the actual focus target and refAndDescendents to its accepted ancestor scopes, including references across containers and to sibling fields
  • Run explicit focus listeners after the target's own event and before the next ancestor scope, keeping exit references ahead of parent validation
  • Allow an explicit focus listener to redirect through xfa.host.setFocus without disrupting the existing common-ancestor walk
  • Continue frozen reference declarations across remerge on bound accepted instances, resolving the adopted listener owner and event target for later handlers
  • Keep reference discovery and execution inside the shared focus transaction budget, with refusal restoring the document and focus state

Version 2.1191.4

Fixed

  • Expand FormCalc foreach collections when a JavaScript provider is enabled, so looping over a multi-node reference visits every member instead of treating the whole collection as a single item
  • Iterate an empty collection zero times rather than once, and preserve argument order and document order across mixed scalar, single-node and collection arguments
  • Bind each visited member as the actual node reference, so assignments and Ref comparisons inside the loop reach the field the loop variable names
  • Evaluate every foreach argument once before the loop and freeze the member list, so a body that writes through a member cannot change the set being iterated
  • Retain break, continue, return and nested loops across expanded members, and keep every expanded item charged to the shared operation budget
  • Report argument, array and item ceilings separately for foreach under MaxArrayItems, matching the distinct budget messages the provider-free evaluator already used

Version 2.1191.3

Fixed

  • Load Fontconfig and FriBidi dynamically on Unix instead of requiring Linux ELF shared-library names at link time, while retaining the existing Linux defaults and using the corresponding dylib defaults on macOS
  • Allow HOTPDF_FONTCONFIG_LIBRARY to select an explicit Fontconfig provider and honor HOTPDF_FRIBIDI_LIBRARY consistently across standard-font measurement, native canvas and annotation fonts, HTML bidirectional layout and complex shaping
  • Share thread-safe provider handles across those operations, keep native font matching and bidirectional results unchanged, and report missing libraries or required symbols instead of failing before the application can start

Version 2.1191.2

Fixed

  • Run native FormCalc initialization and ready events during flattening without requiring a JavaScript provider
  • Use accepted lifecycle values for field emission and layout, with record-specific initialization and bounded ready-driven changes
  • Resolve dependent calculations against actual current Form fields before falling back to similarly named data values
  • Treat an omitted event script content type as FormCalc while preserving existing calculate-only date and expression support

Version 2.1191.1

Added

  • Query physical page surfaces directly from native FormCalc with sheet and sheetCount, without a JavaScript provider
  • Include unnumbered pages and blank duplex surfaces independently of logical page numbering
  • Preserve completed query snapshots during instance changes, publish the new count for following events and retain exact rollback for invalid calls

Version 2.1191.0

Added

  • Request form and page-area relayout directly from native FormCalc without enabling a JavaScript provider
  • Preserve completed geometry queries and live references inside the current handler while publishing actual layout changes afterward

Fixed

  • Honor explicit layout-ready requests even when geometry is unchanged, including a new request made after nested remerge completes
  • Keep resumed ready work within the original reflow, operation, scan and deadline allowances without repeating requests already handled by nested lifecycle work
  • Restore pending and handled request state with the complete failed transaction, permitting a later valid event or initialization retry

Version 2.1190.0

Added

  • Query physical pages, logical numbering, object spans and parent-relative fragment geometry directly from native FormCalc without a JavaScript provider
  • Enumerate actual page-content references with type and master/body filters, retaining ordinary reads and writes through native foreach

Fixed

  • Expand native foreach collections one actual object at a time, preserving expression evaluation once, empty collections and loop-control results
  • Keep unbound widget event contexts independent from inherited parent data while retaining exact source ownership and transactional behavior
  • Resolve canonical datasets and data-root references into their actual Data model, including explicit node queries
  • Retain all pages occupied by unbound descendants in actual Form ancestor associations without changing layout placement or content ordering

Version 2.1189.0

Added

  • Evaluate extended FormCalc conditional page breaks without a JavaScript provider, including loops, functions and the default script language
  • Expose live read-only layout-ready state to native scripts, including retained layout references
  • Retain native references to existing simple Form and Template attributes, with actual child-node precedence and separate repeated owners

Fixed

  • Restart conditional layout after value, attribute or explicit remerge changes so pages and widget geometry reflect the result
  • Keep nested remerge within the existing operation pool and deadline, and preserve public-event rollback after a later layout failure
  • Preserve upward name lookup and descendant continuation when resolving attribute-like names, while rejecting retired owner references

Version 2.1188.3

Fixed

  • Compile the Free Pascal sources on Unix targets other than Linux, where the XFA platform clock previously pulled in a glibc-only unit and stopped the build before it started
  • Keep nanosecond monotonic timing on Linux while other Unix targets derive the same tick contract from the portable monotonic millisecond clock, so script deadlines and timeouts behave consistently across them and a backwards system clock step cannot leave a deadline that never expires
  • Let native archival sRGB profile generation honor HOTPDF_LCMS_LIBRARY before falling back to the platform default Little CMS name, the order the Cairo renderer already used, and name the library it attempted when loading fails
  • Correct the diagnostic that said EN 16931 business-rule checking requires Free Pascal on Windows, which contradicted the engine's availability on every Free Pascal target; only the PDF container half of that API stays Windows-bound

Version 2.1188.2

Fixed

  • Keep native FormCalc and JavaScript class queries within actual sibling collections instead of merging fields from nested unnamed containers
  • Use consistent actual-parent membership for classAll, classIndex and relative class indexes, so indexed writes reach the intended field
  • Preserve ordinary transparent name lookup and explicit descendant traversal while retaining unnamed Form structure through save and reload
  • Retain existing execution limits, removed-node checks and complete transaction rollback after later errors

Version 2.1188.1

Fixed

  • Query actual JavaScript child instances by class when their parent has the same class, instead of substituting the parent for its children
  • Preserve indexed and wildcard child selection and both FormCalc and JavaScript predicates in the correct repeated-row data context
  • Retain Form and Template root-self queries without turning a rejected child predicate into a root match
  • Keep saved row edits, fresh class queries after a Form rebuild and complete rollback on later errors

Version 2.1188.0

Fixed

  • Resolve leading native FormCalc class selectors against actual Form objects instead of mistaking them for Template XML IDs
  • Use indexed and wildcard fields, current property nodes and computed class predicates within the correct repeated-row data context
  • Search current child instances before matching a same-class parent, while retaining existing Form and Template root results
  • Preserve saved edits, fresh queries after a Form rebuild and complete rollback when a later operation fails

Version 2.1187.0

Added

  • Continue using saved or freshly queried native FormCalc instance managers after the last member of an accepted bound or unbound group is removed
  • Read current instance counts and occurrence limits, and resize groups through setInstances within the existing transaction and execution limits
  • Use the actual new Form object returned by an instance addition or insertion immediately, including edits and further sibling additions

Fixed

  • Retain the correct parent data group when a returned instance is used for another addition, without nesting the new record inside an existing row
  • Keep removed Form references and managers beneath removed or rebuilt parents invalid, with complete rollback on subsequent errors

Version 2.1186.1

Fixed

  • Build the Free Pascal and Lazarus packages at -O2, -O3 and -O4, where an optimized compilation previously stopped the whole package with a spurious wrong-parameter-count error inside the XFA scripting host
  • Restore Release build modes in Lazarus and any custom Free Pascal build that raises the optimization level, which previously had to fall back to -O1 to compile the library at all
  • Leave the unoptimized and -O1 Free Pascal builds, the Delphi and C++Builder packages and every XFA JavaScript event result unchanged, since only the compiler-level rejection is removed

Version 2.1186.0

Added

  • Use native FormCalc choice item methods and exact selected indices without enabling JavaScript or loading a script provider
  • Preserve duplicate and empty export selections, multi-select state and live list changes through save and reload
  • Access accepted field data and repeated-subform data groups through read-only data-node references, retaining unbound and recordless contexts
  • Keep surviving item aliases stable across list changes and restore the event transaction when a removed alias is used

Version 2.1185.0

Added

  • Evaluate qualifying FormCalc input references and ordinary event scripts without enabling JavaScript or loading a script provider
  • Use native variables, loops, user functions, aggregate queries, field updates and instance operations within existing transaction limits
  • Continue native nested queries and implicit candidate contexts through multiple Form rebuilds while keeping saved object references retired
  • Preserve typed-edit payload changes, recordless context, frozen listener membership and rollback across native predicates and handlers
  • Retain ordinary instance-manager aliases, empty-group insertion and current occurrence counts during native event mutations

Version 2.1184.0

Added

  • Continue qualifying XFA predicate queries through repeated unbound instances generated by the runtime, including nested repeats with a shared data context or no datasets
  • Preserve query continuation after an event rebuilds the Form, fails and rolls back, so a subsequent retry can still reach the correct generated instance

Fixed

  • Keep existing unique-instance recovery available after saving and reloading a Form, while preserving retired-handle behavior across rebuilding

Version 2.1183.0

Added

  • Continue qualifying XFA SOM queries and input-event reference predicates after rebuilding the Form DOM, including relative, absolute, descendant and repeated-data-instance queries
  • Resume JavaScript and FormCalc candidate contexts through uniquely proved rebuilt instances while preserving pending edits and the original event source
  • Keep retired user handles invalid and prevent cloned or removed nodes from silently substituting for query candidates

Changed

  • Reduce repeated metadata validation during Form rebuilding while retaining configured resource limits, namespace rules and invalid-input rejection

Version 2.1182.0

Added

  • Use JavaScript and FormCalc computed predicates in XFA click and change listener references through an enabled script provider
  • Evaluate each reference once in its candidate context while keeping the listener context, original event target and pending edit separate
  • Freeze listener references and scripts before predicate effects can change declarations or insert new listeners
  • Recover accepted input contexts after unrelated instance removal, sharing configured operation and deadline limits with handlers and restoring the transaction on failure

Version 2.1181.0

Added

  • Bind XFA click and pending-change listeners to other fields or containers through explicit SOM references, including relative, absolute, indexed, wildcard and parent paths
  • Keep each listener's own context separate from the original event target, including repeated instances, intentionally cross-row references and empty data scopes
  • Preserve evolving typed replacements, frozen listener membership and scripts across structural publication, owner retirement and proved form remerge
  • Share configured operation, deadline and value limits across reference discovery and handlers, retaining transactional recovery on failure

Version 2.1180.2

Fixed

  • Continue pending XFA input listeners after a structural edit removes an unrelated field while materializing the form
  • Preserve the original event source and its value when the first structural update occurs without a bound data context
  • Keep Template objects separate from live Form identities without relaxing source-retirement, ambiguity or rollback checks

Version 2.1180.1

Fixed

  • Keep eligible Pad hard-stop gradient composites inside their authored visible support, removing stray dark or colored pixels below the glyph
  • Preserve original repeated-stop colors and opacity, source geometry and once-only caller opacity in native vector output
  • Retain existing resource limits, cancellation recovery and ordinary gradient and periodic rendering behavior

Version 2.1180.0

Fixed

  • Preserve linear-light colors in qualifying common-axis Repeat and Reflect gradient composites, including source-atop, destination-atop, xor and plus graphs
  • Keep negative phases, shifted stop intervals, reversed spans and repeated-offset source stops aligned with their original periodic color and opacity
  • Retain authored palette and stop alpha, local clipping and once-only caller opacity in native vector output under the existing resource limits
  • Keep periodic colors inside their authored visible support, avoiding dark fringe pixels outside the glyph

Version 2.1179.0

Added

  • Generate native vector Code39 and Extended Code39 XFA field appearances through headless, fresh-authoring and loaded-document workflows
  • Preserve authored module widths, wide-to-narrow ratios, optional Mod43 checksum characters and original-value legends
  • Edit, save and reload barcode values through the existing widget runtime, then regenerate their actual barcode appearances
  • Expose bounded shared barcode runs and sizing helpers while preserving the existing Code128 encoder

Version 2.1178.8

Fixed

  • Improve near-boundary colors in eligible source-atop radial support cones by retaining a canonical normalized color-field extent
  • Preserve the original radial coverage, source colors and completed-glyph opacity while retaining the uncovered backdrop
  • Keep previously admitted concentric fields and existing native rendering resource limits

Version 2.1178.7

Fixed

  • Preserve eligible source-atop sweep colors when source opacity varies across angular intervals, including center seams and repeated-stop jumps
  • Retain transparent and opaque endpoints, internal opacity changes with matching first and last alpha, and opacity supplied by palette colors
  • Keep previously admitted native fields and transaction rollback while retaining the existing rendering resource limits

Version 2.1178.6

Fixed

  • Preserve linear-light colors in eligible source-atop sweep gradients that cross their center and positive-X angular seam
  • Retain stable color jumps at repeated sweep stop offsets, including reverse angle spans, reflected transforms and caller transparency
  • Keep previously admitted native output and transaction rollback without increasing the existing rendering resource limits

Version 2.1178.5

Fixed

  • Preserve eligible equal-angle destination-atop and xor gradients when source opacity differs between angular sectors
  • Retain the true overlap and source-only opacity together with linear-light color, including reflected gradients, caller transparency and coincident bounds
  • Keep existing fixed-opacity output and transaction rollback while fitting the new fields within the unchanged native rendering limits

Version 2.1178.4

Fixed

  • Preserve eligible equal-angle xor gradient colors and opacity across the complete source, including source-only regions outside the backdrop
  • Retain distinct overlap and source-only opacity for constant source and destination alpha, including reflected transforms, caller opacity and coincident source bounds
  • Keep previously admitted atop output and transaction rollback while retaining the existing native rendering resource limits

Version 2.1178.3

Fixed

  • Preserve eligible destination-atop equal-angle gradient colors across the complete source, including source-only regions outside the backdrop
  • Retain reflections, selected angles, repeated endpoint colors and caller opacity with constant source opacity
  • Handle coincident rectangles and partially shared boundaries without dropping coverage or adding empty fields
  • Reduce redundant calculator work to retain the original native resource limits, existing source-atop output and atomic resource updates

Version 2.1178.2

Fixed

  • Preserve eligible equal-angle source-atop colors under oblique, reflected and sheared gradient transforms without replacing the sector edge with a color ramp
  • Retain independent first and last source opacity, transparent and opaque endpoints, repeated endpoint offsets and caller opacity over the supported vertical backdrop
  • Keep qualifying output native and compact within the existing authoring and renderer limits while preserving previously admitted sweep fields
  • Keep publication cancellation and later shading-resource mutations atomic for the new field output

Version 2.1178.1

Fixed

  • Preserve first and last colors in eligible equal-angle Pad sweep composites with quarter-turn sector boundaries, reflections and axis exchange
  • Retain independent endpoint opacity, repeated endpoint stops, actual glyph holes and caller opacity through linear-light composition
  • Handle equal angles outside the sampled revolution as the appropriate constant endpoint color without changing existing regular sweep mesh output
  • Keep sector output native and cancellation-safe within existing resource limits; arbitrary oblique sector boundaries retain their separate compatibility scope

Version 2.1178.0

Added

  • Render eligible regular Pad sweep gradients inside extended composite glyphs through bounded native vector output
  • Preserve reverse and out-of-revolution angle spans, gradient-only affine transforms, glyph holes, linear-light colors and caller opacity
  • Expose selected sweep angle fractions before conversion to radians; dependent Pascal packages and C++Builder libraries and headers must be rebuilt for the expanded public paint record
  • Keep the existing authoring and native renderer resource limits; sweep centers, zero-angle seams and discontinuous sweep stop sequences retain their separate compatibility boundaries

Version 2.1177.2

Fixed

  • Preserve the uncovered backdrop in eligible source-atop radial Pad composites whose source covers only a cone-shaped region
  • Retain linear-light colors, constant authored source and destination opacity, opaque sources and caller opacity over colored backgrounds
  • Keep qualifying cone glyphs in native vector output within the existing authoring and renderer operation limits
  • Keep cancellation and later document edits atomic when new cone shading resources are registered or changed

Version 2.1177.1

Fixed

  • Keep eligible concentric Pad composite glyphs in the native vector path when the gradient center lies inside the glyph, avoiding the earlier fallback color errors
  • Concentrate subdivision in regions that need it so center neighborhoods can fit the existing authoring cell and work limits
  • Preserve authored opacity, local clips, glyph holes and caller opacity with certified color and alpha bounds across the adaptive output
  • Retain the previously admitted radial Pad profiles without increasing the existing resource limits

Version 2.1177.0

Added

  • Render bounded regular two-circle Pad gradients inside native COLRv1 extended composite graphs with certified color and opacity bounds
  • Preserve positive-radius root selection for concentric, nonconcentric, decreasing-radius, equal-radius strip and tangent linear-root configurations
  • Retain general gradient-only affine transforms, authored alpha, local rectangular clips, orthogonal glyph holes and caller opacity
  • Keep existing output paths for previously admitted solid and linear-gradient graphs without increasing authoring resource limits

Version 2.1176.0

Added

  • Render bounded COLRv1 composite graphs with oblique and skewed smooth Pad linear gradients through native vector output
  • Preserve the full three-point gradient projection and gradient-only affine transforms while retaining authored opacity, rectangular local clips and orthogonal glyph holes
  • Bound continuous color and opacity error across accepted regions, including conservative handling of regions crossing smooth color stops, within existing authoring limits
  • Keep the existing output paths for already admitted common-axis and mixed horizontal/vertical graphs

Version 2.1175.0

Added

  • Render bounded COLRv1 composite graphs containing both horizontal and vertical smooth Pad gradients through native vector output
  • Preserve linear-light composition, authored opacity, local rectangular clips and orthogonal glyph holes while evaluating each gradient in its own direction
  • Bound continuous color and alpha error across each two-dimensional region without increasing existing rendering or authoring limits
  • Retain the existing output path for already admitted same-axis graphs and apply caller opacity once to the completed glyph

Version 2.1174.20

Fixed

  • The Small Business XPath 1.0 evaluator (HPDFXPath1) now uses truncating division (Int(Left / Right)) in the mod operator so remainders keep the sign of the dividend (5 mod -2 = 1 and -5 mod 2 = -1) per XPath 1.0 §3.5, and preserves negative-zero divisor signs in div (1 div -0.0 = -Infinity)
  • substring() in HPDFXPath1 now admits negative start positions (such as substring("12345", -3, 5), substring("12345", -42, 1 div 0) and two-argument substring("12345", -1 div 0)) and handles opposite-sign infinite arguments (substring("12345", -1 div 0, 1 div 0)) per XPath 1.0 §4.2, while XPathIsNaN and XPathIsInfinite inspect IEEE 754 bit patterns directly so unmasked SSE2/FPU hosts such as Free Pascal never trap on NaN or ±Infinity
  • round(), number() and string() in HPDFXPath1 now avoid IEEE 754 double rounding on the predecessor of 0.5 and odd integers in [2^52, 2^53], preserve -0.0 for [-0.5, 0), format numbers with an invariant . decimal separator regardless of thread locale, and restrict *, prefix:* and QName node tests to the axis principal node type per XPath 1.0 §2.3

Version 2.1174.19

Fixed

  • The Small Business XML DOM parser (THPDFXmlDocument in HPDFXmlDom) now rejects numeric character references to disallowed XML 1.0 §2.2 C0 control characters (&#1;..&#8;, &#11;, &#12; and &#14;..&#31;) in both element text and attribute values while continuing to admit &#9;, &#10; and &#13;
  • THPDFXmlDocument now admits the standard xmlns:xml="http://www.w3.org/XML/1998/namespace" declaration per Namespaces in XML 1.0 §3 while rejecting bindings of any other prefix or the default namespace to http://www.w3.org/XML/1998/namespace, bindings of any prefix or default namespace to http://www.w3.org/2000/xmlns/, colons inside xmlns:prefix names and duplicate xmlns or xmlns:prefix declarations on the same element
  • HPDFXmlDecodeToUtf8 now rejects byte values >= $80 when an XML declaration explicitly specifies encoding="US-ASCII"

Version 2.1174.18

Fixed

  • Headless indirect crypt-filter materialization in THPDFHeadlessDocument now resolves indirect scalar entries, copies direct or indirect /Recipients byte-string arrays (up to 256 envelopes) inside /CF crypt-filter dictionaries for public-key encryption (/Adobe.PubSec and /Adobe.PPKLite), preserves string SkipEncryption flags, and releases temporary dictionaries safely if a trailing entry in /Encrypt fails validation
  • Headless page editing (AppendPageText), page import (AppendImportedPages), review highlighting (SaveReviewHighlightsToFile), signature field creation (AddSignatureField) and signature policy checks now treat explicit PDF null dictionary values on /Contents, /Annots, /Perms, /XFA, /Fields, /AcroForm and inherited page /MediaBox, /CropBox and /Rotate entries as absent per ISO 32000-1 §7.3.7
  • Repeated AppendPageText calls on a page that originally carried /Contents null and AddSignatureField calls on catalogs or pages with /AcroForm null or /Annots null now replace the null entries in place without inserting invalid null stream items or duplicate dictionary keys

Version 2.1174.17

Fixed

  • Enterprise batch signature validation JSON reporting (HPDFSignatureBatchResultToJSON) now escapes embedded double-quote characters (") as a single backslash plus quote (\") instead of a double backslash plus quote (\\"), preventing malformed RFC 8259 JSON payloads when certificate Distinguished Names (such as quoted X.500 CN="..." attributes), signer names, field names, trust-anchor subjects, revocation issues or error messages contain double quotes
  • HPDFSignatureBatchResultToJSON now also escapes ASCII form-feed characters (#12) as standard \f alongside \b, \t, \n, \r and \uXXXX control-character escapes so all serialized string properties round-trip cleanly through RFC 8259 JSON parsers
  • Verified RFC 8259 JSON parseability and round-trip string fidelity across quoted X.500 Distinguished Names, backslashes, form feeds and C0 control characters in HPDFSignatureBatchResultToJSON on both Delphi Win64 and Free Pascal 3.3.1 Win64

Version 2.1174.16

Fixed

  • Headless public-key encryption (/Filter /Adobe.PubSec and /Adobe.PPKLite) per-filter key recovery in THPDFHeadlessPubSecSecurity now inherits the top-level /EncryptMetadata flag when a /CF crypt-filter entry omits its own /EncryptMetadata key, appending the 4-byte $FFFFFFFF digest suffix per ISO 32000-1 §7.6.4.3 consistently with the document default key
  • THPDFHeadlessPubSecSecurity now resolves crypt-filter /Recipients and /EncryptMetadata across /StmF, /StrF and /EFF when /StmF is /Identity (such as string-only or embedded-file-only public-key encryption) instead of inspecting only /StmF
  • Non-boolean /EncryptMetadata entries and /Recipients arrays exceeding the 256-envelope policy inside /CF crypt-filter dictionaries are now deterministically rejected with EHPDFHeadlessSecurityError (hsMalformedDictionary)

Version 2.1174.15

Fixed

  • Headless choice-field appearance generation in THPDFHeadlessDocument.SetChoiceFieldValueWithAppearance and SetChoiceFieldValuesWithAppearance now treats /TI null and /Opt null entries as absent per ISO 32000-1 §7.3.7 instead of rejecting them with hdInvalidDocument
  • Headless XFDF choice-field import now recognizes /I null and /Opt null as empty selection-index and option-list states when evaluating whether an empty imported value clears or preserves an existing empty choice selection
  • Headless contract comparison in HPDFCompareHeadlessContracts now skips null /CropBox and /MediaBox entries when walking the page tree so a page with /CropBox null falls back to its effective /MediaBox and a page with /MediaBox null inherits its parent /Pages /MediaBox

Version 2.1174.14

Fixed

  • Unchanged rich-text appearance comparison in THPDFHeadlessDocument.SaveRichTextFieldUpdatesToFile and layout-requiring XHTML form imports now resolves text alignment (/Q) from separated widget dictionaries, inherited field /Parent dictionaries and catalog /AcroForm defaults per ISO 32000-1 §12.7.3.3 while treating /Q null as absent
  • Idempotent updates on read-only rich-text fields that inherit alignment from /AcroForm, inherit alignment through a child /Q null entry or override alignment on separated widgets now match their existing normal appearance stream (/AP /N) and return zero modified fields instead of falsely raising hdReadOnlyField
  • Non-integer or out-of-range /Q values encountered on a field, ancestor, /AcroForm or separated widget during rich-text appearance comparison now fail deterministically with hdInvalidDocument

Version 2.1174.13

Fixed

  • PDF/A-4 metadata normalization and repair in THotPDF.RepairPDFA4 now scans every <rdf:Description> block in multi-description XMP packets when stripping disallowed pdfaid:conformance attributes for Base PDF/A-4 (p4pBase), preventing residual pdfaid:conformance attributes on secondary description nodes from failing post-repair validation
  • Inserting missing <pdfaid:part>, <pdfaid:rev> or <pdfaid:conformance> elements in THotPDF.RepairPDFA4 now targets the <rdf:Description> node bound to xmlns:pdfaid and expands self-closing <rdf:Description .../> nodes before searching for a closing tag, avoiding unbound XML namespace prefixes or misplacing elements into sibling Dublin Core or XMP description blocks
  • Automatic PDF/A-4 profile detection (p4pAutomatic) in THotPDF.RepairPDFA4 now trims whitespace inside <pdfaid:conformance> elements and around attribute = signs and matches E and F case-insensitively

Version 2.1174.12

Fixed

  • THPDFHeadlessDocument.SetTextFieldValue and SetTextFieldValueWithAppearance now validate the full UTF-16 input string for unpaired high and low surrogates unconditionally rather than only when MaxLen is positive and the UTF-16 code-unit length exceeds MaxLen
  • Headless variable-text appearance generation in SetTextFieldValueWithAppearance now resolves text alignment (/Q) from separated widget dictionaries, inherited field /Parent dictionaries and catalog /AcroForm defaults per ISO 32000-1 §12.7.3.3 while treating /Q null as absent
  • Non-integer or non-numeric /Q entries on a widget, field, /Parent ancestor or /AcroForm dictionary now fail deterministically with hdInvalidDocument instead of falling back to the default sentinel and being silently ignored

Version 2.1174.11

Fixed

  • Headless tiling-pattern rendering in HPDFHeadlessCairoDevice now checks whether the current device-space clip extents or clamped pixel intersection are empty after validating the tiling pattern dictionary and stream, returning early before computing pattern-space tile indices or allocating temporary full-page pattern surfaces
  • Painting a tiling pattern with a small /XStep or /YStep or an offset /BBox inside a zero-area, disjoint or off-canvas clipping region no longer triggers a false Pattern cell index budget exceeded or Pattern tile count budget exceeded diagnostic or allocates redundant full-page color and alpha surfaces
  • Structural validation of /PatternType, /Matrix, pattern stream presence, /PaintType, /TilingType, /BBox, /XStep, /YStep and /Resources remains enforced before the empty-clip short-circuit so malformed tiling pattern definitions still fail deterministically

Version 2.1174.10

Fixed

  • PDF/A-4 validation in THotPDF.ValidatePDFA4 and generation preflight now scopes local /DefaultGray, /DefaultRGB and /DefaultCMYK color-space resources and /Group /CS transparency-group blending spaces to the content stream or group where they are defined instead of propagating *Covered flags upward into parent page graphics usage
  • A child Form XObject or annotation appearance stream that defines its own local /Default* color space or /Group /CS blending space no longer masks uncalibrated device colors or uncovered transparency painted on the parent page, and a parent stream's /Default* resource no longer covers a child Form XObject that declares its own /Resources dictionary omitting that default
  • Pushbutton widgets (/FT /Btn with /Ff bit 17 $10000, declared on the widget or inherited along /Parent) now accept a single normal appearance stream (/AP /N) per ISO 19005-4:2020 §6.3.3 and ISO 32000-1 §12.7.4.2.1 without raising pdfa4.widget.button_appearance, while checkbox and radio-button widgets continue to require a state dictionary

Version 2.1174.9

Fixed

  • Headless annotation rendering in HPDFHeadlessCairoDevice and annotation flattening and opt-in FreeText synthesis in AppendImportedPages now normalize reversed /Rect corner coordinates (x1 > x2 or y1 > y2) to lower-left and upper-right bounds per ISO 32000-1 §7.9.5 before checking for degenerate geometry or fitting the normal appearance stream
  • Annotations and form widgets with an explicit /AP /N appearance stream or synthesized FreeText appearance whose /Rect specifies diagonally opposite corners in reversed horizontal or vertical order now render and flatten identically to their normalized rectangle counterparts, while zero-width or zero-height rectangles continue to fail with a degenerate-geometry diagnostic
  • Multi-page imports in AppendImportedPages now track flattened annotations per imported page rather than testing the cumulative FlattenedAnnotations counter across all pages, avoiding redundant q/Q wrapper streams on subsequent pages whose annotations were all removed or hidden

Version 2.1174.8

Added

  • Headless missing-appearance text layout in HPDFHeadlessCairoDevice now resolves /DA font resource names through the annotation's own /DR/Font dictionary and, for text-field Widget annotations, across inherited ancestor /Parent /DR/Font dictionaries with cycle detection and depth-budget enforcement before falling back to Catalog /AcroForm /DR /Font and page /Resources /Font per ISO 32000-1 §12.7.3.3
  • Text-field Widget and FreeText annotations that bind standard or embedded OpenType fonts in a widget-local or field-level /DR/Font dictionary now synthesize the same appearance as an equivalent /AcroForm /DR /Font binding, while partial /DR/Font dictionaries continue falling back through ancestor and document defaults
  • Malformed non-dictionary /DR, /DR/Font and font resource entries on the annotation or its /Parent chain fail explicitly with a specific diagnostic, and annotations without /DR or /Parent incur zero additional operation charges

Version 2.1174.7

Changed

  • Headless rendering of function-based, axial and radial shadings (Types 1 through 3) in HPDFHeadlessCairoDevice now intersects the device-space clip box with the transformed shading /BBox when present and, for Type 1 function-based shadings, with the transformed two-input /Domain rectangle under the combined shading and function matrix before computing the pixel sampling window
  • Pixels outside the shading /BBox or Type 1 /Domain rectangle no longer evaluate color functions or consume shading raster operation budget, reducing the minimum operation budget by 57.9 percent on the shipped function-bbox-opacity fixture, by 24.7 percent on axial-ctm-bbox, by 10.6 percent on function-physical-domain, and by 49.6 to 99.9 percent on 512 by 512 sub-page Type 1–3 shadings
  • Disjoint clip and /BBox or /Domain bounds exit before surface allocation in normal non-knockout painting, and all 74 shipped shading fixtures render byte-identically

Version 2.1174.6

Changed

  • Headless rendering of Gouraud triangle meshes and Coons or tensor-product patch meshes (Types 4 through 7) in HPDFHeadlessCairoDevice now intersects the mesh visible box with the shading /BBox in target coordinates before mapping to device space, and clamps each triangle's pixel scan window to that visible box when it is active
  • Shadings bounded by a /BBox without an outer page clip, triangles that straddle the active clip or /BBox boundary, and shadings whose /BBox is disjoint from the active clip no longer scan or charge operation budget for pixel rows and columns outside the visible box, reducing the minimum operation budget by 56.4 to 57.1 percent on the shipped mesh4-bbox, patch6-bbox and patch7-bbox fixtures and by 99.0 to 99.99 percent on 2048 by 2048 clipped or /BBox-bounded triangle meshes
  • Unclipped shadings without a sub-page /BBox keep HasVisibleBox disabled with unchanged operation counts, and all 84 shipped mesh and patch fixtures render byte-identically

Version 2.1174.5

Added

  • Headless missing-appearance fallback for text-field Widget annotations in HPDFRenderHeadlessPagePNG now resolves inherited field entries across split widget and parent field dictionaries along /Parent with cycle detection and depth-budget enforcement, and falls back to the catalog /AcroForm dictionary for /DA and /Q per ISO 32000-1 §12.7.3.1 and §12.7.3.3
  • Split terminal widget annotations whose /FT /Tx, /V, /DA or /Q live on an ancestor /Parent field or whose default appearance and quadding live on /AcroForm now synthesize the same text appearance as an equivalent merged widget, while self-contained widgets keep their exact operation, glyph and appearance counts
  • Explicit refusals for non-Tx field types, multiline, password, file-select, DoNotScroll, comb and rich text field flags (/Ff), /MaxLen and /RV now apply when those attributes are inherited from an ancestor /Parent field dictionary as well as when they are present on the widget itself

Version 2.1174.4

Fixed

  • Opt-in supplied-font missing FreeText synthesis in AppendImportedPages now counts decoded Unicode scalars against MaxGlyphs after a conservative 2 * MaxGlyphs UTF-16 code-unit pre-check instead of comparing raw UTF-16 code-unit length directly against MaxGlyphs
  • Supplementary-plane characters encoded as UTF-16 surrogate pairs now consume one glyph budget unit in the page-import admission loop, matching the underlying text-appearance generator so a tight MaxGlyphs budget admits strings containing supplementary scalars up to the exact scalar limit
  • Strings whose decoded scalar count exceeds MaxGlyphs continue to fail with hdLimitExceeded, while unpaired surrogates, C0 and C1 control characters other than CR and LF, and Unicode noncharacters keep their existing diagnostics

Version 2.1174.3

Changed

  • Headless rendering of a Coons or tensor-product patch mesh shading (Types 6 and 7) now skips any patch whose bicubic control-point hull falls entirely outside the current clipping path before running the sampling exclusion check, checking the subdivision operation budget, reserving strip memory, evaluating the bicubic grid or emitting subdivided triangles
  • A curved 8 by 8 patch grid at 2048 by 2048 clipped to one percent of the page drops from 810035 operation charges to 27646 for Coons patches and from 810291 to 27902 for tensor-product patches, a 96.6 percent reduction, so both shadings render inside the default 500000 operation budget instead of failing with a patch subdivision operation budget error
  • Unclipped patch meshes keep their exact previous operation counts because the visible box is disabled when it already covers the page, and all 49 shipped patch fixtures render byte-identically

Version 2.1174.2

Changed

  • Headless rendering of a mesh shading now skips the triangles that fall entirely outside the current clipping path, instead of rasterizing the whole shading into its own page-sized surface and letting the clip discard the result when that surface is painted back
  • A mesh clipped to one percent of the page needs about 2.5 percent of the operation budget it needed before, 12715 charges against 528211, and renders about 43 percent faster, so a clipped full-page lattice mesh at 2048 by 2048 that the previous release refused under the default budget now renders
  • An unclipped mesh is untouched, because the visible box is dropped when it already covers the page, so neither its budget nor its rendering time changes, and every shipped mesh fixture renders byte-identically to before

Version 2.1174.1

Changed

  • Headless rendering of a mesh shading now scans only the part of each large triangle's row that can hold a covered pixel, which halves the operation budget such a mesh consumes, so a shading that previously stopped with a mesh operation budget error can finish inside the same budget
  • A full-page lattice mesh at 2048 by 2048 that the previous release refused under the default budget now renders, and every shipped mesh fixture renders byte-identically to before
  • Rasterizing a shading built from large triangles is 5 to 9 percent faster, while a shading built from small triangles keeps both its previous speed and its previous budget, because a small bounding box saves fewer weight evaluations than the per-row span costs

Version 2.1174.0

Removed

  • The Arabic, Swedish, Danish, Czech and European Portuguese documentations are retired, together with their demo readme translations, so the documentation set ships sixteen languages
  • The installer's multilingual content page no longer offers those five languages
  • Operating systems set to a retired language now land on the nearest kept substitute: Portuguese variants on Brazilian Portuguese, Czech on Polish, and Arabic, Danish and Swedish on British English

Version 2.1173.2

Added

  • The e-invoice rule engine's XPath evaluator supports the namespace axis, so an expression can select the namespace declarations in scope on an element, including the implicitly bound xml prefix, while the default namespace stays off the axis and a prefix written with an empty URI counts as undeclared
  • Node sets that mix attributes and namespace declarations now come back in a deterministic order, which keeps a validation run reproducible across compilers and platforms when a rule compares or counts such a mixed set

Fixed

  • On Delphi the rule engine's XPath string functions count characters instead of storage units, so a character outside the Basic Multilingual Plane occupies one position in string-length, substring and translate and is matched whole by contains, which is what Free Pascal already reported for the same invoice

Version 2.1173.1

Added

  • The optional Saxon bridge now starts the configured Java runtime on Unix as well as on Windows, so a Free Pascal host on Linux can execute the unmodified official compiled XRechnung and French CTC stylesheets and read back their SVRL findings
  • The Unix path keeps every guarantee of the Windows one: no shell, argument passing without quoting hazards, child output captured into the diagnostic file, the configured timeout enforced by killing and reaping the child, the same 8 MiB diagnostic and 64 MiB report limits, and the same temporary-file cleanup
  • A Linux acceptance gate exercises that transport against stand-in executables, so it needs neither a Java runtime nor a Saxon distribution, and it covers a runtime that cannot start, a non-zero exit, a timeout, a wrong report root and the invoice payloads the preflight refuses

Changed

  • HPDFCreateSaxonSchematronEngine returns the real bridge on every Free Pascal target and falls back to the built-in engine only where no child-process transport exists, which is a Delphi build for a platform other than Windows

Version 2.1173.0

Changed

  • The Small Business e-invoice business-rule engine no longer depends on the Windows XML component: it reads Schematron rule files, external code databases and invoice XML through the library's own cross-platform XML reader and evaluates the reviewed XPath surface with its own XPath 1.0 evaluator
  • Free Pascal now evaluates all 618 EN 16931 rules on Linux and on every other Free Pascal target with the same results as Delphi, where those builds previously reported the engine as unavailable
  • Rule and invoice parsing is strict and fails closed: a mismatched end tag, a duplicate attribute, an undeclared namespace prefix, an unknown entity reference, an unsupported declared encoding or invalid UTF-8 is reported with a reason, line and column instead of being quietly accepted
  • The secure posture is unchanged and no longer depends on host configuration: a DTD is refused, external entities are never resolved, and the 64 MiB invoice limit still applies
  • Numeric rules keep their previous verdicts, and division or modulo by zero now yields the XPath infinities and NaN without trapping a host that unmasks floating-point exceptions

Added

  • Free Pascal builds without the Windows PDF component can still validate invoice XML directly through HPDFValidateEInvoiceXML, the rule registry and the engine factory; the container entry points HPDFValidateEInvoice and HPDFValidateEInvoiceWithRegistry, and the ContainerReport and ContainerValid fields, are compiled wherever the PDF component itself is
  • A native Linux acceptance gate runs the rule engine over the shipped Factur-X rule sets, code databases and invoice fixtures with Free Pascal 3.3.1, and the same gate runs on Windows

Removed

  • The generated MSXML import unit shipped with the Small Business edition is gone, and with it the last COM dependency of the rule engine

Version 2.1172.1

Fixed

  • The library compiles again with the 32-bit Delphi compiler; building for Win32 failed inside the radial mesh emitter with an incompatible-types error, while 64-bit builds were unaffected
  • The cause was an unqualified call that resolved to an unrelated internal helper returning a floating-point value rather than to the intended integer floor function, so the two call sites are now qualified explicitly
  • No behaviour changes on any target: both compilers produce the same mesh output as before, and the affected arithmetic was already integral

Version 2.1172.0

Added

  • Archival conversion that preserves text and vectors can now be given a font program to draw with when it generates a missing annotation or field appearance, through two new options, SynthesisFontAlias and SynthesisFontBytes
  • A document whose appearance text asks for a font the document does not define can now be converted instead of refused, because the supplied program is embedded rather than a standard-font substitute that PDF/A-4 rejects
  • The conversion report counts the fonts bound this way in SuppliedSynthesisFonts
  • Supply is refused with a diagnostic naming the reason when only one of the two options is given, when the bytes are not a TrueType program, when the program forbids embedding, when the requested name is already taken in the form default resources, or when the document has no form to bind into; nothing is published in those cases and an existing default resource is never overridden

Version 2.1171.1

Fixed

  • Headless rendering of a page whose text form field carries no appearance of its own no longer fails the whole page; the field is now drawn where the renderer previously reported that no missing-appearance fallback exists for widget annotations
  • A field value written as a hexadecimal string is decoded before layout, so UTF-16 text stored that way draws its characters instead of its hex digits

Added

  • Missing-appearance fallback now covers single-line text fields, taking the text from the field value and its font, size, colour and alignment from the field's own default appearance and quadding, laid out inside the field rectangle
  • Text fields outside that profile keep an explicit diagnostic naming the reason rather than a silent approximation: button, choice and signature fields, multiline, password, file-select, non-scrolling, comb and rich text fields, and fields carrying a rich text value or a maximum length

Version 2.1171.0

Added

  • Small Business edition: the EN 16931 e-invoice business-rule engine behind HPDFValidateEInvoice, HPDFValidateEInvoiceXML and HPDFCreateSchematronEngine now runs with Free Pascal / Lazarus on Windows, where it previously reported an unavailable engine
  • The Saxon bridge from HPDFCreateSaxonSchematronEngine is available on the same Free Pascal Windows targets
  • Free Pascal on other platforms keeps the unavailable-engine diagnostic

Fixed

  • Engines returned by HPDFCreateSchematronEngine run with floating-point exceptions masked, so numeric rules such as BR-CO-13 no longer fail with an evaluation error in host applications that unmask those exceptions

Version 2.1170.0

Changed

  • Opt-in supplied-font synthesis of a missing FreeText appearance during page import now accepts Unicode contents, so accented Latin, Greek, Cyrillic and other scalars the supplied font maps are drawn instead of rejected
  • The supplied font still decides coverage, and a scalar it cannot map is rejected with that scalar named in the diagnostic
  • Malformed input stays rejected: unpaired UTF-16 surrogates, control characters and noncharacters
  • Complex-script layout stays outside this profile, so bidi reordering, combining marks and cursive joining are rejected rather than shaped
  • These rejections remain page-import diagnostics rather than surfacing as text-appearance errors
  • Native Linux JSON/C ABI capability discovery now advertises the profile as supplied-font-unicode-v2
  • Existing plain-ASCII synthesis and annotations that already carry an appearance produce byte-identical output

Version 2.1169.5

Fixed

  • Construct XFA layout when two owners on one page reference the same positioned leader or bookend target, through either bookend or breakBefore
  • Assign each generated child to its enclosing parent segment by requiring the complete child event interval to fit inside the candidate parent interval, so a preceding segment that only shares a region boundary event is no longer admitted alongside it
  • Keep every generated copy separately identifiable, so an ancestor listener sees the copy that was actually clicked together with that copy's owner
  • Keep the ordinary copy of a shared target distinct from generated presentation copies while recovering an input source and binding an event target
  • Retain source family, source scope, physical page and content area qualification, and still reject genuinely ambiguous parent candidates rather than selecting one

Version 2.1169.4

Fixed

  • Dispatch generated XFA input events through proved raw Template ancestors beneath named containers without datasets
  • Accept shorter ancestor presentation paths only when the actual placement owner and accepted layout ancestry prove their data context
  • Retain explicit nil scopes, distinct physical-page contexts and existing Form-model behavior
  • Keep missing or conflicting context proofs rejected, with shared event limits and complete rollback on failure

Version 2.1169.3

Fixed

  • Continue visible and hidden generated XFA input sources after form remerge when the accepted source, placement and data context remain uniquely provable
  • Resume following ancestor listeners through consecutive remerges and qualified streaming record-window barriers
  • Keep a source explicitly removed before a barrier retired instead of reviving a replacement from the Template
  • Preserve shared event limits and restore document, values, host state and stream position when continuation fails

Version 2.1169.2

Fixed

  • Continue ancestor event propagation from an accepted generated XFA presentation source after it becomes hidden
  • Retain the original event target, presentation ancestor and accepted data identity without redirecting the operation to another visible copy
  • Resolve listeners through their corresponding accepted presentation context across ordinary handler publication
  • Restore the transaction when a source, target or placement owner is removed, or a propagated handler fails

Version 2.1169.1

Fixed

  • Continue an active XFA text change through form remerge when the original input and accepted editing context survive
  • Retain transformed text and UTF-16 selection across multiple local and ancestor listeners in ordinary and repeated instances
  • Restore editing before nested lifecycle processing so explicit cancellation and focus decisions remain effective
  • Preserve atomic recovery when the source is removed, its accepted context is ambiguous or a conflicting interaction invalidates the edit

Version 2.1169.0

Fixed

  • Dispatch XFA input events to matching ancestor listeners using the descendant listening mode and a default or container reference
  • Allow an ancestor change listener to transform pending text before the edit buffer and committed field value are updated
  • Keep the listener's script context separate from the original event target across accepted instance contexts and form rebuilds
  • Share event limits and roll back the complete input operation when a propagated handler fails

Version 2.1168.1

Fixed

  • Preserve abrupt color and alpha transitions in eligible common-axis Pad COLRv1 composite gradients with repeated stop offsets
  • Retain repeated endpoint colors and fully coincident Pad stops without interpolating across a real jump
  • Keep source direction under reverse-axis and axis-exchange transforms, with unchanged rendering budgets and atomic cancellation recovery

Version 2.1168.0

Fixed

  • Preserve default linear-light colors in eligible COLRv1 composites containing continuous common-axis Pad linear gradients
  • Assemble the complete native RGB surface before applying final opacity, avoiding triangle subdivision seams in readers
  • Retain authored alpha, transparent endpoints, orthogonal contours, local clip boundaries and caller opacity without a raster callback
  • Keep existing rendering budgets and atomic cancellation recovery while bounding continuous color error and native output resources

Version 2.1167.0

Fixed

  • Preserve default linear-light colors in eligible solid COLRv1 source-atop, destination-atop, xor and plus graphs without repeated reader mask arithmetic
  • Retain layered and nested composition, authored opacity and caller transparency in native vector output
  • Honor real orthogonal glyph contours, holes, local clip boxes and supported axis-preserving transforms instead of replacing outlines with bounding boxes
  • Bound preparation work and publish completed glyph resources atomically, with existing native paths retained for other geometry and gradients

Version 2.1166.0

Added

  • Run XFA subform and exclusion-group focus events when focus crosses their boundaries, preserving shared ancestors and the correct inward and outward event order
  • Resolve parent handlers in their accepted repeated-instance contexts and honor script-requested focus changes during the transaction
  • Apply parent validation and restore document, values, editing buffer and focus together when a focus transaction fails

Version 2.1165.0

Added

  • Generate Code128 XFA fields carrying non-ASCII UTF-8, Latin1 and UTF-16 bytes through FNC4, while preserving the original Unicode field value and legend
  • Select explicit character encodings with strict validation instead of system code-page substitution, including supplementary characters and defined byte-order marks
  • Preserve existing ASCII barcode patterns and apply byte expansion, cancellation and output limits before publication

Version 2.1164.0

Added

  • Create vector Code128 XFA field appearances in headless and component PDF workflows, with real checksum patterns and optional font-backed legends
  • Edit Code128 field values through the XFA widget runtime and regenerate their committed barcode appearances after saved XDP reload
  • Preserve module widths for longer payloads by extending visual barcode bounds while retaining following field layout positions
  • Apply existing generation budgets, cancellation and transactional output rules to barcode preparation and detached appearance adoption

Version 2.1163.0

Added

  • Render qualifying thin transformed repeating and reflecting radial color glyphs natively, including fields that cross their coverage boundary
  • Preserve authored clipping, dense source periods, palette colors and independently varying opacity without a glyph raster callback
  • Bound generation memory and work, propagate cancellation, and retain clean fallback or retry when a native glyph cannot be completed

Fixed

  • Preserve native glyph resources when later inserting images on the same page
  • Refresh borrowed page resources after document graph rollback so subsequent drawing uses the restored dictionaries

Version 2.1162.3

Fixed

  • Render supported repeated axial gradients and thin tensor patches within the existing default operation budget by avoiding certified empty sampling work
  • Preserve visible pixels, clipping, transparency and malformed shading diagnostics while retaining conservative fallbacks for uncertain bounds
  • Reuse successful initial color-function validation within one unchanged-document render without caching pixel colors or decoding future content

Version 2.1162.2

Fixed

  • Prevent negative Form invocation totals after extensive certified empty-work reuse
  • Keep exact representable totals through transparency and pattern replay without changing the public result layout
  • Report a render error before publishing output when a final Form total exceeds the public result field capacity

Version 2.1162.1

Fixed

  • Avoid default operation-budget failures caused by repeatedly drawing off-page triangle-mesh Form content
  • Reuse decoded mesh and Form sources within one unchanged-document render without decoding future branches early
  • Preserve visible pixels, logical Form counts, cancellation and malformed-content diagnostics when skipping certified empty work

Version 2.1162.0

Added

  • Native repeating and reflecting radial color glyphs can use a certified mesh representation for supported high-magnification affine fields
  • The bounded representation preserves source color interpolation, varying opacity, negative periods and authored clipping without a raster callback

Fixed

  • Supported deep-transform radial fields retain visible color detail in PDF readers without excessive function sampling
  • Headless mesh rendering avoids certified empty scan regions so the retained dense radial field renders within the existing default operation budget
  • Uncertified geometry and resource-heavy fields retain their established fallback behavior and numerical limits

Version 2.1161.1

Fixed

  • Prevent blank repeating and reflecting radial color glyphs when a large affine translation loses the visible child field in a PDF reader
  • Preserve color precision near internal gradient stops in isolated single-field radial glyphs while retaining linear source interpolation and independent opacity
  • Keep authored glyph clipping and existing numerical limits when selecting the validated root-coordinate rendering path

Version 2.1161.0

Added

  • Interactive XFA typing and paste operations run the edited field's change script before accepting text
  • Change handlers can filter replacement characters and adjust the UTF-16 selection, with previous text and immediately computed new text available to scripts
  • JavaScript and enabled compiled FormCalc share the same edit context through response replay and dynamic evaluation

Fixed

  • Filtered or suppressed characters now reach the editing buffer, normal validation and native save/reload instead of bypassing the change handler
  • Failed change scripts, invalid Unicode boundaries, resource exhaustion and retired input identities restore the previous edit and document state

Version 2.1160.1

Fixed

  • Native XFA collection paths reject parents constrained by a DataValue ancestor even when their own stored text is empty
  • The constraint applies when resolving an existing parent as well as when creating missing path elements, with rejected creation preserving the original XML
  • Ordinary empty parents below valid groups remain eligible for child-group creation

Version 2.1160.0

Added

  • Native XFA fields can bind to unnamed mixed-content character values and persist interactive edits or script value assignments
  • Character edits synchronize bound aliases and enclosing aggregate fields while preserving sibling content, CDATA, comments and processing instructions
  • Cleared character values retain their position and the owner's value class through XML saving and reopening

Fixed

  • Direct writes to character values created by Data XML append or overwrite reach the native document and remain available to later events
  • Adjacent ordinary text at an append boundary retains one shared character target, preventing subsequent writes from changing a preceding value
  • Rejected character and aggregate values preserve the previous script state, native transaction rollback and existing resource limits

Version 2.1159.3

Fixed

  • Native XFA class selectors use the same semantic DataValue and DataGroup classification as the Data DOM and script model
  • Mixed character content, opaque rich values and owners whose only element children are excluded from the Data DOM no longer match the wrong group class
  • Nested values honor their DataValue ancestor, including when a conflicting dataGroup directive is present

Version 2.1159.2

Fixed

  • Appending XFA Data XML preserves named elements and unnamed character values without replacing one with another
  • Mixed content keeps its document order, comments, processing instructions and CDATA through nested imports and serialization
  • Retained character values refresh when appended text combines, while overwrite retires previous child handles
  • Imported named elements remain correctly addressable when character values share their parent

Version 2.1159.1

Fixed

  • XFA Data SOM class, wildcard and descendant queries include unnamed character values alongside named children in document order
  • Script SOM queries find these values on first lookup and retain their identity across repeated queries and XML serialization
  • Plain scalar text, excluded nil text, overridden XML text, comments and opaque rich content stay outside the navigable character-value collection

Version 2.1159.0

Added

  • Small Business edition: the new HotPDFSB add-on packages for Delphi and C++Builder and HotPDFLazSB for Lazarus carry the Small Business units from Lib\SmallBusiness; link the HPDFSmallBusiness unit (C++Builder: #pragma link "HPDFSmallBusiness") to register the edition
  • The Small Business edition adds e-invoice business-rule validation and document and contract comparison to the core library, and the Enterprise edition includes everything in Small Business
  • New EHPDFSmallBusinessRequired exception for Small Business methods called without the edition, and a common EHPDFEditionRequired ancestor whose Edition property names the edition a feature needs; EHPDFEnterpriseRequired now derives from it
  • New EInvoiceRules console demo validates invoice XML or a Factur-X PDF against the EN 16931 Schematron rules and requires the Small Business edition

Changed

  • E-invoice business-rule validation is a Small Business feature: HPDFEInvoiceValidator and HPDFEInvoiceSaxon move to Lib\SmallBusiness, while Factur-X generation and the ValidateFacturXInvoice container check stay in every edition
  • Document and contract comparison (HPDFDocCompare, HPDFContractCompare, HPDFHeadlessCompare, HPDFHeadlessContractCompare) moves from the Enterprise edition to the Small Business edition
  • The Enterprise packages now require the Small Business packages, and HPDFEnterprise registers the Small Business edition as well
  • The E-Invoice demo keeps Factur-X generation and container checks and points to the EInvoiceRules demo for business-rule validation
  • Trial builds limit documents compared or validated by these features to the trial page limit

Version 2.1158.0

Changed

  • Redaction and sanitisation are Enterprise features: RedactLoadedRect, ApplyLoadedRedactions, SearchAndRedactReplaceLoaded, review-first DetectLoadedRedactionFindings / StageApprovedLoadedRedactionFindings, SanitiseLoadedDocument, SanitiseLoadedRichMediaAnnotations and ScrubLoadedRedactionRemnants
  • Standards repair is an Enterprise feature: RepairPDFA4 and RepairPDFUA2Structure ship in Lib\Enterprise, and the public ValidatePDFUA2Structure joins ValidatePDFA4 and ValidatePDFX6 as an Enterprise validator
  • PDF/A-4, PDF/X-6 and PDF/UA-2 output generated by EndDoc is still validated in every edition, and AddRedactAnnotation markup stays available
  • Other editions keep every declaration and raise EHPDFEnterpriseRequired for these methods

Version 2.1157.0

Changed

  • Long-term signature writers are Enterprise features: EnsurePAdESDSS, AddPAdESDSSCertificate, AddPAdESDSSOCSP, AddPAdESDSSCRL, AddPAdESDSSVRI and PopulatePAdESLTVEvidence now run only with HPDFEnterprise linked
  • PAdES B-LTA document timestamps (THPDFPage.AddDocumentTimestampSignature, RenewPAdESLTATimestamp) and the PAdES profile preflight PreflightLoadedPAdES are Enterprise features
  • Other editions keep every declaration, raise EHPDFEnterpriseRequired for these methods, and still read and preserve the DSS of existing long-term signed documents during incremental updates
  • PFX signing at PAdES B-B and B-T and single-signature trust validation with VerifyLoadedSignatureWithTrust remain available in every edition

Version 2.1156.0

Added

  • Enterprise add-on packages HotPDFEnt<version> for Delphi and C++Builder and HotPDFLazEnt for Lazarus, built from Lib\Enterprise; add HPDFEnterprise to a uses clause (C++Builder: #pragma link "HPDFEnterprise") to enable Enterprise features
  • EHPDFEnterpriseRequired and HPDFEnterpriseEditionAvailable report when an Enterprise-only method runs without the Enterprise edition

Changed

  • Preflight and standards validation (preflight reports and profiles, validation policies and batches, plug-in bundles, PDF/VT and the public PDF/A-4 and PDF/X-6 validators) are Enterprise features; other editions keep the declarations and raise EHPDFEnterpriseRequired, while the PDF/A-4 and PDF/X-6 checks that EndDoc runs are unchanged
  • Bulk signature validation with ValidateLoadedSignatureBatch is an Enterprise feature; its option and result records now live in HPDFEnterpriseTypes
  • Windows certificate store, PKCS#11, Windows CNG key storage, remote and CSC cloud signing are Enterprise features; the hardware and remote providers move to HPDFHSMSignatureProviders and THPDFCertificateStoreSelector to HPDFEnterpriseTypes
  • PDF/A archival conversion, document and contract comparison, the JSON job processor and the C ABI units ship in Lib\Enterprise only
  • Trial builds limit existing documents to 10 pages when they are saved after loading or processed by an Enterprise feature

Version 2.1155.14

Added

  • Loading an XML fragment onto an attached metadata value updates the owning attribute with the usual accounting and rollback
  • The fragment root must match the attribute name unless root inclusion is selected, and only character content is accepted; violations are rejected before any change

Version 2.1155.13

Added

  • Character runs of a mixed XFA Data value appear as live unnamed value units in script navigation, in document order beside the element children
  • Unit values keep the aggregate value, null policy and XML round-trip coherent, while nil-excluded and comment material never projects

Version 2.1155.12

Added

  • Character runs inside a mixed XFA Data value project as unnamed value units in document order for native navigation

Fixed

  • Structural XML import onto a detached attribute-backed Data node is rejected before any mutation, with an exact transaction rollback

Version 2.1155.11

Fixed

  • Scripts reach occurrence-managed subform instances that previously stayed hidden behind their declaration
  • Instance managers on those instances read the declared occur minimum and maximum, honouring the default minimum of one
  • The initial instance of a repeated subform without data records is a live form model node

Version 2.1155.10

Fixed

  • VCL rendering applies an inline image /D Decode array instead of ignoring it, so gray images invert as authored
  • An array inline /CS colour space such as Indexed decodes instead of rendering blank
  • Image XObjects apply an ordinary /Decode range in the same DeviceGray mapping, and a Decode array with non-numeric entries skips the image

Version 2.1155.9

Added

  • XFA Data DOM nodes expose attribute-backed metadata children that keep real owner attributes, ordering, cloning and rollback
  • Data values support semantic value, contentType and isNull reads with MIME conversion, explicit empty and excluded raw preservation
  • Scripts get transactional getAttribute and setAttribute access on ordinary Data nodes with immediate XML serialization and exact rollback
  • Data edits retain previously accepted references and Form values across following events, failed transactions and reload
  • The complete property-write transaction now fits the default script operation budget through per-node semantic caching

Version 2.1155.8

Added

  • Periodic gradient programs reduce raw offsets that cross whole periods by an exact multiple of 2q before the final fallback retry
  • 21 previously refused valid offset variants now generate programs; eight more extreme exponent and width combinations remain unsupported
  • Successful legacy programs are unchanged because every earlier export strategy still runs ahead of the new fallback

Version 2.1155.7

Fixed

  • XFA Form and Template text values containing only spaces, tabs or line breaks survive loading and saving
  • Failed runtime transactions preserve whitespace-only Form text values, including the line-break projection of empty multi-select items
  • Existing CDATA handling and ordinary inter-element indentation filtering remain intact

Version 2.1155.6

Fixed

  • VCL page rendering no longer hangs on inline images whose /DP or /DecodeParms value is a dictionary such as << /ColorTransform 0 >>
  • Inline image decode parameters are now applied as dictionaries or filter-aligned arrays, so DCT ColorTransform follows the same rules as image XObjects, including marker precedence, null and illegal-value rejection
  • Inline filter arrays with abbreviated names, such as /F [/AHx /DCT], now decode instead of failing
  • Abbreviated and full inline image keys behave alike, in process and through the codec worker
  • An inline image whose decode parameters cannot be parsed is skipped rather than decoded with guessed settings

Version 2.1155.5

Fixed

  • VCL loaded-image extraction and rendering no longer exchange red and blue for three-component DCT images without JFIF or Adobe markers whose JPEG components are labelled R, G and B
  • Without a ColorTransform entry such images decode untransformed in every path, as the headless decoder already did
  • An explicit ColorTransform 0 or 1 still decides for these images

Version 2.1155.4

Fixed

  • A DCT DecodeParms ColorTransform whose value is null is now treated as absent, as ISO 32000-1 7.3.9 requires, instead of making the image undecodable
  • Such images use the embedded Adobe APP14 transform when present, otherwise the default of 1 for three components and 0 for four
  • The rule applies to headless stream and inline images and to VCL loaded-image extraction and rendering, including the codec worker
  • Other non-numeric and out-of-range values are still rejected

Version 2.1155.3

Fixed

  • Headless page rendering no longer fails DCT images without an Adobe APP14 marker whose DecodeParms sets ColorTransform 0 or 1 with a working-byte budget error
  • Such images now render with the dictionary transform, matching standalone headless image decoding
  • Images that carry their own Adobe marker or omit ColorTransform are unaffected

Version 2.1155.2

Fixed

  • Computed XFA bindings now preserve the target scope's completed predicate selection when several replaced scopes converge on it
  • Empty and populated source bindings remain stable without reevaluating user predicates, and the unmapped target no longer inherits another scope's value
  • Simultaneous replacement batches and later independent migrations retain their existing behavior and resource limits

Version 2.1155.1

Fixed

  • Loaded-image extraction and VCL page rendering now honor DecodeParms ColorTransform for DCT images, so a value of 0 keeps RGB or CMYK samples untransformed and 1 selects YCbCr or YCCK, as ISO 32000-1 7.4.8 requires
  • An Adobe APP14 transform inside the JPEG data takes precedence over the dictionary value, including JPEG data whose JFIF header disagrees with an Adobe transform of 0
  • Without a marker or dictionary entry, three-component images default to YCbCr and four-component images to CMYK
  • RGB-coded three-component JPEG data no longer decodes with red and blue exchanged
  • The same rules apply to full-image and reduced-region decoding, in process and in the crash-isolated codec worker, without a new worker build
  • An illegal ColorTransform value makes the image undecodable, as in the headless decoder, even when the JPEG data carries its own marker

Version 2.1155.0

Added

  • Native XFA data bindings support JavaScript and FormCalc candidate filters, including complete ordered selections for repeating groups
  • Accepted per-instance binding targets remain stable across ordinary reads, writes, saved reloads and event rollback
  • Supported Data DOM and XML edits during filtering rebuild pending merge plans without repeating completed filters or resetting resource limits
  • Standalone applications can configure a binding evaluator and query the complete ordered native selection

Version 2.1154.2

Fixed

  • DCT images whose JPEG data carries an Adobe APP14 transform now decode with that transform, and a conflicting DecodeParms ColorTransform no longer overrides it, as ISO 32000-1 7.4.8 requires
  • The same marker precedence applies to inline images, including JPEG data whose JFIF header disagrees with an Adobe transform of 0
  • JPEG data without an Adobe APP14 marker keeps following the dictionary value or its default of 1 for three components and 0 for four
  • Illegal ColorTransform values remain rejected even when the JPEG data carries its own marker

Version 2.1154.1

Fixed

  • Higher-phase axial fields retain exact signed periodic offsets within the existing 512-bit scalar limit instead of losing native Repeat and Reflect output
  • Bounded estimated-quotient residue generation keeps the retained 35-transform bracket and strong profiles below the original 50000-step limit
  • Previously accepted periodic programs, phase parity and sharp-range behavior remain unchanged

Version 2.1154.0

Added

  • TXFAFormStructure.AcceptDataReplacements provides bounded migration of existing Form binding metadata for explicitly accepted live Data XML replacements

Fixed

  • Field writes after XML overwrite reach replacement data nodes in repeated scopes, while surviving Form and script-object identities retain module lexical state across events and transactional rollback

Version 2.1153.1

Fixed

  • Form-structure raw-value writes enforce the configured character limit after Data XML imports instead of accepting oversized values
  • Exact-limit ASCII and UTF-16 values remain accepted, while oversized writes fail before native mutation and restore the complete event transaction
  • Persistent imported aliases, subsequent events and default character-limit behavior retain their existing semantics

Version 2.1153.0

Added

  • Raw JavaScript Template nodes support bounded saveXML and loadXML, including append and overwrite with either incoming-root mode, preserving target identities, mixed content and namespace-qualified attributes
  • XML edits isolate shared live Form backing before changing Template content, preserve existing Form handles until explicit remerge, and retain transactional rollback and saved/reloaded attached XML
  • Overwritten Template descendants retire independently from reusable detached nodes, with native lifetime protection for widget and presentation references

Version 2.1152.1

Fixed

  • XFA typeface values containing semicolons, equals signs or Unicode characters remain literal values instead of creating extra style properties
  • Field and rich-draw appearances retain the declared font size when a typeface contains text that resembles another style declaration
  • Ordinary typeface declarations, saved text and resaved PDF output retain their existing behavior

Version 2.1152.0

Added

  • JavaScript Template nodes support namespace-aware creation, deep and shallow cloning, scalar content edits and live child-list append, insert and removal
  • Detached Template nodes remain editable across events and Form remerge, with independent identities, transactional rollback and saved/reloaded attached content
  • Cloning preserves authored XML content and assigns independent internal declaration provenance, including when cloning nodes from previously saved XDP
  • Template structural commands preserve the bounded fallback for a zero value-byte setting while retaining the default limits and XML, ownership, cycle and depth checks

Version 2.1151.0

Added

  • JavaScript events navigate the independent raw Template model through xfa.template and $template, including existing unnamed property nodes
  • Existing Template nodes expose generic attribute reads and transactional writes that persist through Form remerge, following events and XDP save/reload, with rollback after a failed native remerge barrier
  • Template handles remain valid across Form remerge while replaced Form handles retain their retirement behavior; ordinary attribute writes validate XML values and reserve namespace declarations for a namespace-aware API

Version 2.1150.1

Changed

  • Headless XFA PDF creation shares one identical embedded font program across repeated text appearances while preserving run-specific CID/GID and ToUnicode mappings
  • Removing duplicate font payloads makes saved and reloaded PDFs smaller without increasing the default output budget or changing object, embedding and cancellation limits

Version 2.1150.0

Added

  • Growable XFA rich text draws continue across content areas and pages, preserving styled source intervals and reflowing remaining paragraphs at each destination width
  • Layout placement records distinguish rich-source and plain-text ranges while keeping the original Form and data identity for continued fragments
  • Continuation preserves paragraph spacing and indentation boundaries, Keep behavior and qualified last-page replay under the existing layout budgets

Version 2.1149.14

Fixed

  • Headless XFA PDF creation preserves complete glyphs in tightly positioned rich-text runs while retaining ordinary field and button appearance spacing

Version 2.1149.13

Fixed

  • Periodic gradient input composition preserves variable coordinate coefficients when normalizing large offsets, retaining the intended Repeat and Reflect colors at fractional input coordinates

Version 2.1149.12

Fixed

  • Additional transformed Repeat and Reflect color-font gradients render natively within the original shader limits, using exact signed range bounds and reduced carry traffic while preserving previous output

Version 2.1149.11

Fixed

  • Native COLRv1 atop and xor composites preserve the original backdrop where the source has no coverage, including rotated group boundaries, while retaining the existing interior alpha-ratio calculation

Version 2.1149.10

Changed

  • XFA Sessions avoid retaining compiled cache entries for one-time current evaluations while preserving the existing compile and execution budget phases, cached history replay and older-provider fallback

Version 2.1149.9

Fixed

  • Exact periodic color generation admits additional signed and reflected split-phase fields within the original shader limits, preserving fractional phase and earlier generated output

Version 2.1149.8

Fixed

  • Published XFA replay references use native strict global-program evaluation when supported, preserving function strictness and global var, function, let and class declarations across rollback while older providers retain their existing fallback

Version 2.1149.7

Fixed

  • Headless calculator rendering honors the configured token limit beyond 4096 tokens, with bounded geometric storage, additional memory admission and preserved failure-atomic output

Version 2.1149.6

Fixed

  • Exact periodic color generation reuses proven zero and expired source slots, admitting additional dynamic high-phase fields within the original execution and operand limits while preserving earlier output

Version 2.1149.5

Fixed

  • Certified COLRv1 radial repeat and reflect fields retain all 64 source transforms alongside exact page mapping, with proved empty-region guards preserving the original shader budgets

Version 2.1149.4

Security

  • Optional global QuickJS bytecode admission no longer serializes template literals through user-visible property access, preventing inherited getters and reentrant side effects while ordinary compiled-script caching and template execution remain intact

Version 2.1149.3

Fixed

  • XFA events retain removed master subtrees without requiring live page ownership or rebinding their data, preserving detached references, rollback and later reattachment

Version 2.1149.2

Fixed

  • XFA page models follow current materialized Form containers, including anonymous page areas and cloned page sets, while recordless caller Form children survive save and reload

Version 2.1149.1

Changed

  • Host JavaScript event retries apply response substitutions to the compact argument block before assembling the complete wrapper, avoiding repeated copies of the large factory source
  • Generated native and external-evaluator source remains equivalent, including deterministic prefixes, first-occurrence replacements and placeholder-like response text
  • Existing wrapper and time budgets remain unchanged and no permanent global cache is introduced

Version 2.1149.0

Fixed

  • Automatic XFA rich draw dimensions use the same styled paragraph plan as rendering, preserving wrapping, line height, paragraph spacing and following-flow placement

Version 2.1148.5

Fixed

  • Native color-font root painting honors the existing paint-graph depth limit through nested glyph clips, preserving shader output and arithmetic limits

Version 2.1148.4

Fixed

  • Additional high-phase periodic color-font gradients render natively through a bounded folding fallback, preserving previously admitted output and existing resource limits

Version 2.1148.3

Fixed

  • XFA Session clock, replay and maintenance support retain their original intrinsic dependencies when caller scripts declare standard global names, preserving Date behavior, random sequences and published replay references

Version 2.1148.2

Fixed

  • XFA evaluations preserve undefined completion values for empty and declaration-only scripts and accept leading hashbang or line-comment source through normal execution, rollback and replay

Version 2.1148.1

Fixed

  • XFA scripts using Date constructor aliases retain the recorded event clock during rollback and failed-event recovery, preserving standard constructor properties and subclass behavior

Version 2.1148.0

Changed

  • Repeated XFA event source can reuse eligible compiled bytecode while every execution creates fresh closures and binds the current event scope
  • Tagged templates, larger sources and other unadmitted constant graphs retain their original compilation path without rejecting valid scripts
  • Direct-event entries share the existing compiled-cache capacity and Session owner cleanup, with original execution deadlines and interrupt budgets preserved

Version 2.1147.1

Changed

  • XFA identity binding can avoid full predecessor enumeration after its native alias Map promotes to general storage when a bounded value summary proves that no matching predecessor exists
  • Native updates and clear operations keep the summary conservative, while matching values, hash collisions and customized iterator behavior retain the original chain-rewrite path
  • The retained four-thousand-binding sparse-key and mixed-key workflows now complete under their original memory and execution limits, including Session replay and Win64 static runtime controls

Version 2.1147.0

Changed

  • XFA identity binding skips unnecessary predecessor enumeration when native compact storage and ordinary iterator behavior prove it safe, while custom iteration and matching predecessors retain the original path
  • Native event and external-evaluator bootstraps now capture the optional query before cleanup, and Delphi Sessions reuse exact prelude UTF-8 byte charges instead of repeating full factory conversion during membership checks
  • The Win64 static runtime reuses aligned low-address slots and releases empty allocation blocks, allowing the retained four-thousand-alias workflow under its original memory and execution limits

Version 2.1146.1

Fixed

  • Terminal JPEG decoding now honors ColorTransform, returning untransformed YCbCr or CMYK samples for zero and transformed RGB or CMYK samples for one
  • Omitted decode parameters preserve the existing JPEG color behavior and inline image decoding remains unchanged
  • Invalid ColorTransform values are rejected and explicit transformations enforce the configured working-byte budget

Version 2.1146.0

Changed

  • XFA Sessions now release their exclusive compiled-script cache entries when destroyed, preserve reusable compiled history across engine rebuilds and share identical source/bytecode payloads with other live Sessions
  • Optional compiled-cache owner APIs expose explicit create, attach and release lifetimes with independent bounded native bookkeeping, while compatible older bridges retain their existing behavior
  • Normal Windows and Linux runtime unloading now cleans completed persistent cache storage without changing unscoped cache reuse while the module remains loaded or existing script execution limits

Version 2.1145.0

Changed

  • XFA history and published replay references share immutable payload bytes instead of duplicating stored scripts and results
  • History rollback and replay-pool cleanup release storage references independently while preserving previously published replay fragments
  • Unused replay payload space is reclaimed through bounded compaction, with recoverable cleanup failures retaining readable references and requiring a successful retry before new writes

Version 2.1144.2

Changed

  • Compiled replay-script lookups use an exact-source hash index, reducing whole-cache scans during retained-history rebuilds
  • Removing cached scripts updates their source index and insertion links directly, reducing repeated scans during cache recovery
  • Compiled-cache statistics retrieve the stored-entry count directly without walking every cached script

Version 2.1144.1

Fixed

  • Reject multi-filter streams that supply one shared DecodeParms dictionary instead of a stage-aligned parameter array
  • Preserve omitted and null decode parameters, matching dictionary/null arrays and single-filter dictionary parameters
  • Apply the same invalid-document diagnostic to ordinary content streams and terminal image decoding

Version 2.1144.0

Added

  • Native comb field appearances now support shaped Arabic, Hebrew, combining marks and bidirectional text with supplied fonts
  • Unicode scalar cells preserve supplementary characters and logical field values while keeping ligatures and marks together within their source cell spans
  • Mixed-font comb appearances share one visual cell grid, font size and baseline across supplied fallback fonts
  • Automatic sizing accounts for shaped advances and visible glyph bounds, including rotated fields, while existing direct comb output remains compatible

Version 2.1143.2

Fixed

  • Honor explicit image Decode mappings for JPEG 2000 when an image ColorSpace is supplied
  • Preserve explicit Lab and ICCBased Decode ranges instead of replacing them with default component ranges
  • Keep the required Decode exception when JPEG 2000 omits ColorSpace and is not a stencil image

Version 2.1143.1

Fixed

  • Script-created ordinary XFA Form nodes keep presence and access properties synchronized with getAttribute and setAttribute
  • Cloned nodes retain the current presence and access attributes after either form of assignment
  • Accepted attributes remain consistent across native events, saved forms and rollback without duplicate mutations

Version 2.1143.0

Added

  • Compact native backing reduces retained XFA identity-alias memory for consecutive hexadecimal keys sharing string targets, with optional bridge capability discovery, native Map behavior and atomic fallback for general values or fragmented histories under the existing budgets

Version 2.1142.3

Fixed

  • External JBIG2 batch encoding now honors lossless requests with exact shared symbols and integer placements, preserves isolated dots in strict lossless mode, and correctly handles explicit refinement-zero requests

Version 2.1142.2

Security

  • Enforce ordinary Eval and EvalCached time and interrupt budgets through final completion-value and compile-exception diagnostic conversion, including nested JavaScript toString and native callbacks; caught limit exceptions no longer return success or partial output, the original deadline is preserved and replay-fetch diagnostics remain intact

Version 2.1142.1

Added

  • Admit low-exponent periodic rows through common binary scaling and bounded 513-bit Core alignment, preserving exact ratios, previous representations, 512-bit sources and the 1024-bit aligned cap

Version 2.1142.0

Added

  • Load immutable XFA replay script and result fields on demand through an optional native provider, reducing unused published-pool engine allocation while preserving public references, rollback, exact Unicode, failure recovery and older-bridge behavior

Version 2.1141.2

Added

  • Admit previously unexportable periodic rows through exponent-aware phase-coefficient reduction modulo 2q, preserving repeat phase, reflect parity, negative coefficients and all previous successful representations

Version 2.1141.1

Added

  • Extend exact dynamic periodic range certificates to P7 and P8, admitting qualifying q255 and q511 Core fields within existing resource limits while preserving previous complete program choices and P9 refusal

Version 2.1141.0

Added

  • Extend native XFA retired membership to object, function and Symbol identities with preserved strong lifetime, engine-budgeted roots, exact type isolation and compatible older-bridge fallback

Version 2.1140.0

Added

  • Store XFA retired primitive scalar membership through an optional typed native registry, preserving exact Number SameValueZero, BigInt and string identity, shared storage budgets, rollback and compatible older-bridge fallback

Version 2.1139.1

Fixed

  • Preserve negative high-limb borrows through every later periodic folding pass with signed ceiling bounds, covering a newly retained 59-bit regression without changing released q511 programs or resource limits

Version 2.1139.0

Added

  • Store all XFA retired string identities in the exact native disk index, including noncanonical, empty, Unicode and long keys, with shared journal accounting and preserved replay and retirement diagnostics

Version 2.1138.1

Changed

  • Admit five retained 127-bit and 255-bit periodic residue windows through bounded exact multi-pass folding while preserving released q511 and q125 programs and all existing resource limits

Version 2.1138.0

Added

  • Paint qualifying sixty-transform radial expand fields natively by reducing redundant procedure guards while preserving exact source geometry, color and alpha within the original resource limits

Version 2.1137.1

Fixed

  • Preserve nonempty affine color-glyph clip windows through exact inverse bounds and determinant classification, with emitted page-matrix values matching their exact certificates

Version 2.1137.0

Added

  • Paint qualifying huge-transform repeat and reflect linear fields natively through exact source-to-page mapping and proved font clipping, including fields that retain 511-bit primitive divisors after mapping

Version 2.1136.0

Added

  • Paint qualifying forty-six-transform radial expand, repeat and reflect fields natively through wider exact integer bands that preserve source geometry, color and alpha within the existing reader resource limits

Version 2.1135.0

Added

  • Keep canonical retired XFA identities in an exact session-owned disk index with shared journal limits, preserving saved references, aliases and retirement diagnostics while bounding their engine membership storage

Version 2.1134.1

Fixed

  • Admit qualifying transformed periodic gradients at nonzero origins by removing a shared exact scale before retrying input export, without increasing scalar or execution limits

Version 2.1134.0

Added

  • Paint qualifying dynamic repeat and reflect gradients with exact wide-divisor phases through bounded integer range proofs, preserving fractional input terms and existing reader resource limits

Version 2.1133.0

Changed

  • Generate smaller exact periodic gradient programs with bounded single-pass modular folding and admit constant wide-divisor fields by omitting provably zero input bins while preserving existing size, execution and stack limits

Version 2.1132.7

Fixed

  • Decode hex-encoded UTF-16BE form field values from loaded documents when reading field values, matching the existing name decoding so FDF/XFDF-imported values round-trip symmetrically, and export XFDF field values and names as UTF-8 when the accessor bytes are well-formed UTF-8 instead of mangling them through the PDFDocEncoding table byte by byte

Version 2.1132.6

Fixed

  • Sample COLRv1 sweep-center cells at the mirrored physical angle in the two anchored quadrants, fixing wrong center colors in the NW and SE quadrants of captured nonuniform sweeps; all 256 emitted center cells now match exact area integrals in MuPDF, Poppler and Ghostscript
  • Instance real variable fonts with dangling GPOS VariationIndex delta sets (as shipped by Segoe UI Variable) by resolving them as no-adjustment instead of refusing the whole instance, and enumerate headless font axes without requiring a Unicode cmap

Added

  • Optional source-keyed compiled-script cache in the QuickJS bridge removes re-parsing for repeated XFA replay scripts, probed by export with fallback to plain evaluation; WSL Linux ABI qualification records a position-independent libhotpdf build with zero DT_TEXTREL and all ABI exercisers passing

Version 2.1132.5

Added

  • Author public-key-protected output through the Linux C ABI: the headless import operation accepts a JSON encryption member with certificate and key-agreement recipients (X25519, X448, ECDH P-256/384/521), matching the native authoring path byte semantics with no new exported symbols; the headless security surface also gains deferred key-agreement recipient authoring and RFC 8410 PKCS#12 identity parsing so authored documents reopen with their private keys

Fixed

  • Draw legal COLRv1 paint graphs up to depth 96 instead of refusing past 64: the parse and render depth bounds, occurrence guards and transform-run folding budget now share one named constant, capping emitted Form nesting safely inside reader recursion limits; deeper graphs refuse cleanly as before
  • Use the external jbig2enc encoder on Win32: qualify the deep-nested Floor call that broke every Win32 compile and fix a build-script echo parsed as a redirect, so the previously blocked external encoder path links and round-trips end to end

Version 2.1132.4

Fixed

  • Build the Lazarus/FPC HotPDFLaz package again: remove the stray UTF-8 BOM from the pure-ASCII HPDFFPCParallelRendering include so FPC 3.3.1 no longer refuses the include under the module code page, and qualify the COLRv1 area-integral color clamps with Math.Max/Math.Min so the package compiles under FPC overload resolution; the full package builds and the FPC smoke test passes with dcc64 output unchanged

Version 2.1132.3

Fixed

  • Admit wide COLRv1 radial fields through per-row shortest-of-two integer-program lane selection and refuse unrepresentable widths cleanly: extreme transform widths whose exact program exceeds the unchanged 1024-procedure reader budget now fall back to raster callbacks instead of raising a non-finite operand error at EndDoc, while all previously admitted widths emit byte-identical output

Version 2.1132.2

Fixed

  • Captured nonuniform COLRv1 sweeps paint each center-patch quadrant as a grid of one-eighth-point cells colored by the exact closed-form area integral of the premultiplied angular field, so 576-dpi center pixels receive their true area average, fractional origins and hard stops away from the origin render correctly, and varying-alpha straight colors keep the exact premultiplied color/alpha correlation instead of the former four constant 0.5-point square averages

Version 2.1132.1

Fixed

  • Continue bounded COLRv1 sweep normalization to the next representable candidate when the first normalized matrix overflows the finite inverse window, so deep legal transform runs whose first candidate exceeds binary32 inverse bounds still paint natively with original centers, clips, color stops and capture positions

Version 2.1132.0

Fixed

  • Save bounded wide-field COLRv1 radial paints after deep legal transforms while retaining exact support signs, source clipping, color stops and alpha; preserve preceding strict paths and explicit integer calculator addresses across readers

Version 2.1131.0

Fixed

  • Captured nonuniform COLRv1 sweeps paint exact area-integral quadrant squares at the sweep center, fixing the retained periodic-sweep and varying-alpha center samples in both MuPDF and Poppler while uniform fills, direct-page operand streams and linear-light outputs stay byte-identical
  • Composite Porter-Duff operands quantize effective alpha back onto the k/255 byte grid, repairing the v2.1112.0 off-grid alpha regression in nested mode-12 and layered mode-10 cases and restoring the recorded four-cell failure baseline with the device-blend Poppler full pass intact

Version 2.1130.0

Fixed

  • Use common exact lattice geometry for equivalent native COLRv1 pad linear fields, repairing retained negative-Q source/reference differences while preserving original color stops, alpha and clipping

Version 2.1129.0

Fixed

  • Preserve native COLRv1 font clipping when a transformed rectangular glyph retains exact root coverage, repairing retained placement and noncenter sweep differences without passing huge source matrices to the font reader or changing authored gradient fields

Version 2.1128.0

Fixed

  • Preserve original font clipping and gradient sampling bounds for admitted finite reflected COLRv1 linear gradients with varying alpha, eliminating the retained default source/reference differences across three PDF readers without changing authored geometry or color stops

Version 2.1127.0

Added

  • Preserve additional native high-cycle COLRv1 axial repeat and reflect gradients combining wide exact divisors with large ColorLines through shared interval and color data, retaining original hard stops, alpha and existing reader resource budgets

Version 2.1126.0

Added

  • Render additional native high-cycle COLRv1 axial repeat and reflect gradients with wider divisors through exact multi-limb period reduction, retaining authored hard stops, alpha and existing reader resource budgets

Version 2.1125.0

Fixed

  • Preserve additional native high-cycle COLRv1 axial gradients with exact odd divisors through 35 bits and retain original Fixed16.16 hard-stop positions through Double transform decoding and evaluation; native clients must rebuild for the enlarged transform record layout

Version 2.1124.0

Fixed

  • Preserve native high-cycle COLRv1 axial gradients with larger ColorLines through shared exact interval and color evaluation, including original hard stops, trailing duplicate endpoints and alpha, within existing reader resource budgets

Version 2.1123.0

Fixed

  • Preserve native high-cycle COLRv1 axial repeat and reflect gradients with positive signed 31-bit odd divisors through exact two-limb residue and original-stop evaluation within existing reader budgets

Version 2.1122.0

Fixed

  • Preserve native COLRv1 axial repeat and reflect gradients beyond the ordinary-form cycle limit, including original hard-stop boundaries and tiny transform residues, through exact periodic function evaluation within existing reader resource budgets

Version 2.1121.0

Fixed

  • Preserve native PDF saving for additional deep finite COLRv1 radial transforms by supporting wider exact derived quadratic coefficients while retaining source-input and reader resource limits

Version 2.1120.0

Added

  • Support additional two-coordinate linear radial repeat and reflect fields through regional input-grid bounds, exact transverse maxima, shared odd coefficient factors and deferred admission after exact glyph clipping

Version 2.1119.0

Added

  • Support certified small-coupling linear radial repeat and reflect fields using exact nonzero nearest-grid bounds while retaining actual offsets, source geometry and existing parameter evaluators

Version 2.1118.0

Added

  • Support certified oblique linear radial repeat and reflect fields with exact transverse companions and either-axis input certificate views, preserving authored geometry and existing parameter evaluators

Version 2.1117.0

Added

  • Support repeat and reflect painting for nested radial circles and certified vertical linear-degenerate fields using prepared parameter bounds, preserving native geometry and avoiding document-save failures

Version 2.1116.1

Fixed

  • Preserve closely spaced general radial hard stops inside the original repeat/reflect period while keeping supported periodic fields within existing reader function limits

Version 2.1116.0

Fixed

  • Preserve tiny positive variable-font stop alpha in grouped general radial ColorLines with independently scaled interpolation weights, repairing document-save failures without increasing reader budgets

Version 2.1115.0

Added

  • Render admitted general radial ColorLines with up to 1024 stops through compact exact parameter calculations and grouped interpolation, retaining hard stops, alpha, repeat and reflect within existing reader budgets

Version 2.1114.0

Added

  • Render additional huge-affine general radial gradients with exact coverage signs and stable scaled roots, preserving authored circles, varying alpha, periodic color direction and sheared glyph clipping

Version 2.1113.0

Added

  • Recover supported nonconcentric radial gradients after huge affine transforms, preserving authored circles, strict positive-radius coverage, varying alpha and forward or reversed periodic color lines

Version 2.1112.0

Fixed

  • Preserve authored palette, foreground and selected-axis COLRv1 opacity through high-precision alpha metadata and native painting while retaining legacy Byte fields; rebuild clients for the extended public record layouts

Version 2.1111.0

Added

  • Render supported deeply transformed concentric radial gradients through finite coordinate functions, preserving distance, colorline direction and transparent-center coverage within documented numerical and reader limits

Version 2.1110.0

Fixed

  • Restore deeply transformed nonconformal sweep gradients with exact positive-scale normalization while retaining original centers, clipping and transparency captures

Version 2.1109.0

Fixed

  • Restore deeply transformed color-glyph layers and composites in finite root space while preserving per-node clipping, transparency and safe native referenced components

Version 2.1108.0

Fixed

  • Restore additional deeply transformed linear color-glyph gradients using exact dyadic-grid geometry, preserving their authored color stops, transparency and clipping

Version 2.1107.0

Fixed

  • Restore changing color-glyph gradients through exact private Double transform composition and equivalent finite root-space linear geometry, preserving original clips, color stops, alpha and completed-group behavior

Version 2.1106.0

Fixed

  • Preserve finite color-glyph gradients through deep affine transforms using exact contiguous composition and proved unchanged linear or sweep parameter fields, retaining glyph clips, root bounds and completed-group behavior

Version 2.1105.0

Fixed

  • Preserve genuine quadratic and cubic color-glyph coverage through deep finite uniform-paint transforms, using exact TrueType component coordinates and new exact/quadratic outline APIs before bounded root-frame emission

Version 2.1104.1

Fixed

  • Uniform COLRv1 paints with partially visible polygon glyphs retain finite geometry through deep affine transforms, including reflected, sheared, nested and referenced clips, without huge reader matrices or nonfinite numeric operands; exact contour winding and proved-empty coverage preserve holes and caller opacity

Version 2.1104.0

Added

  • HPDFGetTrueTypeGlyphOutline extracts unhinted TrueType design outlines as Double move, line, cubic and close commands, including composite transforms and point attachment, without a device font path

Fixed

  • Transformed uniform COLRv1 paints retain finite root-clip coverage when all glyph and referenced clips are proved to cover it, preserving caller opacity while avoiding huge reader matrices; partial coverage and general paint fields retain their existing paths

Version 2.1103.1

Fixed

  • Fully transparent color-glyph operands retain the surviving layer and rotated edges in source-atop, destination-atop, XOR and plus composites, including all-zero gradient/layer operands and nested transparent composites

Version 2.1103.0

Added

  • THPDFXFAFormScriptBudgets gains MaxJournalBytes and MaxJournalEvents, making the XFA remerge and replay journal ceilings configurable; zero in either field keeps the historical 64 MiB and 8192-event defaults in force

Changed

  • Nested XFA remerge response envelopes list only newly retired identities per level and encode runs of dropped hydration slots as single run-length numbers, removing the previously quadratic retired-list and null-literal volume while native indices, public identities and replay determinism stay untouched

Version 2.1102.5

Fixed

  • Native color-glyph atop and XOR composites retain the intended alpha product in the identified Ghostscript nested-mask case by combining equivalent bounded gray constructions, including nested composition; broader reader precision and boundary differences remain

Version 2.1102.4

Fixed

  • Ordinary fractional numeric operands preserve their supplied Single value when saved as plain decimal PDF numbers, avoiding intermediate decimal-scaling roundoff for common fractions and very small values

Version 2.1102.3

Fixed

  • Large finite numeric operands, including reusable Form XObject bounds, save as locale-independent plain decimals without Integer overflow or sign corruption while preserving their Single value

Version 2.1102.2

Fixed

  • Both RegisterExtGState overloads preserve byte-fraction ca and CA precision for exactly matching Single inputs, improving native color-glyph compositing without changing adjacent non-grid values or depending on the decimal separator

Version 2.1102.1

Fixed

  • Close-stop COLRv1 linear and radial pad gradients improve reader endpoint accuracy through equivalent parameterization only when every positive-width color and alpha interval survives normalization, preserving tiny intervals, repeated hard stops and radial-tip geometry

Version 2.1102.0

Changed

  • Native text font embedding selects registered CFF2 bytes without system substitution and converts outlines to CID-keyed CFF1 through HPDFConvertCFF2ToCFF, preserving original glyph identity, widths, notices and BMP/SMP mappings across font switches; checked TrueType subsetting also preserves modular checksums and supplementary glyph metadata

Version 2.1101.0

Changed

  • Native COLR glyph rendering resolves legacy-only definitions inside version 1 tables and uses CFF2 contour paths for layer fills and glyph clips, with modern-definition precedence, independent directory and graph limits, and the public HPDFGetCFF2GlyphOutline command extractor for selected-axis geometry

Version 2.1100.0

Added

  • Application foreground color and alpha for COLR palette entry 0xFFFF through ColorGlyphForegroundColor, ColorGlyphForegroundAlpha and explicit-RGBA inspection overloads, including COLRv0 layers, COLRv1 solids and gradients, selected axes, single-round local alpha and completed-glyph caller opacity

Version 2.1099.0

Added

  • Native COLRv1 source-atop, destination-atop, xor and plus composition through vector transparency groups and complete operand alpha, including layers, gradients, nested composites, caller opacity and finite atop bounds; existing reader color-space and precision limitations remain documented

Version 2.1098.1

Fixed

  • COLRv1 pad linear and radial gradients preserve positive-width stop intervals that Single normalization would merge into hard steps, retaining authored function domains and coordinates for opaque and varying-alpha paints

Version 2.1098.0

Added

  • Selected-axis COLRv1 color programs are evaluated independently of static outlines, preserving fractional paint values and rendering negative radii, wider transforms and referenced clips beyond static field encodings through registration, axis-aware inspection and outline-only instancing

Version 2.1097.0

Added

  • COLRv1 variable paint, color-stop and transform fields follow font axes during default inspection and representable TrueType/CFF2 static instancing, preserving opacity, shared transforms and stop order before quantization

Version 2.1096.1

Fixed

  • COLRv1 variable ClipBoxes follow selected TrueType and CFF2 font axes, including default-instance deltas, avar remapping and referenced color glyphs, with outward-rounded bounds and preserved empty clips

Version 2.1096.0

Added

  • COLRv1 in/out composites accept layer and supported composite graphs as alpha-mask operands, using complete group alpha to preserve overlapping transparency, nested masks, clipped and transformed coverage, and caller opacity

Version 2.1095.4

Fixed

  • COLRv1 sweeps with identical resolved colors and alpha use one solid fill, preventing internal triangle seams and repeated edge opacity while retaining transparent periodic degeneracy

Version 2.1095.3

Fixed

  • COLRv1 root ClipBoxes clip the complete color-glyph Form, preventing sweep fans, transformed references, layers and composites from painting beyond the authored rectangle

Version 2.1095.2

Added

  • COLRv1 in/out composites accept transformed and periodic-gradient alpha masks, preserving local coordinates, distant coverage and radial cycle boundaries through ordinary vector forms and a single gray mask group

Version 2.1095.1

Added

  • COLRv1 in/out composites accept shared color-glyph references and nested glyph clips as flat alpha-mask sources, retain empty masks and complete parent coverage, and invert sampled sweep alpha correctly for out modes

Version 2.1095.0

Added

  • PaintColrGlyph references retain the referenced color glyph's ClipBox in paint metadata and native rendering, preserving nested and transformed clips, repeated shared components, empty clips and parent intersections; callers using the expanded paint record must rebuild

Version 2.1094.7

Fixed

  • COLRv1 glyphs without a ClipList derive finite coverage from the paint graph, preserving distant glyph colors and in/out masks beyond the em square; invalid unbounded roots paint nothing without invoking the raster callback

Version 2.1094.6

Fixed

  • COLRv1 glyphs with zero-width or zero-height ClipBoxes remain invisible instead of losing their clip and drawing through the fallback coverage area

Version 2.1094.5

Added

  • Successful transaction boundaries clear the heavy payloads of retired bindings outside the hydration retention closure, releasing per-record script, XML and attribute strings that previously stayed resident for the whole session

Version 2.1094.4

Added

  • Retired-form identity storage interval-compresses declaration, data and composite identity families so long sessions stop storing each retired string verbatim, and sixteen-character declaration spellings now fall through the legacy length fast path to exact family matching

Version 2.1094.3

Added

  • The COLRv1 Porter-Duff in and out composite modes (source-in, dest-in, source-out, dest-out) now render exactly through one luminosity soft mask over an isolated DeviceGray group holding the masked operand's captured flat alpha surface, with out modes inverted at emission behind a white cover; masked operands are limited to solid fills, pad-mode gradients and glyph clips around them, while atop, xor and plus composites — which need premultiplied addition of two surfaces and have no PDF 1.4 equivalent — keep the unsupported fallback

Version 2.1094.2

Added

  • The COLRv1 ClipList is now honored: a clip box sets the color glyph's overall bounds per the OpenType spec, so gradient, solid and sweep root paints without a glyph clip cover the authored clip box instead of the finite em-box fallback, which is retained when no clip box is present; glyphs with outline clips are unaffected

Version 2.1094.1

Fixed

  • COLRv1 sweep gradients with varying stop alpha now render through one final luminosity mask like the linear and radial paths: the color and alpha surfaces are captured as opaque fans with a small segment overlap that closes rasterizer hairline cracks, replacing per-segment alpha compositing that accumulated coverage at the shared apex and left visible seam cracks; equal-angle pad sectors and uniform-alpha sweeps keep their existing exact output

Version 2.1094.0

Added

  • Headless canvas documents author public-key encrypted output: EnablePubKeyEncryption builds the RSA-OAEP recipient envelopes in-process, derives the file key exactly like the component writer and saves fresh documents with the writer-shaped /Encrypt dictionary across the AES-256, AES-128 and RC4-128 generations
  • The headless public-key loader opens writer-shaped dictionaries whose recipient envelopes and EncryptMetadata live inside the crypt filter, including outputs of the Windows encrypt job surface

Version 2.1093.6

Added

  • New opt-in THotPDF.COLRv1DeviceSpaceGroupBlend property emits COLRv1 transparency groups without a blend color space so readers composite them in the ordinary device space, repairing MuPDF dark-channel precision loss on isolated CalRGB groups while content colors, shadings and functions remain normative linear-light CalRGB; the default keeps linear-light group blending and existing output is unchanged

Version 2.1093.5

Added

  • COLRv1 periodic nested radial circle families beyond the former 64-span decline bound now paint whole-cycle radial slices with disabled Extend flags and full per-cycle color sampling inside one isolated non-knockout group, accepting spans up to 4096 cycles with coverage capped at 1024 slices; spans beyond 4096 still decline, and output for spans up to 64 cycles remains byte-identical

Version 2.1093.4

Added

  • COLRv1 periodic radial cone and tangent circle families beyond the former 64-cycle decline bound now paint through bounded per-cycle radial slices, accepting up to 4096 required cycles with coverage capped at 1024 slices and the full per-cycle color sampling retained; cycles past the slice cap stay transparent, families beyond 4096 cycles still decline, and all output for up to 64 cycles remains byte-identical

Version 2.1093.3

Fixed

  • Managed Form instance removal and movement now rebase the field-level scalar binding path and identity stamps beneath surviving instances, not only the container-level pair: after an event transaction rollback (which restores pre-identity path-based binding resolution), a following removeInstance/moveInstance no longer binds a surviving field to the data sibling that shifted into its stale recorded position, so native widget values, scripted reads and the saved Form packet stay aligned with the exported data instead of duplicating a neighbouring value

Version 2.1093.2

Fixed

  • Caller-supplied Form overlays whose only addition is extra instances of a repeatable subform declaration are now recognised as caller content: the runtime composes them against the template, marks the composed Form as the authoritative merge model, and the automatic data merge plans the supplied instances — so the composed rows keep their occurrence declaration and declaration identity, and instance-manager add/insert/move/remove, data consumption, save/reload and exported data rows behave exactly as for template-declared instances instead of failing with "instance mutation requires repeatable layout" or "virtual Form binding was not found"

Version 2.1093.1

Added

  • COLRv1 multistop periodic radial gradients whose circle families are tangent rather than nested or expanding now paint through bounded per-cycle radial slices with the degenerate linear circle root, a 64-cycle sampled budget from the shared tangent point and transparent fallback when no tangent disc reaches the fill box, covering repeat and reflect modes with the original stop direction and folding phase; the singular strip beside a fill-box-crossing tangent line stays transparent beyond the sampled budget

Version 2.1093.0

Added

  • PDF/X-1a output now validates content colour at EndDoc and rejects DeviceRGB, CalRGB and ICCBased RGB usage across page content streams and resources — including image XObjects, Form XObjects, tiling and shading Patterns and shading dictionaries recursively — with a diagnostic naming the offending resource, so RGB content drawn before PDFXCompliance or the OutputIntent is selected is also trapped; convert such content to CMYK / Gray or use PDFXCompliance 'X-3' / 'X-4' instead

Version 2.1092.39

Added

  • Headless OCR honors a HOTPDF_TESSERACT executable override so non-root deployments can point at a bundled engine, while tessdata follows the bundled engine through its own TESSDATA_PREFIX convention

Version 2.1092.38

Added

  • Headless PDF/A preservation honors a HOTPDF_VERAPDF_JAVA override for the Java executable, matching the existing HOTPDF_VERAPDF_JAR override so non-root deployments can point at a bundled runtime

Version 2.1092.37

Fixed

  • The native Linux library and C ABI build compile again after synthesized small capitals reintroduced a Windows-only case test, repeating the case-mapping pattern already replaced for text-transform capitalize

Version 2.1092.36

Fixed

  • COLRv1 linear and radial gradients with differing stop alpha values now render natively through premultiplied linear-light interpolation, a matching DeviceGray alpha surface and one completed-surface luminosity soft mask, keeping the fallback for PDF/A-1, PDF/X-1a and PDF/X-3 profiles

Version 2.1092.35

Fixed

  • Public affine concatenation and local form-pattern placements retain fractional matrix and clip operands, preserving small nonzero scales and rotations; direct Concat rejects non-finite operands before writing the matrix operator

Version 2.1092.34

Fixed

  • COLRv1 paint-wrapper transforms preserve gradient placement and complete clipped coverage through fractional translation, scaling, shear and rotation, retaining nested glyph clips and shared alpha without rounding affine geometry to two decimal places

Version 2.1092.33

Fixed

  • Periodic COLRv1 linear gradients above 64 cycles reuse shared ordinary forms with continuous phase, reflected hard stops and one application of shared transparency, retaining a 65536 aligned-cycle painting budget and logarithmic form-resource growth

Version 2.1092.32

Fixed

  • Gray, CMYK and uncolored-pattern tint methods retain small fractional color components instead of rounding them to two decimal places, rejecting non-finite operands before changing cached colors or registering pattern resources

Version 2.1092.31

Fixed

  • SetFillColor and SetStrokeColor preserve fractional component precision instead of rounding to two decimal places, retaining dark COLRv1 solid and sweep colors, Lab signed values and locale-independent PDF operands; non-finite components are rejected before the color command is written

Version 2.1092.30

Fixed

  • Multi-stop axial and radial pad gradients preserve hard transitions with valid positive-width function intervals, constant colors outside the authored stop range and matching endpoint geometry, including coincident COLRv1 linear stops outside zero to one on skew axes

Version 2.1092.29

Fixed

  • Periodic COLRv1 linear gradients use independent cycle shadings to avoid color-table interpolation across repeat seams, retaining negative-cycle reflect parity, hard color stops, fill bounds and shared transparency

Version 2.1092.28

Fixed

  • Native COLRv1 colors use linear-light RGB for gradient interpolation and internal compositing, with premultiplied sweep interpolation and 16-bit periodic color samples; readers must honor calibrated transparency-group blending

Version 2.1092.27

Fixed

  • COLRv1 glyph clips retain the background beneath translucent content, composite complete source and backdrop surfaces, and apply caller transparency once while preserving nested outlines and transformed bounds

Version 2.1092.26

Fixed

  • COLRv1 radial repeat and reflect gradients preserve expanding and shrinking non-nested cones and equal-radius strips, using short cycle segments inside an isolated transparency group to retain color precision and apply alpha once across overlapping circles

Version 2.1092.25

Fixed

  • COLRv1 radial gradients restrict single-stop colors to the actual circle-family coverage, retain coincident pad color steps outside the unit interval and paint identical circles or two zero radii transparently without discarding surrounding layers

Version 2.1092.24

Fixed

  • COLRv1 pad radial gradients preserve the original circle family when color offsets produce negative radii, retaining interpolated boundary colors, hard color stops and radial coverage for expanding and shrinking circles

Version 2.1092.23

Fixed

  • Strictly nested COLRv1 radial repeat and reflect gradients preserve colors inside the original inner circle and through shrinking circle families, retaining the original geometry when stop-offset remapping would produce negative endpoint radii

Version 2.1092.22

Fixed

  • COLRv1 repeat and reflect sweep gradients with equal start and end angles paint nothing, including single-stop colors, while surrounding glyph layers remain intact; equal-angle pad gradients fill each color sector once to avoid internal triangle seams and cover the glyph even with a distant sweep center

Version 2.1092.21

Fixed

  • COLRv1 radial gradients decode both radii as unsigned font-unit values, accepting 32768 through 65535 instead of rejecting those valid paints as negative; signed circle-center coordinates remain intact

Version 2.1092.20

Fixed

  • Periodic COLRv1 linear gradients preserve reflected colors when their shading axis starts at an odd cycle and fill the complete glyph bounds for vertical and diagonal axes; active glyph bounds avoid unnecessary sampled cycles

Version 2.1092.19

Fixed

  • COLRv1 empty color lines and multiple coincident stops in repeat or reflect mode paint transparently without discarding other glyph layers; single-stop colors and pad steps remain intact, and single-stop sweep gradients use a solid fill to avoid center seams

Version 2.1092.18

Added

  • Unnamed XFA fields participate in interactive widget enumeration, editing, focus and events while retaining an empty public name; master-page value overlays preserve unnamed page-model ancestors on save/reload, and repeatable automatic instances retain token-based widget IDs when only one instance remains

Version 2.1092.17

Fixed

  • XFA bare page targets resolve by eligible target type and distinct node identity, reporting ambiguity instead of choosing the first same-name model; an ineligible ordered page set no longer masks a same-name page area, while explicit paths and ordinary SOM shadowing keep their existing meaning

Version 2.1092.16

Fixed

  • Two-stop COLRv1 radial gradients preserve repeat and reflect extension instead of padding with the last color; expanding nested circles use active glyph bounds to avoid unnecessary cycles and reduce viewer color quantization

Version 2.1092.15

Fixed

  • XFA page routing no longer reduces an unresolved qualified target to its last name; bare-name fallback preserves complete escaped names and literal slash characters

Version 2.1092.14

Fixed

  • Automatic XFA data merge matches ordinary owners by declaration identity or sibling occurrence instead of always selecting the first same-name node, keeping child containers and field bindings under their correct area through reconstruction and save/reload

Version 2.1092.13

Fixed

  • Ordinary XFA area and draw overlays preserve unnamed nodes and same-name sibling identities, and same-name subforms without a matching data scope retain separate declarations, preventing native and script values or properties from overwriting a sibling through save/reload

Version 2.1092.12

Fixed

  • Fields below separate unnamed XFA subforms retain independent Form values instead of sharing a flattened parent path, including nested containers, supplied Form overlays and saved-document reload

Version 2.1092.11

Fixed

  • Unnamed XFA fields and exclusion groups retain separate Form value nodes instead of storing values on their parent container, preserving independent script and native writes through save/reload

Version 2.1092.10

Fixed

  • XFA SOM queries and native layout targets preserve escaped # and * as literal node names instead of selecting classes or unrelated children, including occurrence indexes and descendant searches; separate same-name unbound fields retain their independent values through native reconstruction and save/reload

Version 2.1092.9

Added

  • COLRv1 gradients with repeat and reflect color lines now render as vector graphics: whole-cycle sampled shadings fold the color periods across the geometric parameter without relying on viewer-side extend handling

Version 2.1092.8

Added

  • The column-span: all keyword renders a multi-column container child across the full container width and splits the surrounding children into separate balanced column bands, while column-span: none keeps the merged flow

Version 2.1092.7

Added

  • Multi-column HTML containers now distribute nested paragraph children across their columns with balanced bands, sequential auto filling, rules and page fragmentation, while widget, image, table and list children keep the ordinary block route

Version 2.1092.6

Added

  • The column-fill property joins the HTML multi-column profile: auto fills each column to a declared box height before spilling while balance stays the default and an unconstrained box keeps the balanced band

Version 2.1092.5

Added

  • The initial and unset keywords now work beside inherit for every supported property of the HTML paged-media profile; initial restores the engine initial value and unset routes by the property cascade class while revert and revert-layer stay rejected

Version 2.1092.4

Added

  • The plain inherit keyword now works for every supported property of the HTML paged-media profile, copying the parent computed fields while shorthand spellings copy their whole field set; initial and unset remain outside the profile

Version 2.1092.3

Added

  • Percentage values for letter-spacing and word-spacing now resolve against the element font size and inherit downstream as computed absolute lengths

Version 2.1092.2

Added

  • Imported HTML column flex containers with flex-wrap: wrap, a definite container height and definite child heights pack children into side-by-side vertical tracks that share the container width, with cross-axis alignment applied inside each track

Version 2.1092.1

Changed

  • The headless Cairo render working budget defaults to 256 MiB so legitimate pages that admit two ICC profiles alongside blend-group surfaces render instead of exhausting the previous 128 MiB admission; all five canonical native Linux gates now pass on WSL and the stroke-adjustment fixture records /SA true as supported

Version 2.1092.0

Added

  • A new MaxRemergeOperations script budget (default 64) governs how many remerges may nest inside one XFA event, replacing the fixed ceiling
  • The remerge and window response value budgets honor a configured MaxValueBytes above the historical 16 MiB ceiling, which stays the fallback for unset values, and a new deep-remerge profile completes eighty nested remerges under raised public budgets with bound data resolving at depth

Version 2.1091.1

Changed

  • Configured XFA MaxOperations budgets above 65,536 now take effect: the JavaScript host no longer clamps them to the historical ceiling and bounded native transactions stop exactly at their remaining budget instead of a fixed per-event operation count, while an unset budget keeps the 65,536 fallback and the unlimited mode gains a 100,000,000-operation runaway guard

Version 2.1091.0

Added

  • Paged HTML import lays out CSS multi-column text: column-count, column-width and the columns shorthand resolve the column count, lines wrap per column box, the final fragment balances across columns, overflowing bands fragment across pages and column-rule strokes the gap midlines in the declared color
  • column-gap accepts explicit lengths beside its normal 1em default, and column-rule-width, column-rule-style and column-rule-color style the separator independently

Version 2.1090.9

Added

  • Paged HTML import supports font-variant: small-caps with browser-style synthesis: originally lowercase letters render as capitals at a reduced size beside full-size original capitals, the property inherits with a normal reset, and a text-transform result feeds the synthesis

Version 2.1090.8

Fixed

  • The native Linux build compiles again: text-transform: capitalize now detects word boundaries through portable case mapping instead of a Windows-only API, and a headless document whose encryption dictionary lacks the Standard handler reports unsupported encryption instead of a malformed trailer identifier

Version 2.1090.7

Added

  • Paged HTML import accepts flex-wrap: wrap-reverse through the shorthand grammar and paints wrapped flex lines bottom-up in both direct rendering and nested parallel planning, keeping item order inside each line and the shorthand equivalent to the matching longhands

Version 2.1090.6

Added

  • Paged HTML import supports CSS vertical-align on inline spans: baseline, sub, super and lengths shift the run against the parent baseline with compounding through nesting, while percentages and line-box keywords are rejected by the validator

Version 2.1090.5

Added

  • Paged HTML import supports the CSS box-sizing clamp longhands: min-width and max-width bound the used content width for specified and auto sizes, min-height floors the used height including the auto case, and max-height caps a specified height without cutting content-driven heights

Version 2.1090.4

Added

  • Paged HTML import supports the twelve per-side border spellings: border-top, border-right, border-bottom and border-left with their width and color longhands paint independently weighted and colored side segments, while uniform borders keep the single rectangle stroke unchanged

Version 2.1090.3

Added

  • Paged HTML import supports the CSS text-transform property: uppercase, lowercase and capitalize rewrite the rendered text before measurement through the inherited computed style, inline children may override or restore the transform for their fragment, and none returns the authored spelling

Version 2.1090.2

Added

  • Imported HTML flex rows parse flex-shrink and distribute container overflow across definite-width items by scaled shrink factors, freezing an item at zero width and redistributing the remainder, in both direct rendering and nested parallel planning; grid tracks and auto-width grow items retain their existing behavior

Version 2.1090.1

Fixed

  • COLRv1 linear and radial gradients whose stops all share one offset now span the full gradient geometry with flat pad colors around the shared-offset step, replacing the collapsed remapped circles whose degenerate shading the last release still kept as a known gap; the promoted fixture verifies pure endpoint colors on both sides of the step on two independent PDF rasterizers

Version 2.1090.0

Changed

  • Multi-stop gradient registration accepts equal neighbouring stop positions as hard color stops instead of raising, and COLRv1 radial gradients with interior duplicate offsets keep every stop in the shading function instead of collapsing to the first and last colors; the duplicate-offset radial fixture now passes analytical pixel verification on two independent PDF rasterizers

Version 2.1089.3

Added

  • XFA documents running without a JavaScript engine accept literal insertInstance(index, merge) and moveInstance(from, to) instance-manager scripts beside addInstance and removeInstance, with exact insertion positions, form/data reordering, range rejections and unchanged rollback and reload behavior

Version 2.1089.2

Changed

  • XFA retirement tombstones compress v<step>:<id> journal identities into per-step id intervals beside the existing hexadecimal buckets, so long remerge sessions stop retaining one fallback entry per script-created node while membership, cardinality and retired-handle diagnostics stay exact

Version 2.1089.1

Added

  • Numeric axis keys in projected family and style names now decode the resolved Single coordinate exactly instead of rounding through 16.16, so distinct nearby coordinates on custom, slant and weight axes never collapse into one shared tag=value name

Version 2.1089.0

Added

  • Static variable-font instances with a slnt axis project slant as a design axis with authored labels, exact slnt= keys for unrecorded angles and separate legacy family groups per slant state instead of skipping the whole projection
  • Intermediate ital selections, and sources whose italic default is intermediate, project as design states that keep the source classification bits and never guess a binary italic threshold
  • Resolved nonzero slant sets the independent OS/2 fsSelection OBLIQUE bit on OS/2 version 4 and later, and WWS subfamily names gain the posture word Oblique next to Italic and Upright

Version 2.1088.1

Added

  • FDF export round-trips a field's nonzero local /Ff as an absolute operand, so imported flag changes and authored flag markers survive re-export while fields without local flags keep their existing entry form

Version 2.1088.0

Added

  • Static variable-font instances update names and family grouping without explicit weight links, distinguish independent weight coordinates without guessing Bold thresholds, and preserve source classification when weight is static or absent

Version 2.1087.0

Added

  • TrueType and CFF2 static instances preserve authored STAT multi-axis combination names, select the most specific matching labels, and maintain stable legacy and WWS families across linked styles, including combinations without separate single-axis names

Version 2.1086.0

Added

  • TrueType and CFF2 static instances use authored STAT ranges and additional design-axis labels to maintain consistent legacy and WWS family names, including optical-size groups, shared boundaries, contained and overlapping ranges, and stable family identity within a named range

Version 2.1085.1

Added

  • FDF import applies field-flag policy entries like the headless field-import consumer: an absolute /Ff replaces the inherited flags, /SetFf then /ClrFf adjust them, value-less flag-only entries are valid requests, and flags ride along value entries

Version 2.1085.0

Added

  • TrueType and CFF2 static instances use explicit STAT weight links and width labels to project supported multi-axis selections into consistent legacy families, subfamily names, and Bold/Italic flags, retaining the source default family's link and preferring complete authored instance names

Version 2.1084.2

Fixed

  • Static TrueType and CFF2 italic endpoints now synchronize existing compatible full names and WWS family/subfamily records, preserving authored family names and using weight, width, and slope labels without copying unrelated typographic qualifiers

Version 2.1084.1

Fixed

  • Static TrueType and CFF2 instances that change only the italic axis to its opposite endpoint now synchronize italic classification and style names, using authored instance names or deterministic fallback labels while preserving the original family and Bold style-link relationship

Version 2.1084.0

Added

  • XFA instance managers can reuse and create data in terminal-wildcard collections whose parent path contains a fixed data-group class selector, including ordinary missing child paths below an existing selected group

Version 2.1083.2

Changed

  • XFA retirement history uses less retained memory for consecutive native identities while preserving exact retired-reference diagnostics, identity gaps and transaction rollback behavior

Version 2.1083.1

Fixed

  • Literal XFA add/remove scripts now accept qualified instance-manager shorthand such as main._row and this.parent._row, preserve underscores in parent names, and reject targets that lack a terminal manager prefix

Version 2.1083.0

Fixed

  • XFA instance managers with terminal-wildcard dataRef bindings now reuse eligible unconsumed data before creating another group, enforce limits against live Form occurrences, and preserve exact bindings, order and nested values through reconstruction and save/reload

Version 2.1082.1

Fixed

  • Literal XFA instance-manager actions now resolve qualified paths such as main.row and this.parent.row when the terminal subform has multiple occurrences, retaining live limits, template defaults and exact data bindings while rejecting ambiguous intermediate parents

Version 2.1082.0

Fixed

  • Implicit XFA instance creation now honors the merge argument: merging reuses eligible unconsumed data, while disabling merging creates data from template defaults. Managed counts, nested bindings, writes and empty-group occurrence limits remain consistent across native reconstruction and save/reload

Version 2.1081.2

Fixed

  • Classic PDF font descriptors now preserve fractional slant from caller-owned embedded font programs, convert installed-font GDI angles from tenths of a degree to degrees, and set the Italic flag consistently with a nonzero angle

Version 2.1081.1

Fixed

  • TrueType and CFF2 static font instances now update weight class, width class and italic angle from the selected wght, wdth and slnt coordinates, preserving fractional slant and keeping generated PDF font descriptors consistent with the selected instance

Version 2.1081.0

Fixed

  • Failed outer XFA transactions now release orphaned internal replay payloads instead of retaining them across repeated failures; public ReplaySince fragments and their indirect dependencies remain usable after rollback, and reclaimed replay IDs never resolve to newer data

Version 2.1080.0

Added

  • XFA instance managers now add, insert, move, remove and resize Form occurrences bound to a plain or fixed-index data target, including minimum counts above one; occurrences keep independent local values and order, preserve data still shared by other fields or subforms, and retain their binding and count through save/reload

Version 2.1079.7

Fixed

  • Creating an XFA outer instance now initializes a child subform's plain or fixed-index dataRef target when its minimum is zero or one, even if its maximum permits repetition; existing values and exact target selection survive same-event edits, rollback, save/reload and remerge without adding unrelated data siblings

Version 2.1079.6

Fixed

  • TrueType static instances now compute composite bounds from transformed outline points, resolve point-to-point and phantom-point attachments, and honor scaled component offsets; nested geometry, global bounds, and derived bearings stay consistent without changing the serialized component structure

Version 2.1079.5

Fixed

  • TrueType static instances now retain bounds for contours whose points coincide, including translated composite children, and exclude genuinely empty composites from outline-dependent header measurements; global bounds and derived bearings no longer retain stale or zeroed geometry at collapsed axis positions

Version 2.1079.4

Fixed

  • TrueType static instances now rebuild vhea maximum advance height, minimum top and bottom bearings, and maximum vertical extent from final outlines and vmtx values, covering gvar phantom metrics and VVAR-only fonts; empty glyphs contribute to maximum advance without distorting outline-dependent measurements

Version 2.1079.3

Fixed

  • CFF2 static instances now apply VVAR vertical-origin deltas to VORG and rebuild drawable glyphs' vertical top bearings from the resolved origins and outlines, including fixed origins with changing outlines; empty subset slots retain their existing bearings

Version 2.1079.2

Fixed

  • Static TrueType variable-font instances now apply cvar deltas to the control-value table at the selected axis coordinates, including shared and private point selections and intermediate regions, so retained hinting instructions use the adjusted control values

Version 2.1079.1

Fixed

  • Creating an XFA repeated outer instance now initializes ordinary explicit child containers with a maximum of one, including missing plain or index-zero paths and existing fixed-index targets; shared field values, zero-minimum absence, same-event data links and transactional persistence are preserved

Version 2.1079.0

Added

  • XFA instance creation initializes nested explicit dataRef collections and creates supported missing data parents on demand; existing shared members and empty or nonempty field values are preserved, zero-minimum child managers are immediately available, and same-event edits remain consistent through save/reload, remerge and rollback

Version 2.1078.0

Added

  • XFA instance managers can create instances in an empty explicit dataRef collection under an existing data parent, including after removing all instances or saving and reloading the empty collection; managers obtained from any instance share the same collection, and new field/data-node writes remain transactional

Version 2.1077.12

Added

  • XFA instance managers support add, insert, move and remove for an existing explicit dataRef collection with a terminal wildcard selector, including different form and data node names, independent parent scopes, immediate field/data-node writes, direct save/reload and transaction rollback

Version 2.1077.11

Added

  • XFDF import applies value-richtext entries onto the named field's rich value with interleaved markup preserved in document order, and an RV-only entry leaves the existing plain value untouched

Version 2.1077.10

Added

  • Fields inside newly added or inserted XFA instances support explicit dataRef initialization through the existing binding resolver; existing target values, including empty values, are preserved, new targets receive declared defaults, and match=none fields create no data nodes; insertion, save/reload and rollback across remerge preserve the initialized values within the existing memory and data limits

Version 2.1077.9

Changed

  • XFA instance-group matching skips records before the parent, and instance creation shares capacity accounting across graph mutations; the eight-remerge implicit-binding control can now add an instance in the same event without raising memory, value or operation limits

Version 2.1077.8

Fixed

  • XFA stream navigation and retained-record reconciliation check node liveness by address without invoking methods on freed nodes, fixing a Delphi Win64 access violation when the record provider evicts an old window

Version 2.1077.7

Changed

  • XFA nested remerge hydration omits retired node payloads that live nodes no longer need, preserving native indices, retained-handle diagnostics and instance prototypes; the eight-remerge explicit-binding control now completes within the default 16 MiB engine and 1 MiB value budgets

Version 2.1077.6

Added

  • FDF interchange exports the effective rich value next to the plain value and applies imported /RV entries onto the target field dictionary, with RV-only entries preserving the existing plain value; XFDF export carries the value-richtext element

Version 2.1077.5

Changed

  • XFA nested lifecycle replay shares immutable script and result references instead of recursively copying escaped source; references survive rollback and engine reconstruction, preserve recorded clock and random inputs, and remain covered by journal storage and entry-count limits

Version 2.1077.4

Added

  • HTML paged-media import aligns bounded column and column-reverse Flex containers on both axes, including fixed-height spacing, natural child widths, margins, RTL and whole-box page placement; automatic form-control and nested row widths use the same metrics as their rendered content

Version 2.1077.3

Added

  • HTML paged-media import accepts flex-flow direction and wrapping keywords in either order, resets omitted components to row and nowrap, and honors declaration order and important priority; invalid or unsupported combinations leave both preceding values intact and report a CSS diagnostic

Version 2.1077.2

Fixed

  • Successful XFA remerge transactions also drop the retired generations' instance-manager cache entries, whose strong parent and prototype references previously kept released script node objects alive

Version 2.1077.1

Fixed

  • Successful XFA remerge transactions release retired script node objects at the transaction boundary, keeping the JavaScript node arrays bounded across unlimited remerge generations while identity tombstones preserve the remerge diagnostic for retained handles

Version 2.1077.0

Added

  • sign jobs open public-key encrypted sources (Adobe.PPKLite, Adobe.PubSec) through new recipientPfxFile and recipientPfxPassword options, unwrapping the source envelopes for the primary load, the raw snapshot baseline, the incremental clone and the signed candidate; recipients hold the full permission set on public-key revisions
  • encrypt jobs switch to the public-key security handler when a non-empty recipients array of PKCS#12 entries is supplied, encrypting fresh documents to the parsed certificates across the AES-256, AES-128, RC4-128 and RC4-40 generations with an optional encryptMetadata flag
  • The job capabilities JSON declares signingRecipientIdentity and the publicKeyRecipients encryption surface

Version 2.1076.5

Fixed

  • XFA script identity alias chains collapse when a retained binding is rebound, keeping saved __identity lookups within one hop across unlimited remerge generations instead of exhausting the 64-hop alias depth budget
  • QuickJS allocation failures surface as an explanatory session diagnostic instead of the bare null error previously reported when nested remerge responses exhausted the engine memory budget

Version 2.1076.4

Fixed

  • XFA startup conditional breaks evaluate their script against the resolved Form data scope, so a root or first-child bind match="dataRef" target reaches the condition callback instead of a same-name decoy data node

Version 2.1076.3

Fixed

  • XFA growable flow and table cells apply minH before rejecting zero measured height, preserving empty fields with a minimum height and reserving their space for following content; deferred zero-size leaves no longer raise a tile-allocation error or split neighboring LR-TB tiles onto separate lines

Version 2.1076.2

Fixed

  • XFA master-page content participates in initialization and form/layout-ready lifecycle processing with its owning Form data context, while physical page copies share the actual instance lifecycle and failed handlers restore the transaction

Version 2.1076.1

Fixed

  • XFA instance presentation resolves explicit container references to their selected data targets while preserving parent-based repeated-instance edits, with Delphi compilation corrections for shared XFA scope and layout code

Version 2.1076.0

Fixed

  • XFA Form scope resolution distinguishes an unresolved parent from an explicitly resolved scope, preserving dataRef targets and explicit empty callback results through layout and script binding consumers

Version 2.1075.3

Fixed

  • Prepared caller-supplied XFA Form subforms with bind match="none" or transparent scope="none" preserve their parent data context in ordinary and master-page layout instead of selecting a same-name child group

Version 2.1075.2

Fixed

  • In-memory XFA runtimes release retired active Form trees after successful transactions, preventing repeated remerge from retaining old native trees and identity entries while preserving unrelated detached nodes and rollback

Version 2.1075.1

Fixed

  • Retired XFA script modules release cached exports and their record ownership after script or native remerge, while caller-held closures and failed-event rollback preserve their accepted state

Version 2.1075.0

Added

  • Optional QuickJS heap statistics and explicit garbage collection reclaim unreachable ordinary cycles at successful XFA event boundaries, preserving pending navigation ownership, deterministic maintenance positions and failed-event recovery

Version 2.1074.0

Added

  • Native and JavaScript XFA logical navigation follows live source and inserted neighbors after structural edits, with explicit endpoint and unread-coverage queries and transactional movement across evicted records

Version 2.1073.0

Added

  • Native XFA address selection reloads evicted source records through a bounded window while preserving loaded globals, retained identities, overlay edits and transactional Form selection

Version 2.1072.0

Added

  • Native XFA neighboring-record queries follow accepted source and inserted record order, distinguish endpoints from unread coverage, and can restrict parsing to already fetched bytes without changing the resident window

Version 2.1071.0

Added

  • Native and JavaScript XFA global binding follows logical record order after insertion, movement and deletion, including same-event edits and accepted Form scope, while preserving unique global sharing and source navigation ordinals

Version 2.1070.0

Added

  • Native XFA logical-order queries return the position of a live source or inserted record after accepted structural edits, preserve original navigation ordinals and cursor state, and restore source parsing without publishing future globals

Version 2.1069.1

Fixed

  • Configured XFA records share a unique matching external global value, including later source records and inserted stream records, with consistent native and JavaScript binding, edits, saved targets and rollback

Version 2.1069.0

Added

  • JavaScript can select inserted stream records by stable reference and read the current reference, preserving source ordinal navigation, script handles, explicit Form remerge and failed-event rollback

Version 2.1068.0

Added

  • Attached XFA streams support inserted containers with ordered text, CDATA, comments, processing instructions and moved source children, preserving record selection scope, checkpoints, script ownership and saved Form paths

Version 2.1067.0

Added

  • Attached XFA streams register script-created records and retain their live script references across source navigation, native selection and remerge, with shared record budgets and transactional recovery

Version 2.1066.0

Added

  • Attached XFA streams support native insertion of records under established record parents, with stable reference selection, edited payload replay, checkpoint rollback and saved Form bindings while retaining original source ordinal navigation

Version 2.1065.1

Fixed

  • After restoring an attached XFA stream checkpoint, saved Form bindings continue to follow the original field when same-name data siblings are reordered, and remain unbound when that field is deleted, including across repeated checkpoints

Version 2.1065.0

Changed

  • The XFA structural journal can replace inserted XML payloads while preserving node identities, placement and independently registered children, with checkpoint restoration and output paths based on the current payload

Version 2.1064.0

Changed

  • Attached XFA streams can journal native movement and reordering of existing event roots, preserve those edits across window replay and checkpoints, and save complete XML with rebased Form binding paths

Version 2.1063.0

Changed

  • Structured XFA stream export applies ordered insertion, movement and removal journals through a bounded sparse projection, preserving original record identities, unread container descendants and existing record overlays

Version 2.1062.0

Changed

  • A separate disk-backed XFA structural journal records ordered insert, move and remove operations with stable source and synthetic references, bounded payload storage, snapshot reads and branch-safe rollback

Version 2.1061.0

Changed

  • Streamed XFA globals and ancestor containers can be removed with unread descendant suppression, bounded window retention, stable source ordinals, preserved live Form handles, and transactional restoration

Version 2.1060.0

Changed

  • Streamed XFA record, global and container elements support renaming through replay and complete export, with namespace preservation, rebased Form binding paths and stable original record identities

Version 2.1059.0

Changed

  • Streamed XFA batch flattening replays bounded record windows with saved edits and deletion gaps, runs independent native and JavaScript lifecycles, and restores the caller document and existing Runtime after success or failure

Version 2.1058.0

Changed

  • Streamed XFA records can be deleted through native and JavaScript data nodes, with stable original navigation ordinals, transactional restoration, and correctly rebased Form bindings in complete saved output

Version 2.1057.0

Changed

  • JavaScript-held streamed record nodes, saved methods and collections remain usable across window eviction and native record selection, with independent caller retention and transactional ownership restoration

Version 2.1056.0

Changed

  • Native streamed-record retention keeps caller-selected original records addressable outside the navigation window, shares leases with automatic Form binding, supports full-budget lease-set replacement, and restores retained sets with document checkpoints

Version 2.1055.0

Changed

  • Dynamic FormCalc Eval returns functions and persistent references without retaining old event graphs, preserves defining-node lookup contexts across events, and restores recursion depth after caught limit errors

Version 2.1054.0

Changed

  • Retained XFA layout methods keep independent coordinate, page and membership snapshots without retaining old event graphs, resolve valid members against the current model, and enforce the current event execution and collection budgets

Version 2.1053.0

Changed

  • Ordinary XFA events and retained query or live-child collections expose persistent node handles across model changes, preserve event aliases and user closures, and avoid retaining earlier event graphs through public list iterators

Version 2.1052.0

Changed

  • Saved XFA script-object node, lookup, child-collection and instance-manager methods resolve the current model after accepted changes; independent handle and module factories preserve user closures while weak proxy caching releases unused handles on supporting engines

Version 2.1051.0

Changed

  • JavaScript dataWindow navigation loads streamed XFA records within an event, preserves the merged Form until explicit remerge, and rolls back interleaved navigation and edits; disk-backed script replay history preserves session recovery and closure state

Version 2.1050.0

Changed

  • Document-owned XFA streams support native Runtime record navigation, transactional edits and rollback, and complete XDP saving that preserves evicted edits and unread records

Version 2.1049.0

Changed

  • XFA streaming components add bounded resident windows with record leases and snapshots, plus disk-backed record edits that export complete XML while preserving untouched input

Version 2.1048.0

Changed

  • A pull-based XFA XML record source reads nonseekable input through a replay journal, preserves original record ordinals and XML context, and restores logical checkpoints without building the complete data DOM

Version 2.1047.0

Changed

  • Interactive XFA record navigation rebuilds Form bindings and layouts transactionally, preserves committed data edits, restores the saved Form record and exposes JavaScript dataWindow cursor operations with explicit remerge

Version 2.1046.0

Changed

  • Configured XFA records support passive global bindings with local priority, shared outside-record targets and original record ordinals, including exclusion groups and multi-select data groups across editing, XML rebinding and batch output

Version 2.1045.0

Changed

  • XFA JavaScript resolves the current configured record across data edits, retained references and remerge, and batch flattening executes enabled JavaScript lifecycle scripts with the complete runtime model

Version 2.1044.0

Fixed

  • XFA runtime preserves caller-owned documents during borrowed-host transaction rollback and prevents implicit pages from replaying body content as fixed master content

Version 2.1043.0

Added

  • XFA batch flattening selects configured record ranges, builds independent Forms and layouts with complete datasets, and combines output with cumulative pages and record-qualified field and radio-group identities

Version 2.1042.0

Added

  • Native XFA record contexts enumerate configured XML record boundaries and resolve record-relative binding and FormCalc reads without borrowing missing values from another record

Fixed

  • Repeated root subforms retain matching top-level data groups when datasets contains multiple records

Version 2.1041.0

Fixed

  • XFA global binding flags without record selection use ordinary data allocation, preserving distinct same-name field values and optional or repeated transparent-subform instances

Version 2.1040.0

Fixed

  • Long-format XFA exclusion groups expose their selected member value, synchronize group and member edits using their configured off values, and preserve radio selections when flattening generated Forms

Version 2.1039.0

Fixed

  • Transparent XFA subforms inherit their parent data scope and create optional or repeated instances from actual descendant data matches, preserving accepted field bindings and surviving instance identities

Version 2.1038.1

Fixed

  • Same-name XFA fields and exclusion groups retain distinct scalar data bindings across editing, data reconciliation and reload, with mode-specific handling of missing values

Version 2.1038.0

Fixed

  • Repeated XFA subform sets allocate distinct data groups in consumeData mode, coordinate choice and ordered member occurrences, and preserve transparent set data scopes

Version 2.1037.7

Fixed

  • Optional single-occurrence XFA subform sets are created when their ordinary named descendants match data, including deeper optional chains and choice branches, while preserving the inherited data scope

Version 2.1037.6

Fixed

  • Single-occurrence XFA choice sets select nested set members through matching ordinary named descendants while preserving the inherited data scope and excluding unmatched branches from the actual Form

Version 2.1037.5

Fixed

  • Recordless XFA datasets load with empty-merge behavior instead of failing layout identity checks; library-owned forms rebuild when the first data record is added or the last record is removed

Version 2.1037.4

Fixed

  • XFA choice sets without a datasets packet materialize only their first template member during initial loading and remerge, honoring its initial occurrence count without falling back to later members

Version 2.1037.3

Fixed

  • Single-occurrence XFA choice sets with direct ordinary name bindings select the first matching data member instead of materializing every matching branch; unmatched branches no longer create minimum-occurrence fillers

Version 2.1037.2

Fixed

  • Unordered XFA subform sets place automatic members with matching data before unmatched minimum-occurrence members, which retain template declaration order

Version 2.1037.1

Fixed

  • Automatically generated unordered XFA subform sets follow the data order of directly named members while retaining surviving instance state, occurrence limits and explicit removals

Version 2.1037.0

Added

  • Query accepted XFA layout fragment geometry with xfa.layout.x/y/w/h in JavaScript and FormCalc, including parent-relative coordinates, unit conversion, split containers and transaction-safe snapshots; native callers can capture the same container and leaf fragments

Fixed

  • XFA layout preserves empty tile allocations and their flow space, avoids duplicate container space consumption, and retains the actual ancestor fragments when positioned containers cross content areas

Version 2.1036.0

Added

  • Native XFA layout can optionally retain source container measurements and accepted placement records, including text ranges, row and tile allocations, generated presentations and pagination movements

Fixed

  • Automatic XFA flow-container heights include their own vertical margins, and positioned child offsets contribute to automatic widths so following content receives the required space

Version 2.1035.0

Added

  • Native XFA layout items retain their actual content-area assignment through pagination, text continuation and generated presentations, with a read-only query for region nodes, owning page areas and page-relative rectangles

Fixed

  • A page break on a later subform no longer redirects preceding fields to its startup content area; an actual leading subform retains its initial target

Version 2.1034.0

Added

  • XFA JavaScript and compiled FormCalc expose read-only xfa.layout.ready, reporting completed event contexts and active conditional layout evaluation consistently across remerge hydration

Fixed

  • First-time Form remerge with conditional layout scripts discards retired Template page associations instead of failing to resolve them against the new Form, preserving completed page queries and transactional rollback

Version 2.1033.0

Added

  • HTML plain font-style: oblique passes declaration validation and renders through the existing italic font path in the stylesheet, inline, inheritance and !important cascade; angled oblique syntax remains outside the profile
  • The canonical en-us help documents the literal currentColor border keyword, decimal-leading-zero markers, numeric tab-size, the scriptable assist.toolTip path with per-instance accessibility, and sparse Form font overlays reaching intrinsic measurement

Changed

  • The uniform border shorthand parses its width, style and color components in any order atomically: functional colors keep their internal whitespace, duplicate or unrecognized components diagnose and leave the previous valid declaration intact including under StrictCSS, and none/hidden resets the width to zero so no border paints
  • XFA intrinsic text measurement resolves fonts through the instance-aware property mechanism, so a font introduced only by a sparse caller Form overlay without a template peer drives growable measurement and split planning while retaining nearest-ancestor template fallback

Version 2.1032.0

Added

  • HTML uniform borders accept the case-insensitive currentColor keyword in border-color and the border shorthand color slot, tracking the element's final color property with declaration order, explicit overrides and important priority preserved
  • HTML ordered lists accept the decimal-leading-zero marker style, padding zero and single-digit ordinals to two digits while keeping negative signs and large ordinals unpadded
  • HTML preformatted blocks accept an inherited nonnegative finite numeric tab-size (default 8), driving shared block, cell and parallel-leaf tab pitch; tab-size: 0 collapses the tab advance and invalid declarations retain the prior valid value
  • XFA Form scripting can create, access and update a missing assist.toolTip through the property journal, including explicit empty text, save/reload persistence and failed-event rollback

Changed

  • XFA per-widget accessibility metadata resolves the actual form instance and its effective properties, so caption, tooltip, required and choices reflect Form overrides per repeated instance while preserving Template fallback, explicit empty values and password masking

Version 2.1031.0

Fixed

  • Automatic data merge maps the template root subform onto the record group only when the data holds exactly one container group, so record-level scalars and repeating row groups bind by name again: empty data clears a field's template default text, occur tables expand one row per data group with per-row values and heights, and sparse Form packet values drive growable text splitting as the preferred emission source
  • Table layout resolves each materialized row instance's own merge-recorded data scope, so per-row field values and measured heights no longer collapse onto the first row's data
  • A field or draw breakAfter records its boundary after the field's item, so the following sibling starts on the target pageArea or contentArea again once every continuation fragment of the split field has been placed
  • SOM bind refs keep record-relative addressing working through absolute !data and $data roots, and the #subform / #field class selectors address their data-DOM counterparts (group and value nodes)
  • A transaction whose snapshot restore replays presentation identity stamps no longer fails the escaped XML envelope check that its own stamps pushed over the input budget
  • Strings inside members of a plaintext (StmF /Identity) object stream decrypt with each member's own object identity under StrF again, for AES-128 and AES-256 reloads alike

Version 2.1030.0

Changed

  • Automatic form merge runs its materialize, planning, metadata and edit passes under one shared capacity ledger with nestable batches, cutting graph-side operation charges by roughly half so tight layout-operation budgets complete document construction they previously exceeded

Fixed

  • Instance manager add-after-remove through named selectors initializes the new instance from the authored template defaults again instead of seeding it with the surviving instance's current values

Version 2.1029.0

Fixed

  • Automatic data merge expands star occurrence references (entry[*]) into one subform instance per matching data group and stops an unnamed root subform from consuming the first data group, restoring data-driven row expansion and widget counts
  • Widget identity keeps plain name[index] identifiers for declarations with a single live instance, so event dispatch and host integration addressing widgets by name work again; automatic per-instance identities apply only to repeated live instances
  • Instance manager mutations through named selectors resolve their template declaration, so added instances initialize from template defaults instead of cloning a live instance's current values
  • Object-stream saves of expanded forms no longer raise duplicate template identity on reload: managed form instances legitimately mirror their declaration's presentation stamps
  • Break and overflow targets that name a pageArea or contentArea outside the owner's SOM scope resolve against the delivered page model, and a materialized form's page-model mirror no longer makes the target ambiguous
  • An unencrypted UTF-8 BOM no longer blocks FPC package builds of the signing unit, and layout sources with non-ASCII comments carry their UTF-8 BOM again

Version 2.1028.0

Added

  • XFA Form scripting can create and edit a missing subform margin, including sparse caller Form overlays; effective insets drive native reflow and persist through save and reload with rollback preserved
  • XFA Form scripting can create subform overflow and update its target, leader and trailer attributes, including sparse Form overlays; effective overflow drives native row routing and reservation while keeping declaring-owner context and explicit empty attributes that mask inherited values

Fixed

  • Native rich Grid and Flex layouts accept the normal gap keyword in one-value and two-value gap shorthands with zero used gap and correct axis cascade, so a later gap: normal resets an earlier nonzero gap like the row-gap and column-gap longhands

Version 2.1027.0

Fixed

  • XFA master-page fields use their actual owning record consistently across initial values, native widgets, script reads and saved output, including nested repeated subforms, partial Form record selection and repeated physical page presentations

Version 2.1026.0

Added

  • XFA instance managers retain current Template defaults across events, declaration reordering and reload, with persistent defaults for manual Form instances, live occurrence limits and caller-overlay ordering

Fixed

  • New bound scalar instances initialize from their data, and transactional Form remerge avoids repeated whole-graph metadata accounting that could exhaust the operation budget
  • Native Linux headless builds resolve portable curve metadata without importing the Windows ECDSA implementation, and avoid a duplicate TColor declaration

Version 2.1025.0

Added

  • Headless documents load public-key encrypted inputs (/Adobe.PPKLite, /Adobe.PubSec) through PKCS#12 recipient identities supplied to a new three-argument LoadFromFile overload, recovering the file key in-process for V=5 AESV3, V=4 AESV2 and V=1/V=2 RC4, including crypt filters with their own /Recipients envelopes
  • Authenticated incremental publication on headless public-key inputs preserves every source byte as prefix and reuses the original recipient envelopes; published revisions reopen with the same recipient identity
  • The Linux C ABI gains hpdf_document_supply_recipient_identity so callback callers supply the recipient PKCS#12 identity before loading, and the identity persists for every intermediate work copy including sign and form-import operations
  • PKCS#12 parsing now runs on pure in-process software for PBES2 3DES-CBC and RC2-CBC schemes and the legacy PKCS#12 PBE 3DES and RC2 profiles, removing the Windows CryptoAPI dependency from the parser on every platform

Version 2.1024.0

Added

  • XFA absPageSpan and pageSpan queries report accepted physical and numbered-page intervals for actual Form instances, including split content, repeated masters and empty generated content, with consistent reflow, remerge and rollback

Version 2.1023.0

Added

  • XFA pageContent queries return actual Form objects from completed page layouts, with master and body filtering, continuation and generated-content membership, fresh remerge results and safe instance mutation

Version 2.1022.0

Added

  • Explicit XFA Form remerge rebuilds from the current Template and datasets through Pascal or synchronous JavaScript, preserving same-event fresh values, bounded nested initialization, independent old-node identities and complete transaction rollback

Version 2.1021.0

Added

  • XFA pagination honors bidirectional next/previous keep constraints between actual sibling instances, preserves splittable text and finite-page content, and follows actual destination widths with bookend, overflow, conditional-break and terminal-page reflow

Version 2.1020.0

Added

  • XFA scripts can create and update instance bookend and keep properties, with live defaults, independent repeated-instance ownership, generated bookend content, and transactional save-and-reload behavior in materialized and partial Form packets

Version 2.1019.0

Added

  • XFA bookends place instance opening and final closing content at actual layout cursors, preserving cross-page order, repeated-record binding, empty instances, and distinct presentation identities

Version 2.1018.0

Added

  • XFA overflow leaders and trailers inherit independently, share occurrence limits across target references, and use ordered fallback targets while preserving bound data, real minimum Form instances, surviving widget identities, explicit deletions, and transactional reflow

Version 2.1017.0

Added

  • XFA pagination resolves native SOM page and content-area targets, routes overflow through actual page regions, and measures remaining text at each destination width with advance trailer reservation, preserving source instances and transactional script behavior

Version 2.1016.0

Added

  • XFA medium declarations resolve local and supplied external prototype chains and caller-provided stock dimensions consistently across runtime layout, component flattening and native headless output, preserving explicit overrides, saved expanded templates and rollback-safe stock caching

Version 2.1015.0

Added

  • Modern XFA break leaders and trailers occupy actual flow space around page routing, retain repeated-record bindings and terminal reflow, and preserve generated-copy editing and script focus while sharing stored values

Version 2.1014.0

Added

  • XFA conditional page breaks evaluate FormCalc and opt-in JavaScript in the actual enclosing instance, preserve successful script effects, and reuse decisions during internal reflow with transactional runtime recovery

Version 2.1013.0

Added

  • XFA qualified page sets select first, subsequent, last and only-page masters, reflow terminal content at the selected size, preserve explicit nested page-set transitions, and insert physical duplex filler pages

Version 2.1012.0

Added

  • XFA text continuations, flow lines and table rows remeasure at changing content-area widths, preserving explicit dimensions and data-instance page associations, with supplied-font intrinsic measurement during native headless PDF creation

Version 2.1011.0

Added

  • XFA page masters apply their explicit physical media dimensions and orientation to each generated page, with page-size callbacks and runtime queries that follow reflow and rollback

Version 2.1010.0

Added

  • XFA before and after breaks route to named page and content-area IDs, preserving startNew behavior, page-set occurrence limits, required blank pages and actual page queries

Version 2.1009.0

Added

  • Dynamic XFA selects ordered page masters with nested occurrence limits, required empty pages and per-master fixed content, keeping physical and logical page queries consistent and repeated page fields independently focusable

Version 2.1008.0

Added

  • XFA JavaScript and FormCalc can query logical page numbers and numbered-page counts using the selected page area's initial-number and numbering settings, preserving layout snapshots through reflow and failed-event rollback

Version 2.1007.0

Fixed

  • XFA flattening preserves real empty trailing pages and consecutive forced breaks, with consistent physical page queries and page ownership in native and component PDF output

Version 2.1006.0

Added

  • Dynamic XFA JavaScript and FormCalc events can query actual physical page numbers and page counts, retaining repeated-instance identities through reflow, persistence and failed-transaction rollback

Version 2.1005.0

Added

  • Native multiline appearances combine complex-script shaping and TAB layout, retaining paragraph bidi context, per-line tab stops, wrapping and automatic font-size fitting in saved field appearances

Version 2.1004.0

Added

  • Native rendering honors AIS shape-versus-opacity semantics and text-object TK knockout across supported transparency paths, preserving mask precedence, group clipping and whole Type3 glyph composition

Version 2.1003.0

Added

  • HTML form controls participate in atomic paragraph layout with wrapping and zero-axis geometry, while labeled combo boxes preserve separate display labels, export values and selected option identity through persistent appearances

Version 2.1002.0

Added

  • Native headless Cairo rendering applies resource-scoped DefaultGray, DefaultRGB and DefaultCMYK substitutions across supported color, image, pattern, shading and alternate-space paths, preserving original component domains, selected graphics state and existing transparency rules

Version 2.1001.2

Fixed

  • Native multiline zero-size appearance fitting checks both line advances and metric height for direct and shaped layouts, reporting an explicit error when the final bounded layout cannot fit while preserving fixed-size behavior

Version 2.1001.1

Fixed

  • Native page-text appending preserves semantic resource names when cloning page dictionaries, keeping Font, XObject and Properties references intact across save and reload without confusing spaces with literal #20 sequences

Version 2.1001.0

Added

  • Native Linux pages.import JSON/C ABI operations expose explicit supplied-font FreeText appearance synthesis for the existing ASCII profile, with bounded strict Base64 font input, capability discovery and a synthesis counter while retaining the V1 C ABI layout

Version 2.1000.6

Fixed

  • Native unshaped multiline appearance wrapping no longer creates an artificial blank line from an overflowing soft-wrap separator, while retaining explicit line breaks and whitespace that does not trigger wrapping

Version 2.1000.5

Fixed

  • Native checkbox and radio appearance updates preserve escaped export-state dictionary keys when saving, keeping field values, selected states and appearance names aligned without decoding existing semantic names again

Version 2.1000.4

Fixed

  • Native page-text rectangle fitting scales glyphs and absolute text origins together when character or word spacing is present, preserving the existing clip, vertical placement, Form rotation and invisible-text behavior

Version 2.1000.3

Fixed

  • Native headless Cairo PNG rendering preserves independent image-color and explicit binary-mask filtering when matching sample grids have different Interpolate settings, retaining mask shape and drawing-opacity behavior

Version 2.1000.2

Fixed

  • HTML button, submit and reset controls derive automatic widths from supported displayed captions using the active appearance font and spacing while preserving explicit widths, allocated parallel slots, appearance-generation opt-out and existing fallback behavior

Version 2.1000.1

Fixed

  • Native headless Cairo PNG rendering preserves independent image and SMask filtering when matching sample grids have different Interpolate settings, including samplewise Matte removal on this path

Version 2.1000.0

Added

  • HTML5 import decodes the complete HTML named-character reference catalog and numeric references once, with longest matching, attribute-context rules, Unicode replacements and literal form values that remain intact through saved appearances and reloads

Version 2.999.2

Added

  • HTML textarea controls derive automatic sizes from rows, cols, actual font advances and computed line height, with independent CSS dimensions, zero-area flow preservation and matching parallel height planning

Version 2.999.1

Fixed

  • Authored multiline text-field appearance planning compiles again under FPC 3.3.1 on Windows, restoring the Lazarus package and FPC Win64 build targets

Version 2.999.0

Added

  • HTML textarea block controls retain literal RCDATA values, spaces, tabs and normalized line breaks through flattened multiline painting or persistent multiline AcroForm appearances; authored multiline fields and the native canvas use actual-font eight-space tab stops without painting a TAB glyph

Version 2.998.0

Added

  • HTML5 paged import supports inherited normal, nowrap, pre, pre-wrap and pre-line white-space policies, preserving preformatted spaces, line breaks and block-font tab stops through shared paragraph, table-cell and parallel-text layout

Version 2.997.0

Added

  • Pascal page import can explicitly synthesize missing FreeText appearances for a finite plain-ASCII profile using caller-supplied font bytes, with persistent embedded fonts, alignment, wrapping and a separate synthesis counter; initialize the extended managed options with Default and rebuild Pascal clients

Version 2.996.19

Fixed

  • HTML borders without an explicit color use the final text color, and a border shorthand without a color resets preceding border-color declarations while preserving explicit colors and cascade priority

Version 2.996.18

Fixed

  • Ordinary authored Helvetica text fields rebuild their normal appearance for a supported zero-size default-appearance request, fitting complete single-line, multiline and comb layouts while preserving stored values and the original zero-size request

Version 2.996.17

Fixed

  • Native headless Cairo PNG rendering falls back to Normal when a blend-mode name array contains no recognized mode, preserving first-recognized selection order

Version 2.996.16

Fixed

  • Native headless Cairo PNG rendering preserves independent image soft-mask resolution without Matte, including drawing opacity and rectangular knockout shape

Version 2.996.15

Fixed

  • Native headless Cairo PNG rendering retains the independent resolution of explicit image masks instead of losing coverage detail on a lower-resolution base image

Version 2.996.14

Added

  • Native headless Cairo PNG rendering applies PDF curve flatness through the i operator and ExtGState FL, preserving saved graphics state and inherited path contexts

Version 2.996.13

Fixed

  • Inline image color-space names decode exactly once in the native renderer, so literal hash aliases resolve their own resources and nested array bases keep their declared channel count instead of crossing a wrong representation boundary

Version 2.996.12

Fixed

  • Native headless Cairo PNG rendering preserves decoded color-space resource names beginning with a literal slash across aliases, selected color state and inline images

Version 2.996.11

Fixed

  • Public-key crypt-filter lookup resolves equivalent escaped PDF name spellings consistently during loading and incremental updates while preserving literal hash names and case-sensitive identity

Version 2.996.10

Fixed

  • Author CSS correctly overrides legacy FONT face, size and color attributes, with font-relative lengths and text metrics using the final computed font

Version 2.996.9

Fixed

  • HTML images with only width or height requested derive the missing dimension from their intrinsic ratio in ordinary flow and supported parallel layouts, retaining explicit dimensions and the existing parallel width limits

Version 2.996.8

Fixed

  • Loaded password-field appearances emit one asterisk per valid UTF-16 surrogate pair, BMP character or unmatched surrogate code unit, preserving stored values

Version 2.996.7

Fixed

  • Authored text-field comb cells center encoded characters using actual Helvetica advances, and multiline appearances wrap whole words and split oversized words by the same glyph widths while preserving stored values and the existing WinAnsi profile

Version 2.996.6

Fixed

  • The native headless Cairo PNG renderer suppresses Type 3 glyph procedures in hidden optional-content groups when text rendering modes 4 through 7 are selected, preserving visible glyphs, invisible text mode and ordinary-font clipping

Version 2.996.5

Fixed

  • HTML font-relative margins, padding, dimensions, border widths and Flex/Grid gaps use the final element font size regardless of declaration order while preserving shorthand, longhand and important cascade behavior

Version 2.996.4

Fixed

  • HTML letter and word spacing in em use the final element font size regardless of declaration order, preserving inherited computed lengths, explicit inherit, normal resets, signed spacing and cascade priority

Version 2.996.3

Added

  • HTML text decoration supports overline and unordered combinations of underline, overline and line-through, preserving each kind's introducing color and font geometry while validating exclusive none and repeated keywords

Version 2.996.2

Fixed

  • Authored text-field appearances display supported UTF-8 WinAnsi text in single-line, multiline and comb fields and count Unicode characters correctly in password masks while preserving stored values

Version 2.996.1

Added

  • HTML text-decoration underline and line-through paint with ancestor propagation following CSS 2.2, preserving each introducing element's color and font geometry across descendants, atomic inline-block boundaries, wrapping and justified segments

Version 2.996.0

Added

  • Authenticated public-key incremental revisions use explicit crypt-filter recipient keys while preserving signed field policies and distinct string and stream filter identities

Version 2.995.5

Fixed

  • Authored combo-box initial appearances paint valid UTF-8 captions representable by Helvetica WinAnsi instead of going blank, while stored field values, options and DA strings persist and unsupported text retains the empty appearance

Version 2.995.4

Fixed

  • HTML font-relative text-indent lengths resolve against the final element font size after the normal and important cascade, while preserving inherited computed indentation, explicit inherit and ordinary first-line planning

Version 2.995.3

Fixed

  • HTML line-height computation preserves inherited normal and unitless values, resolves em lengths and percentages against the final font size, and aligns inline baselines with parent struts and signed half-leading across paragraphs, tables, lists and planned parallel text

Version 2.995.2

Added

  • HTML lists format lower-alpha, upper-alpha, lower-latin, upper-latin, lower-roman and upper-roman markers from exact ordinal strings while preserving reversed numbering and item values, with decimal fallback outside valid formatting ranges

Version 2.995.1

Fixed

  • HTML paragraphs preserve inherited absolute text-indent lengths and resolve explicit inherit to the parent computed indentation through the normal and !important cascade; table cells measure and paint the same planned lines so indentation, inline styles and explicit breaks contribute their actual row height

Version 2.995.0

Added

  • HTML lists honor inherited and per-item disc, circle, square, decimal and none markers, ordered-list start, reversed and item values, and nested, empty and hidden item flow while preserving list boxes, page-break numbering and PNG child images with their original transparency and row order

Version 2.994.17

Fixed

  • CFF2 static instances and subsets recompute tight outline bounds and aggregate horizontal and vertical headers from the final outlines and metrics

Version 2.994.16

Fixed

  • Loaded component-field declared-width measurements on FPC convert long decimal numeric tokens directly to the nearest Double value with ties to even, avoiding the legacy input-length limit and intermediate extended-precision rounding while preserving signed zero, original numeric source bytes and existing invalid-value fallback

Version 2.994.15

Changed

  • Eligible loaded-field automatic-size runs use a linear number of interval constraints for certified finite monotone endpoints with nonnegative advances and zero accumulated spacing offsets while retaining every glyph lookup, the complete final fit check and the existing complete constraint path outside that certificate

Version 2.994.14

Fixed

  • Loaded-field default appearances select and bind the original fonts through legal PDF whitespace, comments and positive decimal size tokens, effective Tf and q/Q font state, and case-sensitive decoded resource names while preserving field values and the original field default appearance; complex default-appearance glyph geometry retains its previous measurement profile

Version 2.994.13

Fixed

  • Eligible loaded component-field appearances fit zero-size default appearances to their encoded display content across text, comb, choice, caption and complete multiline layouts while preserving field values, font resources, spacing, scaling and fill color; requests outside the finite fitting profile retain a clipped compatibility fallback

Version 2.994.12

Fixed

  • Supported loaded-field appearances align and wrap the glyphs actually emitted with finite character spacing (Tc), word spacing (Tw) and horizontal scaling (Tz), including backward and zero-scale runs; generated text scopes reset these states before replaying their default appearance

Version 2.994.11

Fixed

  • Regenerate supported loaded-field appearances with the effective simple-font Encoding dictionary and actual embedded Type1 built-in glyph vector while preserving the selected font, glyph advances and stored values

Version 2.994.10

Fixed

  • Loaded AcroForm appearances use valid declared Type1 and TrueType widths, including indirect entries, missing-width defaults and signed or fractional advances, to position and wrap the emitted glyphs consistently with their selected font

Version 2.994.9

Fixed

  • Measure the actual emitted glyph advances of supported Latin Base14 fonts when aligning and wrapping loaded-field appearances, including individual comb cells, choice display labels, password masks and push-button captions

Version 2.994.8

Fixed

  • Regenerated loaded-field appearances resolve AcroForm font resource names and font selection keys case-sensitively, preserving distinct resources such as /F0 and /f0 and preventing unrelated case variants from selecting the wrong font or text encoding

Version 2.994.7

Fixed

  • Regenerated loaded-field appearances map representable Unicode text through the complete built-in Adobe Standard encoding for unembedded nonsymbolic Latin Base14 Type1 fonts and the controlled Helvetica fallback, preserving existing WinAnsi and unrelated font policies

Version 2.994.6

Fixed

  • HTML5 import renders missing-image alternative text as literal styled text with entity decoding and measured wrapping, reserves its height in bounded Flex and Grid children, and retains available image paint in existing mixed child-box layouts

Version 2.994.5

Added

  • Native Linux JSON html.import accepts an operation-owned typed resource registry for supplied stylesheets, images and fonts, resolves exact URI and kind pairs through the existing importer callback, and preserves inline resources, existing resource budgets and missing-resource fallback behavior without implicit file or network resolution by the registry

Version 2.994.4

Added

  • Native Linux JSON text.draw accepts RGB text color, left/center/right alignment, normalized counterclockwise quarter-turn rotation and explicit rectangle fitting through the existing embedded-font page text appearance path, while preserving the defaults for omitted options

Version 2.994.3

Fixed

  • Render authored push-button captions supplied as valid UTF-8 within the 218-character canonical printable WinAnsi profile, using matching standard Helvetica advances and canonical PDF literal escapes while preserving stored caption metadata and the existing whole-caption empty appearance for unsupported or malformed multibyte text

Version 2.994.2

Fixed

  • Native rich-text layout recognizes all 148 opaque CSS named colors for text, backgrounds and borders, reports supported background-color and border-color values consistently in @supports, preserves source order and !important priority between single-color background and background-color declarations, and retains legal glyph ink overhang inside the final widget clipping boundary

Version 2.994.1

Fixed

  • Loaded field appearance text decodes through the shared PDF text-string decoder, so UTF-16BE hexadecimal and literal field values render as wide text instead of exposing raw storage bytes
  • Appearance emission maps Unicode code points above 127 to defined WinAnsi bytes when the resolved font Encoding is the exact name WinAnsiEncoding, skipping the five undefined positions, while other font encodings and the Type0 emission path keep their previous behaviour

Version 2.994.0

Added

  • Public-key encrypted documents decrypt streams through stream-specific crypt filters: a filter whose /CF definition carries its own /Recipients envelopes uses a per-filter key recovered in the prescan, a filter without own envelopes falls back to the document default key, and an unrecoverable envelope fails closed with the exact recipient-envelope diagnostic
  • Incremental revision analysis accepts linearized footer anchors: the chain-entry anchor, the qpdf startxref 0 mid-file sentinel and, for the oldest section, any in-file anchor that provably points at an xref structure
  • Authored radio buttons bind their fluent handles to the created widget through object-number identities validated against live registry entries, so stale handles reject with ordinary exceptions after rollback, reload, flattening or document destruction instead of dereferencing freed objects
  • FDF interchange values preserve their original string representation: a literal value stays literal and a hexadecimal value stays hexadecimal across import and save

Fixed

  • Revision analysis no longer treats a /Prev cycle as a valid truncated chain and skips the older revisions' authentication checks
  • Revision parsing, object-stream member walks and graph decryption honour operation cancellation with bounded polling, so encrypted and linearized adversarial inputs cannot block cancellation
  • Incremental updates keep untouched object-stream members compressed: appended objects whose numbers existed in the baseline register without force-write, the rebuild discriminator requires a high index and a high object number, and a dirty member whose serialisation is semantically identical to its baseline keeps its base cross-reference entry
  • Loaded object-stream containers consume exactly one end-of-line after the stream keyword, so a legal ciphertext byte that happens to be whitespace no longer shifts the payload and corrupts the decrypt
  • Unsigned 32-bit /P permission masks parse through the 64-bit reader with wrapping, restoring the legacy key seed for documents whose writers serialise the unsigned form
  • Crypt filter stages are dropped from loaded decode chains because loaded graphs hold post-decryption bytes, while the raw dictionary stays untouched for byte-preserving incremental saves
  • Nested graph-transaction rollback removes borrowed authoring registry and cache entries before their objects are freed, rebinds the current-page annotations from resident entries and restores the signature field count, so rolled-back references cannot survive object-number reuse
  • Direct-body probes use a structural terminator scan with a bounded 16 MiB growth instead of a raw endobj search inside literal strings

Version 2.993.14

Fixed

  • Native rich-text table cells recognize uppercase and mixed-case vertical-align keywords for top, middle and bottom while retaining the existing declaration order and !important priority

Version 2.993.13

Fixed

  • Center standard Helvetica printable ASCII push-button captions using their actual glyph advances before PDF literal escaping, retaining the existing left clamp for captions wider than the widget

Version 2.993.12

Fixed

  • Set loaded AcroForm calculation order for terminal fields whose widget annotations are separate children, preserving the supplied field-name order and skipping unresolved names without executing JavaScript

Version 2.993.11

Fixed

  • Preserve CSS zero-sized native rich images and their min/max-constrained dimensions, including decoration with numeric solid border colors and correct declaration order and !important priority, exact Grid and Flex assignments and neighboring text flow, while validating image resources before omitting empty raster paint

Version 2.993.10

Fixed

  • Resolve preferred image width and height independently in native rich-text appearances: winning CSS auto clears the same-axis HTML hint, one definite axis uses the intrinsic aspect ratio, and a definite HTML height prevents Grid or Flex cross-axis stretch unless CSS auto restores it

Version 2.993.9

Fixed

  • Apply numeric margin and padding shorthands to each physical edge in declaration order with independent important priority, retaining earlier values when a complete declaration is invalid and preserving existing length conversion and negative-margin behavior in native rich-text appearances

Version 2.993.8

Fixed

  • Keep loaded-page text and shape stamps isolated from incompatible or shared resources, resolve resource categories and names case-sensitively, and restore the original content stream data and resource bindings when a graph transaction rolls back a stamp that extended existing content

Version 2.993.7

Fixed

  • Preserve representable WinAnsi (Windows-1252) text in loaded-page stamps and text insertion, use placeholders for unsupported Unicode scalars, and avoid reusing incompatible existing font resources

Version 2.993.6

Fixed

  • Preserve Unicode in text.extract JSON results under an ASCII locale while retaining the original UTF-8 binary text output

Version 2.993.5

Fixed

  • Correct counterclockwise quarter-turn geometry across headless plain, rich-text and rich-layout appearances, normalize negative and over-360 quarter-turn angles before layout, and preserve OCR search-layer orientation for rotated pages

Version 2.993.4

Fixed

  • Correct quarter-turn geometry in native loaded AcroForm text, choice and button appearances, including consistent On and Off state bounds and transforms

Version 2.993.3

Fixed

  • Read indirect numeric coordinates in loaded form widget rectangles and return a fully zeroed output on unavailable coordinates, preserving raw coordinate order and existing extra-element tolerance

Version 2.993.2

Fixed

  • Coordinate loaded flat choice-option sorting and exact numeric selection indices, remap only valid existing top-option identities, and preserve original field values, viewport inheritance and widget-specific option spaces without automatic appearance refresh

Version 2.993.1

Fixed

  • Avoid excessive stack reservation during deep graph-transaction snapshot preparation while preserving the existing nesting guard and exact stream rollback behavior

Version 2.993.0

Fixed

  • Correct missing-Encoding and symbolic simple TrueType byte-to-glyph mapping and retain searchable normalized text during archival font repair through bounded ToUnicode staging; authenticated loaded page imports preserve already-decrypted stream bytes without a second decryption

Version 2.992.12

Fixed

  • Authored choice fields now honor ffSort with stable Windows invariant linguistic option ordering, retaining original text and selection identity while leaving caller order unchanged when the flag is clear

Version 2.992.11

Fixed

  • Authored listbox appearances now paint option rows and selection highlights, map representable text to Helvetica WinAnsi, and preserve Unicode and control scalars in choice-field storage

Version 2.992.10

Fixed

  • Loaded listbox appearances now honor left, center, and right field quadding for visible option labels while preserving top-index scrolling and selection backgrounds

Version 2.992.9

Fixed

  • Use relative flex-start for overflowing space-around and space-evenly Flex groups after final sizing, margins and gaps, preserving reversed axes, positive spacing and positive single-item centering

Version 2.992.8

Added

  • Support explicit safe/unsafe positional alignment and complete place-* groups of up to four tokens in the finite native Flex and Grid profiles, preserving independent longhand priorities and relative overflow fallback after final sizing

Fixed

  • Align auto-height nowrap Flex items within the final min/max-constrained container height, including existing bare alignment values

Version 2.992.7

Added

  • Support finite native Flex place-items, place-self and place-content shorthands with atomic validation, independent longhand priority and consistent normal/stretch, start/end and left/right behavior across reversed axes

Version 2.992.6

Fixed

  • Preserve other loaded-page events and their /Next action chains when setting or clearing a page additional action, including isolated edits of shared indirect /AA dictionaries

Version 2.992.5

Fixed

  • Honor the loaded listbox /TI top option while preserving original selection indices, with appearance-only fallback for invalid values and no change to combo-box behavior

Version 2.992.4

Fixed

  • Keep FPC NoGUI metafile dimensions consistent when an Assign change callback raises, while preserving the exception and subsequent metadata operations; use an FPC-only Windows ABI binding for integer character-placement parameters on supported FPC builds

Version 2.992.3

Fixed

  • Respect CR, LF and CRLF paragraph boundaries and blank lines in native authored multiline field appearances while retaining existing word wrapping and field values
  • Support empty pages, custom page sizes, multiple pages and ordinary ASCII text fields with Windows FPC NoGUI without requiring an unused metafile canvas; Canvas drawing and EMF authoring are not enabled

Version 2.992.2

Fixed

  • Preserve explicit empty paragraphs in native loaded multiline field appearances while retaining existing word wrapping and field values

Version 2.992.1

Fixed

  • Preserve byte-valued simple-font text in native Windows loaded-field appearances consistently across Delphi and FPC, without changing field values or expanding the existing font-encoding range

Version 2.992.0

Added

  • Apply native FDF field flags to nonterminal AcroForm parents with exact 32-bit masks, ordered SetFf and ClrFf operations, preserved local child overrides and transactional appearance updates

Fixed

  • Enforce FieldMDP locks against actual inherited child flag changes and descendant value updates while allowing unaffected locked children with local overrides
  • Check inherited effective field values during FieldMDP revision analysis while respecting local value overrides and explicit local null values, comparing equivalent literal, hex and indirect representations semantically
  • Preserve null flag inheritance and original read-only authority during authenticated parent updates, rollback and same-instance recovery for signed and Standard-encrypted documents

Version 2.991.1

Fixed

  • Keep public-key recipient decryption separate from Standard-security permission checks so valid recipient credentials open public-key encrypted documents through the matching security handler
  • Preserve original file identity in retained source snapshots while allowing detached original memory streams and replacement output objects to have independent lifetimes
  • Read bounded signer-certificate QC metadata when ByteRange is absent, retain strict validation of a supplied ByteRange, and keep metadata inspection separate from PDF signature verification
  • Avoid full page-tree materialization during signature-presence checks when loading a stream without an AcroForm, while retaining Catalog Perms checks and the existing signature-field path for documents with an AcroForm

Version 2.991.0

Added

  • Headless FDF field-mask interchange supports exact Ff, SetFf and ClrFf operands, nonterminal parent inheritance, original read-only authority and atomic appearance-aware publication through native records and existing form import/export transport

Fixed

  • Recognize binary FDF byte-order markers without codepage-sensitive text comparison while preserving malformed-encoding rejection and self-export roundtrips
  • Authenticate valid R5 and R6 AES-256 permission blocks by exact sentinel and marker bytes while retaining strict metadata and permission-mask agreement checks
  • Preserve inherited field values and absent or null local value entries during flags-only appearance refresh, treat null rich payloads consistently, and export the actual inherited button state

Version 2.990.0

Added

  • ImportLoadedInterchangeFromFDF field dictionaries now apply Ff, SetFf and ClrFf flag updates with inherited-flag combination, read-only rejection, choice and pushbutton semantic validation and appearance-affecting widget rebuilds, under the existing signed DocMDP, FieldMDP and authenticated encryption policies

Version 2.989.15

Fixed

  • Authenticated incremental saves no longer classify field flags or other metadata changes on existing signature fields and widgets without a local field type as ordinary signing, preserving the original certification-policy restrictions and raw in-memory setter contract

Version 2.989.14

Fixed

  • COLRv1 sweep gradient wedges no longer inherit a preceding nonopaque wedge alpha when a later sample is opaque, preserving the caller graphics state before each wedge and after drawing

Version 2.989.13

Added

  • Native rich-text Grid layouts accept place-items, place-self and place-content with supported bare alignment keywords, independently cascaded longhand priorities, copied omitted second values and atomic rejection of invalid declarations

Version 2.989.12

Added

  • Native rich-text flex layouts accept flex-flow direction and wrapping keywords in either order, reset omitted components to row and nowrap, and preserve independently cascaded longhand priorities while rejecting invalid shorthand declarations atomically

Version 2.989.11

Fixed

  • COLRv1 linear gradients honor all three authored points when projecting colors into native PDF shading, preventing incorrect oblique gradient directions while retaining stop-offset remapping and leaving ill-formed linear geometry transparent

Version 2.989.10

Fixed

  • Legacy XFA-to-AcroForm radio groups retain parent read-only flags when duplicate export values enable RadiosInUnison, preventing floating-point rounding during flag updates while preserving member selection, widget ownership and existing numeric fallback behavior

Version 2.989.9

Fixed

  • Authenticated incremental saves on encrypted signed documents now load their validation candidate through the authenticated session credential, so signature policies on AES-256 revisions are enforced instead of being rejected as absent

Version 2.989.8

Fixed

  • Structured JSON and XML form export preserves exact signed and unsigned integer field masks and follows parent flags through missing or null entries, preventing floating-point rounding from hiding ordinary values or exposing values marked NoExport while retaining the existing password and file-select suppression policy

Version 2.989.7

Fixed

  • Appending a widget to an existing radio group and generating native text-field appearances retain exact signed and unsigned 32-bit integer field masks, preventing floating-point rounding from changing the Radio, Pushbutton, Password or Multiline bits while preserving local lookup and the existing numeric fallback

Version 2.989.6

Fixed

  • Native password loading retains the accepted owner or user role and preserves authenticated key state during empty-password probes, preventing owner credentials from being treated as restricted users during annotation imports

Version 2.989.5

Fixed

  • Native AcroForm field creation and flag setters preserve complete 32-bit masks, including high bits combined with ReadOnly, Required or NoExport, through save and reload; dictionary null values no longer overwrite a field with entries from the following object

Version 2.989.4

Fixed

  • COLRv1 radial gradients with three or more strictly increasing color stops retain intermediate colors; COLRv1 paints align with the actual glyph clip baseline while honoring font ascent, TopTextPosition and page measurement units; font subset checksum arithmetic works with range and overflow checks enabled

Version 2.989.3

Fixed

  • XFA flattening and FormCalc $record references use the actual current repeated data context, retain nested occurrence scope, and restore the caller context after evaluation while preserving bounded traversal and operation and elapsed-time limits

Version 2.989.2

Fixed

  • An authenticated successor with strictly appended bytes is accepted again after an unsaved scalar edit: prefix comparison completes once every authenticated source byte has matched while the appended bytes still hash into the full successor identity
  • A successful document reload and a successful form candidate publication both invalidate the retained Windows form-data authentication cache, so a later load of a different source re-authenticates on the real password path instead of matching a freed source-object address

Version 2.989.1

Fixed

  • Native XFA dataRef bindings resolve bare $record, $data and !data roots, select the actual current record in repeated data, and reject misleading root prefixes while preserving charged traversal, deadline checks and failed-lookup rollback

Version 2.989.0

Added

  • Native Cairo rendering applies SA=true stroke adjustment to curves, user-space dashes, all caps and joins, saved graphics state and nested glyph, pattern and transparency consumers while retaining original fill and clip contours, managed resource admission, cancellation and atomic file publication

Version 2.988.0

Added

  • Native editable rich-field Grid appearances support named lines and spans, repeated implicit column sizing and row- or column-major sparse/dense placement, including leading tracks, escaped case-sensitive names and exact zero-height empty grids with retained alignment, visible overflow and transactional resource budgets

Version 2.987.0

Added

  • Native editable rich-field Grid appearances support content and item alignment, eligible automatic-row stretch and constrained span-area placement with visible inner text overflow, stable logical text order and transactional workspace recovery

Version 2.986.0

Added

  • FDF Differences apply is a public cumulative transport: a Differences stream from an explicitly selected complete base revision appends exactly, never treats the FDF container as incremental history, and never fetches file specifications or executes actions
  • The public JSON operation fdf.differences.apply applies FDF Differences through the C ABI with base bytes and SHA-256 binding, signature policy retention, cancellation, rollback and same-handle retry semantics
  • THPDFHeadlessDocument.SaveFDFDifferencesToFile writes one FDF Differences append and returns the new THPDFHeadlessFDFDifferencesResult record with base, prior-append, total-append and added byte counts plus an exact no-op flag
  • THPDFHeadlessDocument.OpenAuthenticatedCopy opens an independently owned authenticated copy of a loaded document with its own derived security state and target cancellation lifetime
  • THPDFFDFPackage.DecodeDifferences returns the decoded Differences stream bytes of a selected FDF package
  • The security classes expose CloneAuthenticated for AES-256, legacy and R4 filters, giving each derived document independently owned authentication with secure destruction
  • THPDFWindowsFormDataTransaction.ApplyFDFDifferences applies FDF Differences through the Windows form-data transaction with rollback and retry behavior

Changed

  • The ISO 32000-2 hardened password derivation runs its inner AES-128-CBC round through the native cipher backend first, measurably reducing document load time on password-protected files
  • Windows form-data transactions reuse library-verified authentication for byte-identical reloads while external bytes and explicit passwords keep the real password-authentication path

Version 2.985.0

Added

  • Native editable rich-field appearances support wrap-reverse and explicit row/column flex-line content alignment, including final constrained content-box distribution, stable glyph order, asymmetric margins, nested intrinsic measurement and transactional workspace recovery

Version 2.984.0

Added

  • Native editable rich-field appearances wrap column and column-reverse flex containers into bounded independent lines, including constrained per-line sizing, content-height and gap semantics, stable text order, nested intrinsic width measurement and transactional budget-failure recovery

Version 2.983.0

Added

  • Native rich-text form appearances support numeric grid spans and explicit-end-relative lines, row-major sparse or dense placement, bounded fixed/fractional/automatic/minmax row tracks and content-box percentage gaps while preserving source XHTML, shared workspace budgets and transactional failure recovery

Version 2.982.0

Added

  • Native rich-text form appearances support constrained flex columns and reversed axes, flex shorthand, stable visual order, main and cross alignment, content-box dimensions and bounded nested intrinsic sizing while preserving shared workspace budgets, original field values and transactional failure recovery

Version 2.981.0

Added

  • Native rich-text form appearances support bounded definite and fractional grid tracks, minmax and repeat lists, constrained flex basis and grow/shrink sizing, row wrapping and reverse placement with shared workspace admission and transactional failure recovery

Version 2.980.0

Added

  • Borrowed workspace admission covers appearance planning, Unicode and glyph scratch storage, CFF/CFF2, images, rich layout, and compatible HarfBuzz/FriBidi allocation and operation callbacks, with reproducible Linux, Win32 and Win64 native builds

Fixed

  • Rich PNG decoding publishes pixel and alpha results only after final admission succeeds, and Linux JSON requests preserve validated UTF-8 member names and values

Security

  • Object-aware Standard RC4 and R4 crypt-filter output preserves encrypted incremental signing and exact FieldMDP page-identity checks without relaxing authenticated document or field restrictions

Version 2.979.0

Added

  • Native inline images decode bounded CCITT Group 3/4 and baseline or progressive DCT content, including supported filter chains, with decoder allocation limits and cancellation; Standard RC4 R2/R3 inputs retain authenticated extraction and form permissions

Version 2.978.0

Added

  • Native inline images decode bounded Flate, RunLength and LZW filters and filter chains, packed and 16-bit TIFF predictors, PNG predictors, direct array color spaces, PDF 2.0 length entries and AES-256 R5/R6 content with cancellation inside Flate and LZW decoding

Version 2.977.0

Added

  • Explicit embedded FDF child imports retain one held field-and-annotation plan and cumulative admission budget through native APIs, Windows file jobs and Windows/Linux callbacks, including revision-1 child decoding, atomic publication, exact no-ops and rollback-safe retries

Version 2.976.4

Added

  • Native headless rendering paints raw, ASCIIHex and ASCII85 inline images with exact sample boundaries, packed and 16-bit samples, stencil masks and inherited graphics state, while preserving unchanged destinations on failure

Version 2.976.3

Added

  • Native headless rendering applies indirect ExtGState Font selections and finite sizes consistently across text objects, saved graphics state and Form inheritance, with bounded font prepasses and unchanged destinations on failure

Version 2.976.2

Added

  • Native headless rendering supports nested BX/EX compatibility sections, skips unknown extension operators inside them, and preserves known-operator validation, stream boundaries, resource limits and unchanged destinations on failure

Version 2.976.1

Fixed

  • Reject unsupported or malformed XFDF link actions before annotation creation or output replacement, preserving existing document annotations and files while retaining URI, Named, GoTo and GoToR round trips

Version 2.976.0

Added

  • Select embedded attachment annotations with independent page-index/name and annotation-index/name combinations, preserving byte-string page destinations, Unicode annotation names and loaded action dictionaries

Version 2.975.0

Added

  • Create bounded static TrueType and CFF2 variable-font instances, share the same selected instance across shaping, metrics and appearance embedding, and preserve original licensing notices and embedding permissions
  • Build native rich-text field appearances from bounded XHTML blocks, spanned tables, equal-width flex and grid panels, and caller-supplied PNG or JPEG resources
  • Remove AcroForm field subtrees through authenticated native, JSON and callback transactions with ownership validation, exact no-op publication and atomic rollback

Version 2.974.0

Added

  • Remove page annotations by exact page and Unicode name, including popup and reply cascades, through bounded native APIs, Windows transactions, JSON jobs and versioned callbacks with authenticated permissions and publication rollback

Version 2.973.0

Added

  • Exchange binary FDF annotations with preserved appearance resources, shared object graphs and local action destinations through native APIs, Windows interchange and versioned callbacks

Version 2.972.0

Added

  • Render annotation default appearances with preserved text state, automatic fitting, rich-text spacing and text clipping, including rendering modes 4 through 7

Version 2.971.1

Fixed

  • Prevent range-check failures in the public shaped-run cache on FPC 3.3.1 Windows builds by preserving explicit 32-bit modular hash multiplication, exact cache-key isolation and LRU eviction

Version 2.971.0

Added

  • Match root :scope and admit static hover, active and focus pseudo classes with inactive interaction state, preserving negation, logical and relative selectors, support queries and saved FDF/XFDF appearances

Version 2.970.0

Added

  • Evaluate native rich-text @supports groups and supports() imports with supported declaration and selector queries, bounded nested conditions, namespace-aware probes, cancellation recovery and computed saved FDF/XFDF appearances

Version 2.969.0

Added

  • Evaluate finite calc, min, max and clamp expressions, root-relative and explicit viewport lengths, and final-font line and spacing metrics in native rich-text decoding, saved field appearances and rich FDF/XFDF imports

Fixed

  • Admit exact minimum media dimensions, resolution and initial font sizes consistently across compiler targets while continuing to refuse values below the supported bound

Version 2.968.0

Added

  • Evaluate explicit rich-text color scheme, reduced motion, transparency and data preferences, contrast, forced and inverted colors, and scripting availability while preserving unknown omitted preferences and computed saved appearances

Version 2.967.0

Added

  • Apply caller-supplied linked and imported rich-text style sheets with shared preferred or alternate title sets, bounded URI and document-base resolution, and transactional native, Windows and Linux FDF/XFDF publication

Version 2.966.0

Added

  • Evaluate native rich-text media queries with explicit print/screen profiles, nested conditions and bounded feature ranges, retaining computed styles in saved appearances and transactional FDF/XFDF imports

Version 2.965.0

Added

  • Create, clone and edit native XFA form trees transactionally, preserving surviving node identities, event rollback, supported empty-merge occurrences and saved form packets independently of authored templates

Version 2.964.0

Added

  • Generate native plain, rich, shaped and family appearances from complete OpenType CFF2 fonts at default variation coordinates, preserving glyph identity, Unicode, widths and embedding permissions in bounded static CID-keyed CFF 1 output

Version 2.963.0

Added

  • Apply scoped CSS namespace declarations and qualified selectors to native rich-text fields and Windows/Linux form transactions, preserving computed appearances, bounded namespace lookup, exact no-op publication and checked-build compatibility

Version 2.962.0

Added

  • Wrap generated raw-font annotation text at space and hyphen boundaries across style runs, preserving complete encoded characters, hard breaks, automatic sizing and bounded cancellation

Version 2.961.0

Added

  • Render missing annotation text appearances with original Type1C, CIDFontType0C and bare Type1 font programs, preserving Unicode mappings, automatic sizing, spacing, line height and bounded immutable resources

Version 2.960.0

Added

  • Transport standard XFDF Stamp normal, rollover and down Form appearances with embedded font and image resources, bounded acyclic graphs, authenticated native transactions and existing Windows/Linux callbacks

Version 2.959.0

Added

  • Apply complex not lists, forgiving is and where lists, anchored has relations and filtered nth-child positions to native internal rich-text style sheets, preserving selector specificity, computed values, fonts and transactional FDF/XFDF appearances

Version 2.958.0

Added

  • Access live native Data DOM child collections through read-only numeric indices in JavaScript and FormCalc, preserving current child order, retained script-object references, independent clones, saved values and PDF appearances

Fixed

  • Reject numeric assignment, deletion and property definition both on current collections and inside retained lexical script objects, with bounded event rollback and retry

Version 2.957.0

Added

  • Apply attribute selectors, sibling combinators, structural and positional pseudo classes, inherited language matching and compound negation to native internal rich-text style sheets, preserving actual computed values, fonts, saved appearances and transactional FDF/XFDF imports

Version 2.956.1

Fixed

  • Resolve FormCalc nodes child-list paths through the actual event compiler, preserving live form/property collections, Data DOM item access, bounded replay, saved native values and PDF appearances

Version 2.956.0

Added

  • Generate native plain, rich and shaped field appearances from complete OpenType CFF fonts, preserving name-keyed glyph identities, actual CID-keyed charsets, Unicode mappings, embedding permissions and shared font resources; render missing FreeText appearances using embedded OpenType defaults

Fixed

  • Bound CFF parsing and glyph metrics, retain cancellation and immutable per-style readers, and preserve TrueType behavior across six native compiler targets

Version 2.955.1

Security

  • Reject all-zero X25519 and X448 shared secrets after canonical byte serialization, including low-order inputs whose weak field limbs are nonzero, and keep the agreement result false with an empty secret and a fresh diagnostic

Fixed

  • Preserve portable SHA3/SHAKE constants and intentional modulo-2^64 key-agreement arithmetic when integer overflow and range checks are enabled, including full-width P-256, P-384 and P-521 exchanges on 32-bit Free Pascal

Version 2.955.0

Added

  • Add live JavaScript form/property child collections with length, indexed reads, item, namedItem, iteration and independent clones; retain owner identity across events, repeated-instance edits and implicit property creation, with saved native values and PDF appearances

Fixed

  • Keep retained live lists attached to their current event owner, reject removed owners without retargeting another instance, and preserve native values, retained state and journal rollback under collection allocation, operation and deadline failures

Version 2.954.0

Added

  • Apply internal XHTML style sheets to native rich-text fields and FDF/XFDF imports with type, class and ID selectors, descendant and child combinators, grouped selectors, Unicode identifier escapes, specificity, importance and source order

Fixed

  • Preserve computed styles in actual saved values and widget appearances, with bounded scanning and matching, cancellation, exact committed no-op bytes and transactional callback rollback

Version 2.953.0

Added

  • Add independent XFA query node collections with all, classAll, classIndex, clone and membership operations, stable retained references, bounded transactional replay and native saved-PDF consumption

Fixed

  • Keep retained queried instance managers attached to the current event graph and evaluate ordinary SOM paths and predicates within the original default-stack and operation limits

Version 2.952.0

Added

  • Preserve remote GoToR annotation destinations through native, ordinary Windows and versioned callback XFDF exchange, including exact coordinates, Unicode file specifications and optional window behavior

Fixed

  • Authenticate ordinary loaded-document annotation imports against original encryption permissions, signatures and field locks while retaining permitted caller edits and independent source lifetime; read signature ByteRange integers without Single rounding and detach shared RC4 string storage before encryption

Version 2.951.0

Added

  • Render bounded cloudy borders for Square, Circle, Polygon and FreeText annotations without normal appearances, preserving width, dash, opacity and source graphs; share immutable generated font bytes across FreeText views without repeated decoded-byte charges while retaining parsing budgets and cancellation

Version 2.950.0

Added

  • Create, clone, rename, insert and remove native XFA Data DOM nodes with bounded ownership, inherited namespaces, stable imported references, binding refresh and complete event rollback; preserve UTF-8 attributes and retained FormCalc references through saved XML and native PDF consumers

Version 2.949.0

Added

  • Preserve the distinction between no selected choice options and a selected empty export value through native, Windows and Linux XFDF exchange, with exact no-op publication, bounded validation and checked encrypted-document loading

Version 2.948.0

Fixed

  • Render filled glyph masks with captured fractional clip coverage while preserving PDF paths, patterns, alpha and blend operators, and check raster working-memory capacity before allocation

Version 2.947.1

Fixed

  • Preserve explicit empty default XML namespace declarations during XFA parsing and serialization, preventing unqualified data subtrees from inheriting an ancestor namespace after save and reload

Version 2.947.0

Added

  • Render beveled and inset rectangular annotation borders and measured Unicode or rich line captions, preserving opacity, endpoint offsets, existing appearances, bounded font resources and annotation clipping

Version 2.946.3

Fixed

  • Apply xfa.host.resetData through native events without misreading it as a Data XML import, preserving template defaults, bound values, repeated scopes, pending edits and transactional rollback

Version 2.946.2

Fixed

  • Fix SHA-1, SHA-256, SHA-384 and SHA-512 word arithmetic with compiler range and overflow checks enabled, preserving valid digests and AES-256 password authentication without changing public interfaces

Version 2.946.1

Fixed

  • Preserve present-empty XFA attributes and UTF-8 names, values, namespaces and indexed queries through native XML serialization, persistent property defaults, repeated script events and transactional rollback

Version 2.946.0

Added

  • Render temporary rich annotation text with explicit read-only Preview/Print font permissions and unchanged full-font bytes, preserving editable embedding policies and existing Screen appearances without implicit media placeholders

Version 2.945.0

Added

  • Preserve local annotation page and named destinations through native and legacy XFDF exchange, with exact bounded decimal tokens, qualified Adobe XML, duplicate-attribute validation and transactional Windows/Linux callback publication

Version 2.944.0

Added

  • Manage live XFA choice display and export items through JavaScript and FormCalc, preserving surviving aliases, exact duplicate or empty selections, native per-instance lists and saved native or legacy PDF appearances under bounded mutation limits

Version 2.943.1

Fixed

  • Preserve exact loaded PDF bytes when native mixed scalar and typed rich-text transactions or empty batches make no changes, retaining pending graph edits, authenticated signature and encryption policies, resource limits and atomic publication

Version 2.943.0

Added

  • Exchange mapped annotation XFDF through Windows file jobs and original V1 callbacks with authenticated append transactions, bounded binary and Unicode data, exact no-op bytes and atomic publication

Version 2.942.0

Added

  • Render supported annotations without normal appearances through bounded temporary geometry, line endings, icons and Unicode FreeText, retaining source resources, rich text, view/print flags and cancellation

Version 2.941.1

Fixed

  • Validate native XFA choice selection uniqueness with bounded cancellable sorting while preserving exact case-sensitive export values, original selection order and transactional failure behavior

Version 2.941.0

Added

  • Apply independently cascaded native CSS and original typed letter and word spacing to shaped runs, physical lines, fitting and saved appearances, with computed point serialization, exact decimal rounding and transactional Windows/Linux JSON publication

Version 2.940.0

Added

  • Exchange eighteen mapped annotation types through bounded native XFDF and Linux V1 JSON operations, preserving Unicode rich contents, callouts, transparent colors, binary attachments, popup and forward-reply links, authenticated permissions and transactional append publication

Version 2.939.0

Added

  • Create legacy XFA combo and list fields with exact repeated-instance exports, display labels, selected indices, scroll positions and styled Unicode appearances, preserving high field flags and per-field rollback with a supplied-font detached choice factory and metadata-only mode

Version 2.938.0

Added

  • Render the four standard color intents across graphics states, forms, images, shadings, patterns and transparency groups with image overrides, relative fallback for unknown names and bounded cancellable ICC transform caching

Version 2.937.0

Added

  • Create independent legacy XFA radio groups from actual repeated instance scopes, preserving exact exports, selected states and styled Unicode captions with whole-group adoption rollback and a detached supplied-font native member appearance API

Version 2.936.1

Added

  • Parse valid PDF dictionaries and trailers with arithmetic overflow checking enabled by explicitly retaining the low32 bits of the FNV hash multiplication

Version 2.936.0

Added

  • Bind explicit typed JSON rich-text line heights to Windows and Linux saved appearances, preserving authored runs, supplied parent metrics, bounded aggregate planning and transactional mixed-field updates

Version 2.935.1

Added

  • Count supplementary Unicode characters once in portable XFA password appearances, retain original values and enforce aggregate glyph budgets before allocating masks with scalar-granular cancellation

Version 2.935.0

Added

  • Preserve rich-text line height, computed CSS lengths, inherited factors and parent font metrics across native layout, saved appearances, Windows file jobs and callbacks, and Linux FDF/XFDF JSON imports with bounded metric-font planning

Version 2.934.0

Added

  • Create real Unicode legacy XFA text, numeric, date and password appearances with effective per-instance font family and style, editable embedded font resources, scalar password masking and transactional resource adoption

Version 2.933.0

Added

  • Evaluate multidimensional sampled cubic color functions with the existing four-knot scalar convention, short-dimension linear fallback, bounded tensor work, cancellation and unchanged scalar interpolation

Version 2.932.0

Added

  • Decode signed and unsigned JPEG 2000 components through26 bits with mixed precision, subsampling and opacity, normalize bounded samples and ignore JPX image BitsPerComponent declarations before rendering

Version 2.931.0

Added

  • Preserve legacy XFA checkbox on, off and neutral export states, styled Unicode captions and native appearance bundles, encode special PDF names consistently, and restore direct page resources after cancelled widget adoption

Version 2.930.0

Added

  • Evaluate automatic optional-content usage applications with explicit zoom, language and user context, persistent native manual selections and bounded Linux JSON operation state; invalidate borrowed rendering contexts after document changes

Version 2.929.0

Added

  • Build scalar text, comb cells, choice labels and button marks from ordered supplied regular font families across native setters, Windows jobs and versioned Windows/Linux callbacks; preserve ordinary scalar metadata and distinguish an empty choice selection from a selected empty export

Version 2.928.0

Added

  • Render ExtGState dash arrays and phases with bounded typed PDF array scanning, preserving comments, strict operand validation, inherited stroke geometry, cancellation and ordinary text arrays

Version 2.927.0

Added

  • Paint original Windows ApplyXFAAsAcroForm push-button scalar and rich captions with actual installed family/style programs, persistent per-instance overrides and native normal/down/rollover appearance bundles, registering genuine AcroForm font resources

Version 2.926.0

Added

  • Expand bounded inline CSS font shorthand into independently cascaded size, weight, italic and supplied-family candidates, preserving inherited relative sizing, omitted-style resets, important component priorities and actual saved font appearances

Version 2.925.0

Added

  • Select ordered caller-supplied font families for complete styled rich-text graphemes through Windows file jobs and V1 callbacks, preserving CSS and typed candidates, genuine empty-value transactions and aggregate font budgets

Version 2.924.0

Added

  • Render default document optional-content groups and membership expressions across marked page content, form XObjects and annotations, preserve hidden graphics and text state, and expose explicit view or print usage through the native Linux V1 JSON interface

Version 2.923.0

Added

  • Preserve ordered rich-text font candidate lists through native appearances and Linux V1 JSON, and bind mixed scalar and original typed runs to Windows file jobs and unchanged V1 callbacks with precise paint, supplied style programs and two-phase publication

Version 2.922.0

Added

  • Select native annotation view or print visibility with PDF 2.0 Invisible rules, recognize RichMedia and Projection static appearances and implicit Text transforms, and retain bounded cancellable Windows PNG atomic replacement with actual OS error diagnostics

Version 2.921.0

Added

  • Render native XFA push-button scalar and XHTML captions with genuine supplied family and style programs, preserved inline separators and authored padding, actual normal/down/rollover appearances, caption visibility and persistent repeated-instance overrides

Version 2.920.1

Fixed

  • Keep successful native Linux C ABI PDF mutations aligned with their committed source snapshot, so following same-value FDF or XFDF imports preserve the exact published form values, typed appearances, drawn text and imported pages instead of restoring stale input bytes

Version 2.920.0

Added

  • Save mixed scalar fields and original typed rich-text runs in one independent atomic document transaction, retain precise appearance values and supplied font programs, preserve authenticated policies and current graph edits, and recognize genuine read-only appearance no-ops

Version 2.919.0

Added

  • Resolve complete styled Unicode graphemes through explicitly supplied candidate font families, preserve authored values and precise appearance styles, expose opt-in native Linux JSON fallback through unchanged V1 callbacks, and retain the actual aggregate font allowance while loading configured programs

Version 2.918.0

Added

  • Render native XFA Boolean captions from effective XHTML and supplied named style fonts, preserve repeated-instance overlays and saved runtime XML, and measure automatic caption reserves with final logical text-line extents

Version 2.917.0

Added

  • Select genuine named family and style programs for Windows FDF and XFDF imports through nested file paths or existing versioned font callbacks, and isolate synchronized random source reads from sequential transaction publication

Version 2.916.0

Added

  • Decode and render 182 built-in legacy CMaps with bounded one-to-four-byte codes, exact parent and child writing modes, Unicode mappings, deterministic malformed-code recovery, cancellable inheritance and bundled redistribution notices

Version 2.915.0

Added

  • Keep selected native XFA list options visible through font-metric selection windows and persisted top indices, preserve complete option and value arrays, and retain repeated-instance font changes and event rollback with bounded visible glyph preparation

Version 2.914.1

Fixed

  • Overlap foreground memory-cache hits with cooperative prefetch cancellation after acquiring the real memory reservation, preserve operation cache telemetry and recheck cancellation after cache-lock or reservation waits while retaining strict miss ordering and thread joins

Version 2.914.0

Added

  • Create native XFA Boolean appearances with six custom marks, round or square borders, mark colors and sizes, five caption placements and shared embedded caption fonts; preserve reversible Unicode export aliases and distinct legal neutral states through event execution and saved PDF reload

Version 2.913.2

Fixed

  • Decode complete rotated matrix barcodes before disconnected fragments and reject exact QR finder mismatches before full-grid sampling, retaining tighter grouping, original linear-bar behavior, atomic scan budgets and the unchanged two-second deadline

Version 2.913.1

Added

  • Resolve existing implicit XFA values through bounded live data contexts without repeating selector parsing charged to the script operation allowance, preserving original transaction deadlines and explicit binding behavior

Version 2.913.0

Added

  • Select configured native rich font families through unchanged Linux V1 JSON callbacks for typed fills and FDF or XFDF imports, load actual required family and style programs with aggregate budgets, and advertise both implemented rich profiles

Version 2.912.0

Added

  • Import and export real FDF or XFDF through Windows file jobs and V1 callbacks with immutable owned input, current unsaved graph preparation, actual four-font rich appearances, authenticated signed AES policies and context commit only after both output callbacks succeed

Version 2.911.0

Added

  • Create native XFA rectangle, line and arc draws and inline PNG or JPEG images with actual sample decoding, alpha masks, fitted aspect and rotated placement, bounded preparation and transactional ownership under cancellation

Version 2.910.0

Added

  • Fit NoZoom and NoRotate annotation appearances around the transformed upper-left rectangle anchor, preserving UserUnit, fitted form geometry, opacity and the actual page clip across scale and rotation

Version 2.909.0

Added

  • Select actual supplied named TrueType families per rich run and bounded XHTML font-family declaration, preserve per-family style metrics and mark caches, and import real FDF or XFDF rich values with family-aware canonical comparison

Version 2.908.1

Fixed

  • Apply valid inline rich-text declarations with independent important priority, enclosing computed font-size bases and explicit inherited properties, preserving CSS comment and quoted/function declaration boundaries

Version 2.908.0

Added

  • Create genuine native XFA combo boxes, list boxes, multi-selection fields, checkboxes and structurally scoped radio groups directly from saved runtime data, with paired display/export labels, per-instance items, access flags and independent native appearance states

Version 2.907.1

Fixed

  • Decode actual PDF hexadecimal escapes and UTF-8 bytes in name-valued and inherited form fields, preserving spaced, punctuated and Unicode button export states through native saved-document reload

Version 2.907.0

Added

  • Render real CID-keyed CFF glyph identities and bounded notdef substitutions through actual font CID-to-GID mappings, preserving independent text extraction and cancellation checks throughout escaped CMap parsing

Version 2.906.0

Added

  • Position cross-style combining marks using actual selected glyph bounds and canonical combining classes when attachment anchors are absent, with independent font scales, same-side stacking and actual resolved item directions for double marks

Version 2.905.1

Fixed

  • Resolve escaped predictor parameters within the actual DecodeParms dictionary and locate the real stream token after balanced outer dictionary syntax, preserving whitespace-valued binary xref payloads in ordinary Windows loading

Version 2.905.0

Added

  • Create native PDF page trees, repeated editable fields, push buttons and Unicode static text directly from XDP and saved runtime values on Linux and Windows, with genuine embedded appearances and bounded candidate preparation before caller output

Version 2.904.2

Fixed

  • Read actual outer cross-reference stream dictionaries without confusing nested encryption settings, resolve escaped entry names and preserve direct encryption dictionaries in ordinary Windows incremental revisions

Version 2.904.1

Fixed

  • Preserve complete paragraph direction controls and paired brackets through automatic standalone shaping and plain multiline field wrapping, with physical-line joining contexts, immutable paragraph caching and bounded total glyph output

Version 2.904.0

Added

  • Execute the native XFA JavaScript, event journal, Data DOM, XML, FormCalc and ICU locale runtime on Linux with owned shared-module leases and real monotonic clocks while preserving existing Windows Unicode initialization

Version 2.903.1

Fixed

  • Keep Unicode directional-only shaping clusters at zero character-spacing advance while retaining logical controls, glyph identities and normal visible-cluster and word spacing

Version 2.903.0

Added

  • Preserve directional embeddings, overrides, isolates and paired-bracket paragraph context across wrapped rich style lines, expose bounded paragraph-derived and cached physical-line ordering APIs and shape actual line items with resolved levels and scripts

Version 2.902.0

Added

  • Import and export styled FDF and XFDF through real Linux JSON C ABI callbacks, embed configured genuine font faces, preserve signature policies and exact private source bytes for no-op imports, and publish current document state only after both callback outputs succeed

Version 2.901.0

Added

  • Render Coons and tensor patch mesh shadings with bounded cubic geometry, source-space color interpolation, continuation edges, fold handling and transactional resource and cancellation limits

Version 2.900.0

Added

  • Load and save namespace-aware native XFA Data DOM XML transactionally, preserve ordered mixed content and data binding identities, quote host values in linear time and retain an exact per-session JavaScript module lease through bounded engine replay

Version 2.899.0

Added

  • Attach styled combining marks to actual GPOS base, ligature and mark anchors with independent font scales, preserve negative-origin glyph outlines inside rich widget clips and reserve fitting line extents for visible stacked marks

Version 2.898.0

Added

  • Read and write bounded FDF and XFDF rich text, decode native XHTML style spans into four genuine embedded font styles and transactionally import real appearances into signed or encrypted PDFs, including canonical comparison of existing read-only rich values

Version 2.897.0

Added

  • Shape selected Unicode style spans with genuine surrounding HarfBuzz context, expose native paragraph order and direction APIs and place typed rich items within actual wrapped physical lines while preserving logical styles and object ownership

Version 2.896.0

Added

  • Resolve native XFA binding SOM through repeated data scopes with bounded descendant traversal, escaped names, Unicode matching, per-instance missing-leaf fallbacks and transactional runtime value synchronization

Version 2.895.1

Fixed

  • Compile static native XFA event support once per owned JavaScript engine and replay complete compact dynamic event arguments, preserving closures, recorded host responses, instance isolation, original journal budgets and transaction deadlines during rollback

Version 2.895.0

Added

  • Import and export actual FDF and XFDF bytes through existing versioned native Linux JSON callbacks, preserve Unicode field values, AES security and authenticated signature policies, and roll back the current document after failed output or result publication

Version 2.894.0

Fixed

  • Wrap overwide typed rich text at complete Unicode grapheme boundaries across font and color styles, measure actual styled ranges before line assignment and preserve indivisible oversized clusters, mixed point sizes and explicit character spacing

Version 2.893.1

Security

  • Authenticate required Adobe signed CRL and OCSP evidence inside genuine RFC3161 document timestamps before accepting signature policy protected form updates, preserving transactional refusal for missing, revoked, expired or untrusted evidence

Version 2.893.0

Added

  • Read and write bounded native FDF and XFDF scalar field data and transactionally import real Unicode, choice and button appearances into independently published PDFs, preserving authenticated signature policies and AES encryption

Version 2.892.0

Added

  • Render bounded free-form and lattice triangle mesh shadings with genuine coordinate, flag, function, color and transparency semantics, and decode hexadecimal Indexed palette streams exactly once

Version 2.891.0

Added

  • Preserve ordered native XFA XML comments and processing instructions through event import, serialization, cloning and transactional rollback, while excluding them from scalar text, rich text and SOM element selection

Version 2.890.1

Fixed

  • Recover transient Windows atomic publication locks with at most eight cancellable replacement attempts while preserving exact targets, prepared bytes, permanent operating-system errors and owned staging cleanup

Version 2.890.0

Added

  • Preserve legal Unicode word, nonbreaking-space, punctuation and numeric groups across typed rich style runs, fit whole groups with real styled font advances, retain mixed-size baselines and coalesce CRLF across style seams

Version 2.889.0

Added

  • Synchronize materialized hidden and invisible XFA scalar aliases after visible field commits while preserving native repeated data scopes, explicit empty values and exact transactional rollback

Version 2.888.0

Added

  • Apply complete Unicode 17 properties and contextual line breaking through existing document APIs, expose raw or LB1-resolved portable property queries, preserve established enum ordinals and tailoring contracts, and honor soft-hyphen prohibitions

Version 2.887.0

Added

  • Import and serialize persistent native XFA exData XML with immediate script reads, namespace and mixed-content preservation, retained repeated-instance identities, transactional rollback and genuine saved XHTML rendering

Version 2.886.0

Added

  • Create and authenticate standalone RFC3161 PDF document timestamps with bounded streaming, SHA256, SHA384 or SHA512 imprints, trusted TSA identity and nonce binding, required ESIC extension declarations and authenticated certification or field-lock exceptions

Version 2.885.0

Added

  • Expose Unicode 17 default line-break opportunities and consume them in actual native rich fields, preserving nonbreaking-space, hyphen and punctuation groups and Unicode explicit separators with exact original V and RV values

Version 2.884.0

Added

  • Expose portable Unicode 17 default extended grapheme boundaries and wrap overwide rich words at complete clusters, retaining actual Unicode appearance content and correcting joining-form width changes after substring shaping

Version 2.883.0

Added

  • Create persistent native XFA image and geometric value children and render real PNG alpha, image DPI and aspect geometry, preserving repeated-instance isolation and transactional rollback; correct FPC image pixels that previously rendered black

Version 2.882.0

Added

  • Inherit actual child-stream font resources and PDF text parameters in Form, Type3 and Pattern rendering, preserve graphics-state text saves, honor invisible Type3 text and reset independent annotation appearance defaults

Version 2.881.0

Added

  • Automatically authenticate standard detached CAdES signatures with required signing-certificate binding and read genuine hexadecimal or escaped literal Contents strings consistently for verification, permitted form updates and long-term validation evidence

Version 2.880.2

Fixed

  • Retain rich paragraph alignment across empty initial runs, inline style changes and explicit line breaks, and paint requested rectangle or circle borders and measured highlighted rows instead of silently omitting them

Version 2.880.1

Fixed

  • Observe cancellation before page renderer allocation and context installation and during initialization, preserve an active caller color context when construction is initially rejected, and release borrowed display lists without publishing partial bitmaps

Version 2.880.0

Added

  • Render actual native XFA scalar draw and caption values after script creation, preserve explicitly empty values and repeated-instance isolation, and retain exact rollback when later native drawing exhausts its budget

Version 2.879.0

Added

  • Create persistent native XFA scalar value children with immediate field, data and shared-alias synchronization, typed form persistence, widget commits, repeated-instance isolation and exact transactional rollback

Version 2.878.0

Added

  • Generate actual Windows signature appearance profiles with embedded Unicode fonts for merged and separate widgets, rotation, encryption and certification workflows, and enforce required AppearanceFilter against the profile actually generated

Version 2.877.0

Added

  • Render actual colored and uncolored PDF tiling and shading patterns with inherited pattern origins, nested cells, overlap, stroke and stencil paints, transparency and bounded cancellation across native Linux and Windows targets

Version 2.876.1

Fixed

  • Preserve complete XFA SOM binding and actual emitted-instance data selection while applying missing-instance form and template defaults, without borrowing values from another repeated occurrence

Version 2.876.0

Added

  • Embed authenticated CRL and OCSP evidence in signed Windows Adobe RevocationInfoArchival attributes, enforce actual seed policies and validate trusted status, response authorization and freshness before publishing signatures

Version 2.875.0

Added

  • Resolve actual XFA field defaults without manufacturing data while reading, preserve explicit empty instance values and ensure edits write independent instance data without modifying shared templates

Version 2.874.0

Added

  • Edit native rich-text fields with typed Unicode style runs, actual embedded regular, bold, italic and bold-italic fonts, measured mixed-size appearance baselines, decorations and synchronized V/RV values across widgets and encrypted output

Version 2.873.0

Added

  • Create persistent per-instance XFA UI choices through native scripts and consume actual text, password and choice widgets with multiline and measured long-word appearances

Version 2.872.0

Added

  • Create actual Windows DocMDP certification signatures with P1, P2 or P3 permissions and authenticated Unicode legal attestations, honor required seed policies and FieldMDP locks, and permit subsequent signatures only where the signed policy allows them

Version 2.871.1

Fixed

  • Execute XFA event bodies in their own lexical and strict scope while preserving field aliases in the outer scope, the event this value, explicit returns and exact failure rollback

Version 2.871.0

Added

  • Create missing XFA font, paragraph, fill, color, border, edge and corner properties through actual native event scripts, persist stable per-instance form bindings with exact rollback, and regenerate optional widget appearances after effective style changes

Version 2.870.0

Added

  • Render actual native Windows Cairo output with explicit GDI standard-font outlines and correct Win32 OpenJPEG calling conventions, using reproducible pinned native dependencies and independent output acceptance

Version 2.869.0

Added

  • Sign Windows documents with real synchronous C ABI RFC 3161 transport callbacks and SHA256, SHA384 or SHA512 imprints, authenticated TSA trust and CRL checks, required timestamp seed constraints and bounded transactional publication

Version 2.868.0

Added

  • Generate masked password and literal file-select field appearances with preserved Unicode values and AES-256 policies, carry escaped supplementary Unicode through the native JSON ABI, retain subnormal PDF decimal source tokens, and create RGB prefetch buffers without a screen DC

Version 2.867.0

Added

  • Wrap XFA rich text across inline styles with measured word boundaries, explicit line breaks, shared line baselines and alignment, actual justified word gaps and fragment link geometry, preserving native repeated-instance XDP persistence

Version 2.866.1

Added

  • Authenticate raw-signature RFC 3161 tokens using their actual supported SHA256, SHA384 or SHA512 message imprint algorithm while retaining the existing SHA256 request default and full token trust and revocation checks

Version 2.866.0

Added

  • Align mixed-size XFA rich text runs to a common saved-PDF baseline, preserve the caller text-position mode, and apply the larger adjacent paragraph margin including empty paragraph transitions

Version 2.865.0

Added

  • Request and authenticate RFC 3161 timestamps for explicit SHA256, SHA384 and SHA512 message imprints without hashing the imprint again, preserving strict digest lengths, fresh nonces, bounded transport, trust chains and revocation validation

Version 2.864.0

Fixed

  • Preserve the original barcode scan deadline by prioritizing complete linear rasters and quiet-zone candidate groups, and reject invalid DataMatrix projective finder borders before sampling interior modules without changing finder tolerances

Version 2.863.0

Added

  • Honor valid inherited Windows signature seed and certificate constraints with actual digest and CAdES selection, Unicode signature information, normalized indirect field locks, authenticated historical lock permissions, permitted second signatures and encrypted form policies

Version 2.862.0

Added

  • Render actual native function, axial and radial PDF shadings with bounded geometry and function evaluation, inherited clipping, Domain, Matrix, Extend and BBox semantics, calibrated and special colors, transparency, soft masks, blending and knockout groups

Version 2.861.0

Added

  • Export actual native annotated contract review PDFs and explicit Unicode highlights with visible normal appearances, preserving source content and incremental signature revisions, enforcing authenticated P3 annotation permissions and encrypted user rights, and preparing bounded outputs before callback publication

Version 2.860.0

Added

  • Bind native Linux signing and verification options to actual digest selection, Unicode signature metadata, named appearance profiles, explicit trust bytes, timestamp transport identity and authenticated revocation evidence, with bounded private preparation before publication

Version 2.859.0

Added

  • Apply live per-instance XFA font, paragraph and scalar body overrides to actual rich text drawing and measurement, preserve inline CSS precedence and explicit empty content through native XDP persistence, and retain exact transactional rollback

Version 2.858.0

Added

  • Decode escaped PDF font, encoding, glyph, color and resource names exactly once in native rendering and shared text extraction, preserve literal hash resource keys and keep equivalent names aligned with actual outlines and glyph metrics

Version 2.857.0

Added

  • Compare native documents by page and object counts, Unicode text, normalized structural graphs and actual rendered RGB or luminance pixels, with semantic stream equivalence, authenticated encrypted inputs and bounded preparation before callback publication

Version 2.856.0

Added

  • Select actual native signature appearance presets by registered profile name, generate distinct approval, certification and compact layouts, preserve authenticated profile metadata and encrypted policies, and reject unknown profiles before publication

Version 2.855.0

Added

  • Apply native XFA property schema defaults and preserve explicit empty values, per-instance styles and fractional point font, border and draw measurements through actual AcroForm and flattened PDF output

Version 2.854.0

Added

  • Expose native XFA property and attribute objects with persistent per-instance form bindings, synchronized value/data writes and actual font, border, paragraph and UI layout effects, preserving transactional rollback and scriptless focus budgets

Version 2.853.0

Added

  • Embed genuine Adobe revocation evidence as authenticated CMS signed attributes, validate complete certificate and timestamp chains against explicit trust and current CRL or OCSP evidence before publication, and enforce required signature seed revocation embedding

Version 2.852.0

Added

  • Write authenticated Unicode legal attestations in certification signatures, honor certification-only Legal seed requirements, preserve existing legal statistics and catalog permissions, and retain encrypted string policies

Version 2.851.0

Added

  • Render physical Lab ICC source colors and bounded XYZ compatibility inputs in paths, text, packed images and Indexed palettes, preserve calibrated and ICC alternate tints through RGB or CMYK groups, and apply embedded JPX profiles with separate or associated alpha

Version 2.850.0

Added

  • Convert compatible missing-font documents to searchable text and vector PDF/A-4 with explicit bounded Ghostscript font embedding, genuine veraPDF validation and atomic publication, and select native Unicode TrueType fonts consistently across distributions

Version 2.849.0

Added

  • Render embedded simple Type1 and Type1C fonts with exact declared or built-in Adobe glyph encodings, keep ToUnicode extraction separate from displayed outlines, and accept validated neutral stroke-adjustment and relative colorimetric graphics state

Version 2.848.0

Added

  • Resolve complete XFA descendant path suffixes within each wildcard context, preserve local occurrence boundaries and execute predicates in the current event scope with exact transactional rollback

Version 2.847.0

Added

  • Enforce inherited native signature seed and certificate constraints with real issuer chains, subject and key usage policies, selectable CMS digests, encrypted Unicode signature metadata and locked-document transforms

Version 2.846.0

Added

  • Expose native XFA datasets and data nodes with bidirectional form bindings, dynamic instance data mirroring, stable retained references, independent unbound form values and transactional script replay

Version 2.845.0

Added

  • Emit authenticated FieldMDP references from existing or inherited signature field locks, preserve encrypted Unicode field names and certification references, and apply lock permission levels without weakening original signed policies

Version 2.844.0

Added

  • Render Separation and DeviceN alternate tints with bounded vector functions, packed images and CMYK group blending, preserve None knockout geometry and map All registration colors consistently

Version 2.843.0

Added

  • Resolve dynamic XFA SOM paths with inferred and relative occurrences, scoped predicates, class and descendant selectors, wildcard collections and transactional script-object property assignments

Version 2.842.0

Added

  • Provide native two-document C ABI and Pascal semantic contract comparison through a shared portable core, with source glyph geometry, encrypted and nested-content inputs, prepared JSON or HTML review output and stable concurrent lock ordering

Version 2.841.0

Added

  • Authenticate original CMS and CAdES revisions before native form updates, enforce original DocMDP and FieldMDP permissions and locked fields, preserve signed content and resources, and synchronize push-button caption metadata atomically

Version 2.840.0

Added

  • Render calibrated CalGray, CalRGB and Lab source colors, calibrated group and page blending, Indexed bases, 16-bit image samples and XYZ luminance soft masks with bounded conversion and safe gamma evaluation

Version 2.839.0

Added

  • Implement FormCalc value copying and stable node references with assignment-through-reference, rebinding and null detachment, numeric identity equality, retained handles and transactional rollback

Version 2.838.0

Added

  • Execute runtime-generated FormCalc Eval programs with isolated calculation scopes, nested evaluation, Unicode source, bounded compilation retries and transactional host response replay

Version 2.837.0

Added

  • Generate embedded Unicode appearances through native Linux JSON form filling for text, choice and multiselect fields, checkbox and radio states, and push-button captions, retaining transactional publication and encryption

Version 2.836.0

Added

  • Provide synchronous RFC 3161 timestamp transport through a compatible extended native signing operation record, with bounded responses, shared cancellation and explicit TSA trust and revocation validation

Version 2.835.0

Added

  • Execute transactional XFA host state, page and lifecycle flags, per-instance focus changes, pending-edit validation and reset operations with stable identity and lexical-state replay

Version 2.834.0

Added

  • Validate CAdES signing-certificate identifiers against the actual signer independently of optional certificate trust, and resolve embedded Encoding CMap streams through the native font adapter

Version 2.833.0

Added

  • Render vertical Identity-V and Unicode predefined CMaps with real W2/DW2 origins, matrices, text movement and clipping, and correctly decode embedded Encoding CMap streams

Version 2.832.0

Added

  • Sign through the native Linux callback ABI with PEM or bounded PFX identities, new Unicode appearance fields and certification, and retain the prepared signed document as the current context after successful publication

Version 2.831.0

Fixed

  • Apply signing seed, lock and read-only constraints consistently to encoded PDF names, reject semantic duplicate keys and validate inherited policy dictionaries

Version 2.830.0

Added

  • Execute advanced XFA numeric, calendar, text and compound picture clauses through real form events, preserving input precision, locale semantics and transactional script replay

Version 2.829.0

Added

  • Import native page resource graphs and transformed annotation appearances into plain or encrypted documents and convert compatible inputs to searchable text and vector PDF/A-4 with genuine validation before atomic publication

Version 2.828.0

Added

  • Render four-component CMYK and ICC transparency groups and page groups with all blend modes, nested knockout geometry and shared color-profile budgets

Version 2.827.0

Added

  • Execute locale-aware XFA date, time, numeric and text pictures with embedded locale sets, bounded transactional locale queries and protected JavaScript IEEE arithmetic

Version 2.826.0

Added

  • Read and write Unicode array-valued choice selections, maintain sorted option indices and generate matching appearances for visible and scrolled list-box selections

Version 2.825.0

Added

  • Sign encrypted documents through Windows JSON and C ABI jobs while preserving the original revisions, AES security settings, document IDs and signature permissions

Version 2.824.0

Added

  • Create native Linux HTML documents, insert visible or fitted searchable Unicode text, run bounded cancellable Tesseract OCR, and author independently validated raster PDF/A-4 output through Pascal and callback APIs
  • Render graphics-state Alpha/Luminosity masks, bounded transfer functions, additive transparency and page groups, knockout shapes, and extended JPEG 2000 samples, embedded color and alpha
  • Validate supplied certificate, OCSP and CRL evidence before incremental DSS/VRI publication while preserving existing signatures and AES encryption
  • Execute explicit typed XFA host and FormCalc transport callbacks with bounded requests, recorded responses and transactional replay

Fixed

  • Preserve Unicode values and exception diagnostics returned by the Free Pascal QuickJS API

Version 2.823.0

Added

  • Embed validated RFC 3161 timestamps in headless CMS signatures with message-imprint, nonce, TSA authorization, trust and supplied revocation-evidence checks, preserving destination files when a required timestamp fails
  • Retain XFA script-object lexical state, nested closures and independent repeated-instance modules with deterministic bounded transactional replay
  • Apply explicit character and word spacing to measured and generated headless Unicode text appearances

Fixed

  • Use specification-correct FormCalc At source/search argument order and return the first position for an empty search string

Version 2.822.0

Added

  • Execute general QuickJS and compiled FormCalc XFA events with live repeated-instance DOM operations, transactional standard form-packet persistence, automatic initialize/calculate/validate/ready lifecycle, bounded execution and cancellation

Fixed

  • Apply specification-correct XFA financial function parameters and cash-flow formulas, Gregorian date origins and negative remainder behavior, preserving double precision across Delphi and Free Pascal

Version 2.821.0

Added

  • Expand native headless document workflows with a versioned Linux C ABI, real callback-based text/form/render/sign operations, bounded cancellation and failure rollback, multiline/comb/rotated/choice/button appearances with HarfBuzz/FriBidi shaping, PFX identities, new visible signature fields and DocMDP certification
  • Render bounded image masks, soft masks, Indexed/ICC colors, PDF blend modes, isolated RGB transparency groups, Type3 glyphs and text clipping, and decode JPEG, JPEG 2000, CCITT, JBIG2 and RunLength image streams through the authenticated native document path

Version 2.820.0

Added

  • Fill supported native headless single-line Unicode AcroForm fields with genuine embedded TrueType appearances, exact glyph widths and CIDToGID/ToUnicode mappings, transactional multi-widget updates, preserved AES security, controlled font embedding and bounded atomic saving on Linux and Windows

Version 2.819.0

Added

  • Render supported PDF paths, horizontal text, images, Forms and existing annotation appearances to PNG with native Cairo/FreeType CPU surfaces on Linux, enforce bounded work and cancellation, preserve sources, and publish PNG files atomically

Fixed

  • Use canonical Adobe AFM advances for twelve standard Helvetica/Times/Courier styles when PDF widths are absent, preventing cumulative text-position drift from substitute font metrics while preserving explicit and embedded font widths

Version 2.818.0

Added

  • Publish genuine native headless incremental CMS/CAdES PDF signatures on Linux and Windows using existing unsigned fields and explicit PEM credentials, preserve prior revisions and AES-256 security, verify exact signed bytes, and protect existing destinations through bounded atomic publication

Version 2.817.0

Added

  • Complete bounded JSON and C ABI document jobs with validated incremental PFX signing, existing signature fields, two-document comparison, six native comparison modes and two-sided contract JSON/HTML/annotated-PDF review, including cooperative cancellation, resource limits and atomic file publication

Version 2.816.0

Added

  • Verify native headless PDF signatures with exact ByteRange/Contents binding and streaming OpenSSL 3, generate genuine detached CMS/CAdES signatures from explicit PEM credentials, and report certificate trust separately from integrity on Linux and Windows

Version 2.815.0

Added

  • Use the bounded XFA instance-presentation helper for conditional events, explicit repeated binding, independent instance presence and access, stable persisted identity, transactional reflow, host canvas painting and accessibility records

Version 2.814.0

Added

  • Open native headless AES-256 R5/R6 documents on Linux and Windows, authenticate owner/user permissions, decode encrypted compressed objects, and save encrypted incremental form values with exact source-prefix preservation and bounded atomic output

Version 2.813.0

Added

  • Reflow text in bounded page rectangles across baselines and selected shared Form invocations, change fonts and width, inspect conservative collision reports, and use sealed previews with transactional commit or rollback

Fixed

  • Preserve loaded-document edits in repeated saves after object serialization, including stream-to-file saves and retries after an output failure

Version 2.812.0

Added

  • Convert compatible loaded documents to PDF/A-4 while preserving original text, vectors, images and embedded resources, compose visible annotation/widget appearances, retain or add searchable OCR, report explicit losses, and validate preservation before atomic file publication

Version 2.811.0

Added

  • Load cross-reference streams, hybrid reference sections and compressed object streams through the native headless document API, validate bounded member indices and revision precedence, preserve exact wide numeric source values, and save source-preserving independent incremental output on Linux and Windows

Version 2.810.0

Added

  • Correct scan orientation, continuous-angle skew, shadows, borders and explicit perspective quads with bounded reversible geometry, use trusted Tesseract orientation evidence, and map OCR words, baselines, page quadrilaterals and semantic layout back to the original scan for editable structured output

Version 2.809.0

Added

  • Configure local Tesseract and RapidOCR CLI or DLL engines in JSON and C ABI OCR jobs, retain Unicode searchable text and scan pixels, discover supported adapters, validate explicit settings, and enforce rendering/recognition budgets with atomic output and failed-publication rollback

Version 2.808.0

Added

  • Load classic-xref PDFs in native Linux console applications, extract Unicode page and nested Form text with inherited resources, inspect and fill AcroForm text values, and publish source-preserving incremental output with typed diagnostics, cancellation, resource budgets, and atomic replacement

Version 2.807.0

Added

  • Locate multiple separated native barcodes in one raster, retain repeated payloads at distinct positions, decode rotated and projective ECC 200 Data Matrix symbols with four-corner geometry, and enforce aggregate scan budgets with cancellation and atomic result publication

Version 2.806.0

Added

  • Compare contract paragraphs and word or sentence edits with insert, delete, replace and move records, two-sided page locations, repeated-clause preservation, explicit boilerplate exclusions, bounded HTML review, and source-checked annotated PDF output

Version 2.805.0

Added

  • Import HTML business templates with nested flex/grid panels, wrapping rows, grid column spans, images and form controls in parallel boxes, plus explicitly supplied font-face resources retained through deferred embedding and a separate decoded-image cache budget

Version 2.804.0

Added

  • Build the shared PDF object, Direct File I/O, content and font decoding, compression, cryptography, and writer core as native Linux code with POSIX mapping and synchronization, preserving Windows APIs and correctly serializing classic xref entries

Version 2.803.0

Added

  • Register versioned invoice profile and country-rule layers, validate explicit CII XML or hybrid invoices with scope-aware reports, and execute official XRechnung 3.0.2 and French CTC invoice rules through an explicitly configured Saxon engine, with published profile selection and failure-closed diagnostics

Version 2.802.0

Added

  • Export typed tables to Office-independent XLSX workbooks through native APIs, JSON jobs, and the C ABI, preserving value types, currency and percentage formats, merged cells, exact large integers, and optional source metadata with bounded staging and failure-safe publication

Version 2.801.0

Added

  • JSON jobs and the C ABI can export selected loaded pages as semantic HTML, XHTML, XML, or JSON and typed tables as CSV or JSON, with native options, bounded staging, cancellation, signature-field compatibility, source-state preservation, and atomic file publication

Version 2.800.2

Fixed

  • Invalidate loaded form relationship caches before graph rollback so signing jobs and failed document edits leave the original document safe to query and reuse

Version 2.800.1

Fixed

  • Ordered parallel rendering now admits memory reservations in input order so later pages cannot exhaust the budget while delivery waits for an earlier page, preserving cancellation and bounded output on Delphi and FPC

Version 2.800.0

Changed

  • SVG text, loaded FreeText appearances, and loaded text replacements now preserve document shaping features, script auto-shaping flags, and GSUB script and language selections, using each selected font's OpenType data and retaining Unicode mappings across font changes

Version 2.799.0

Changed

  • SVG vector imports now retain inherited dash arrays, dash offsets, and miter limits for solid and gradient strokes, while native rendering preserves phased and zero-length dash patterns

Version 2.798.0

Changed

  • Styled Unicode text now retains bold and italic fonts through fallback layout; style-aware ResolveFontForCodePoint and AnalyzeUnresolvedGlyphs overloads match preflight to output, and FPC XML character references preserve Unicode scalars instead of corrupting text

Version 2.797.0

Fixed

  • SVG imports now composite object and group opacity through isolated vector transparency Forms, preserve independent fill and stroke alpha, and retain nested resource, clip, mask, and link behavior under explicit budgets

Version 2.796.0

Added

  • Expose bounded PDF/A-4 raster archival conversion through JSON jobs and the C ABI, with explicit information-loss acceptance, structured budget failures, cooperative cancellation, source-state restoration, and atomic file output

Version 2.795.0

Added

  • Loaded PDFs can now be normalized into validated PDF/A-4 raster documents with strict native rendering, verified sRGB color, bounded decoding and raster resources, cancellation, source alias protection, and atomic file publication; the conversion report identifies deliberately removed interactive and attached content

Version 2.794.0

Changed

  • HTML5 import now uses measured mixed-direction text lines, widow and orphan pagination, optional hyphenation, bounded flex and grid layouts, and observable CSS diagnostics; FPC native bitmaps synchronize direct GDI drawing with LCL image caches

Version 2.793.0

Changed

  • Add bounded dynamic XFA instance-manager add/remove and template presence events with layout rebinding, edit-state preservation, atomic rollback, resource limits, and persistent XDP output

Version 2.792.0

Changed

  • Expand SVG import with measured embedded Unicode fonts, PNG/JPEG resources, gradient strokes, and true Alpha and Luminosity soft masks, and correct native group alpha and FPC bitmap surface compositing

Version 2.791.0

Changed

  • Add previewable loaded Unicode text replacement with embedded fonts, wrapping and width policies, per-match diagnostics, stale-plan detection, bounded resources, atomic commits, and JSON/C ABI preview and apply operations

Version 2.790.0

Changed

  • Implement standard CFF Type 2 stack and transient-array operations in glyph rendering and preserve arithmetic-derived local and global subroutine dependencies during font subsetting

Version 2.789.0

Changed

  • Expand built-in barcode decoding with Code 128, EAN/UPC, perspective-aware QR recovery, Data Matrix ECC 200, and PDF417 with Reed-Solomon correction and bounded payload decoding

Version 2.788.0

Changed

  • Windows FPC now supports native TIFF, JPEG/JPX, ICC conversion, JBIG2 and Zopfli through an ABI-validated codec bridge, and uses actual worker threads for page, ordered-page, tile, band and JPEG 2000 tile rendering with budgets, ordered callbacks, cancellation and deterministic pixels

Version 2.787.0

Changed

  • The C ABI and JSON job processor now share schema-versioned document operations for capabilities, rendering, Unicode text and forms, OCR layers, redaction, and PFX signing, with explicit resource budgets, callback failure rollback, and atomic file outputs; multi-page callback inputs are loaded correctly

Version 2.786.0

Changed

  • Loaded FreeText editing now rebuilds embedded Unicode and rich-text appearances atomically, with wrapping, alignment, opacity, rotation, callouts, insets, and explicit overflow policies; rewritten stream payloads are captured before mutation so transaction rollback restores original text

Version 2.785.0

Added

  • The SearchableOCR console demo adds built-in OCR and Tesseract DLL or CLI engines alongside RapidOCR, generates a three-page scan sample, and exposes page selection, confidence filtering, recognition budgets, and detailed conversion statistics

Version 2.784.0

Changed

  • FDF and XFDF batch imports now roll back earlier field and annotation updates after an import failure, preserve caller-owned transactions, and clear failed interchange result metadata

Version 2.782.0

Added

  • The local Tesseract OCR adapter accepts configurable page segmentation, recognition engine mode, pixel limits, and timeouts through THPDFTesseractOptions for single-line, single-word, sparse-text, and vertical-block recognition

Fixed

  • The native Tesseract adapter uses the cross-text box dimension for predominantly vertical baselines, preventing vertical word lengths from inflating searchable PDF text sizes

Version 2.781.0

Changed

  • The Delphi and C++Builder demo collections now include a multi-page barcode field guide with business labels and a complete navigation handbook with hierarchical bookmarks, named destinations, and working companion-document links; the minimal PDF/A recipes move to Miscellaneous, and redundant standalone outline and metadata projects are retired

Version 2.780.1

Fixed

  • The Showcase annotation page separates content preview captions from live free-text and stamp appearances, preventing overlapping labels in PDF readers while keeping the examples identifiable when annotation appearances are hidden

Version 2.780.0

Changed

  • The demo catalogs now prioritize complete workflows and separate seventeen minimal, focused, or legacy examples into Miscellaneous subfolders; the redundant ImageCompression and AddDelPages projects have been removed, with their functionality retained in the main demos and regression suites

Version 2.779.0

Added

  • The Delphi and C++Builder Showcase demos now open a complete ten-chapter document studio with embedded preview, search highlighting, personalized covers, one-click review watermarks, verified page export, and AES-256 R6 protected copies that retain edits; both use the same document engine and support a window-free generation command

Version 2.778.1

Removed

  • The redundant Delphi and C++Builder TestNumeric GUI demos have been retired in favor of automated numeric regression tests that verify fractional page dimensions and drawing operands after saving and reloading uncompressed and Flate-compressed PDFs, with persisted numeric-array coverage

Version 2.778.0

Changed

  • The page and customer-report demos now provide practical workflows: PageOperations edits real PDFs through extract, delete, move, insert, and append commands with reload verification, while DBTable uses the table engine for wrapped rows, repeated headers, and automatic pagination with a database-free default sample

Version 2.777.1

Fixed

  • OCR rejects malformed UTF-8, unsupported control characters, and incompatible native detection-model outputs before publishing text, and accounts for discarded recognition results when enforcing cross-page word limits

Version 2.777.0

Fixed

  • Built-in OCR accepts blank or unrecognized pages as successful empty results so scanned-document batches can continue, preserves Windows FPC bitmap pixels, and checks cancellation and time limits throughout image analysis
  • Native RapidOCR angle classification preserves short-line aspect ratios and requires confident upside-down predictions before rotating text crops
  • The local Python RapidOCR adapter preserves recognized line spacing and punctuation instead of publishing individual characters that can gain unwanted spaces, and the Tesseract DLL adapter rejects C1 control characters before text publication

Version 2.776.0

Added

  • Scanned PDF text layers can atomically replace marked HotPDF OCR streams after saving and reloading, retain existing layers on failed or empty recognition, report replaced pages, and use a native multilingual RapidOCR console example for conversion without overwriting existing files

Fixed

  • Adjacent Latin and Cyrillic OCR words with a same-line word gap receive explicit Unicode spaces for stable phrase search and copying, while adjacent CJK words remain unseparated
  • Windows FPC JPEG scan rendering retains decoded pixels when converting to the OCR bitmap format, preventing blank recognition input from an LCL pixel-format change

Version 2.775.0

Added

  • Native RapidOCR gains local model presets for Simplified and Traditional Chinese, English, French, German, Spanish, Portuguese, Italian, Dutch, Turkish, Japanese, Korean, Russian, Arabic, and Hindi, with matched character dictionaries, verified model installation, horizontal reading order, and multilingual Unicode output in Delphi, C++Builder, and Windows FPC/Lazarus

Fixed

  • Local process OCR adapters retry temporary output cleanup when diagnostic files remain briefly locked after worker termination

Version 2.774.0

Added

  • A native RapidOCR DLL adapter keeps local ONNX models in process, recognizes bitmap snapshots without Python, supports optional angle classification and Unicode searchable PDFs, and validates output budgets with cooperative cancellation in Delphi, C++Builder, and Windows FPC/Lazarus builds

Version 2.773.0

Added

  • The local RapidOCR adapter gains explicit ONNX model configuration, optional angle classification, local character dictionaries and fonts, CPU thread controls, offline preflight, and recognition budgets for Unicode searchable PDFs in Delphi, C++Builder, and FPC/Lazarus builds

Version 2.772.1

Fixed

  • Tesseract DLL and CLI adapters now work in Windows FPC/Lazarus Win32 and Win64 builds, preserving Unicode OCR words and reading current LCL image pixels for searchable PDF text layers

Version 2.772.0

Added

  • An optional native Tesseract DLL adapter adds multilingual OCR with configurable page segmentation and engine modes, Unicode words, confidence, word bounds, and baselines, plus cooperative cancellation, recognition deadlines, and output budgets for searchable scanned PDFs

Version 2.771.1

Changed

  • Built-in OCR recognizes regular, bold, italic, and bold italic ASCII text on light or predominantly dark backgrounds, accepts faded lettering with sufficient grayscale contrast, and omits words containing uncertain retained glyphs instead of silently dropping characters

Version 2.770.175

Fixed

  • LoadedDocInspector and SignatureValidator return a failure exit code for unreadable PDFs and reject invalid command arguments instead of reporting a successful empty inspection

Version 2.770.174

Fixed

  • LoadedImageExport validates every image destination before exporting any page, preventing path aliases from overwriting the input PDF or another selected page, and rejects unsupported format names

Version 2.770.173

Fixed

  • The rendered-page disk cache skips linked document folders during recovery, lookup, storage, invalidation, and eviction, preserving files outside the cache

Version 2.770.172

Fixed

  • JSON jobs reject malformed syntax, trailing content, numbers outside the finite Double range, and excessive nesting before running any operation, releasing partially parsed values on failure

Version 2.770.171

Fixed

  • PreflightCLI checks the complete report output plan before writing, protecting input PDFs from file aliases and rejecting conflicting report destinations; recursive scans skip linked child directories to avoid cycles

Version 2.770.170

Fixed

  • CopyPage checks file identities before exporting, rejects conflicting output aliases, and keeps automatically named outputs beside extensionless inputs in directories containing periods

Version 2.770.169

Fixed

  • JSON job values preserve escaped null characters, serialize finite numbers outside the signed 64-bit range without integer overflow, and return defaults for out-of-range integer parameters without changing the process locale

Version 2.770.168

Fixed

  • Simple-object parser recovery finishes on stray closing brackets in unbracketed array bodies and preserves valid numbers and dictionary keys immediately after malformed delimiters

Version 2.770.167

Fixed

  • HotPDFCLI rejects output paths that alias input files and checks all generated paths before starting batch export, preventing commands from truncating or replacing their source data

Version 2.770.166

Fixed

  • The ExtractText example protects its input PDF when an output uses a directory junction or hard link, and LoadedImageExport reports failure for unreadable documents or incomplete page exports

Version 2.770.165

Fixed

  • Direct file reads invalidate incomplete cache refills after an I/O failure and safely bound read-ahead ranges near the signed 64-bit offset limit

Version 2.770.164

Fixed

  • RunLength decoding allocates only the decoded payload size and validates malformed runs before allocating output, avoiding excessive memory reservations for streams with early terminators

Version 2.770.163

Fixed

  • The Delphi and C++Builder examples locate bundled images, metafiles, color profiles, and optional signing fixtures from both project folders and nested build output directories

Version 2.770.162

Fixed

  • The HugeFileBenchmark examples reject generated PDF paths that match any input document before starting a benchmark batch
  • The C++Builder example preserves relative input subdirectories for generated PDFs, preventing recursive inputs with the same name from sharing an output file
  • Failed operations, memory-limit violations, and invalid zero-page loads now produce a nonzero exit code while retaining the benchmark report

Version 2.770.161

Fixed

  • The Delphi and C++Builder Preflight CLIs reject report and aggregate output paths that match an input PDF, preventing reports from overwriting source documents

Version 2.770.160

Fixed

  • ASN.1 parsing rejects high-tag-number encodings that exceed the supported 32-bit tag range instead of accepting a wrapped tag number

Version 2.770.159

Fixed

  • The C++Builder Preflight CLI preserves relative subdirectories for recursive reports and dashboard links, so PDFs with the same name no longer overwrite each other
  • The Delphi and C++Builder Preflight dashboards encode report links correctly for special characters and non-ASCII directory names
  • C++Builder standard-validation failures now return exit code 3 and appear as invalid in the dashboard for every report format, including inputs that fail to load

Version 2.770.158

Fixed

  • The C++Builder PDF merge example resolves relative input paths from the executable directory and keeps file dialogs from changing the working directory
  • Each generated bookmark now targets the first page copied from its own input document

Version 2.770.157

Fixed

  • The object parser normalizes unescaped CR and CRLF line endings inside PDF literal strings to LF while preserving escaped carriage returns and line continuations

Version 2.770.156

Fixed

  • LZW stream compression reports the actual number of bytes written for empty input
  • LZW compression and decompression round-trip correctly with InitialCodeSize set to 2, and compression rejects literals outside a reduced alphabet before writing output

Version 2.770.155

Fixed

  • In Win64 builds, importing SVG or XPS path data with a number that has an exponent close to 100, such as 1e-100 or 5e99, no longer raises a floating-point overflow when the application unmasks floating-point exceptions
  • Such numbers are now read as their actual value, so a long mantissa with a large negative exponent imports correctly

Version 2.770.154

Fixed

  • DecodeLoadedPageBarcodes now reports correct barcode bounds on pages whose CropBox differs from the MediaBox when no decode region is set; previously the positions were shifted by the crop box offset, or scaled against the wrong page height
  • Face findings from DetectLoadedRedactionFindings (with face detection enabled) now land on the detected faces on such pages, instead of being offset from them
  • Both features render the visible page area (the CropBox clipped to the MediaBox) and now map detected positions back through that same area; the page box passed to a custom IHPDFFaceDetector now matches the bitmap it receives
  • Barcode decoding with an explicit region, and pages without a CropBox or whose CropBox equals the MediaBox, are unchanged

Version 2.770.153

Fixed

  • ApplyLoadedOCRTextLayer now places the invisible text layer correctly on pages whose CropBox differs from the MediaBox; previously the searchable text was shifted by the crop box offset, or scaled against the wrong page height, so selections and search hits did not line up with the visible words
  • The OCR raster is rendered from the visible page area (the CropBox clipped to the MediaBox), and recognized word positions are now mapped back through that same area
  • The page box handed to a custom IHPDFOCREngine in THPDFOCRRequest is now the rendered visible area, matching the bitmap it receives
  • Pages without a CropBox, or whose CropBox equals the MediaBox, are unchanged

Version 2.770.152

Fixed

  • GetLoadedInvoiceSummary now returns the buyer name (BT-44) as decoded text, so names with non-ASCII letters such as "Müller & Söhne" no longer come back as raw UTF-8 bytes with the XML escape still in place
  • The buyer name is now always read from the buyer trade party itself, matching the seller name and the other summary fields
  • ValidateVisualXmlConsistency benefits as well: a buyer name with accented letters or escaped characters is now compared with the visible page text as written

Version 2.770.151

Fixed

  • THPDFTable now keeps rows tied together by a RowSpan on one page: when the group does not fit in the remaining space, the whole group moves to the next page together with the repeated header
  • A cell spanning several rows no longer runs past the bottom margin while the rows it covers continue on the next page
  • A row-span group taller than a whole page is still split row by row, with its spanning cells cut at the bottom margin of each page
  • TotalHeightRendered reflects the moved group on the last page

Version 2.770.150

Fixed

  • THPDFTable cells with a ColSpan or RowSpan of zero or less are now drawn as single cells, as the table grid already placed them, instead of pushing the following cells into the wrong columns
  • Negative spans no longer make the table read outside its grid, and spans running past the last column or row are cut at the table edge when measuring and drawing too
  • A cell whose first word is wider than the column no longer starts with an empty line, so its row is no taller than the wrapped text needs

Version 2.770.149

Security

  • XFA forms that declare an internal entity in their DOCTYPE can no longer blow up memory by referencing a large entity many times: the text substituted for internal entities is capped at 16 MB per document
  • A single internal entity value longer than 1 MB is rejected
  • Documents exceeding either limit fail to load with an EHPDFXFAError instead of expanding to gigabytes of text; ordinary entity use is unaffected
  • Text containing many entity or character references is also decoded in linear time

Version 2.770.148

Fixed

  • RecalculateLoadedFormFieldsIncremental now treats every field passed as changed the same way, whatever order the names are listed in
  • A calculated field that was written directly together with one of its source fields keeps the written value instead of being recalculated only when listed after that source
  • Fields that depend on the changed fields are still recalculated once, in calculation order

Version 2.770.147

Fixed

  • GS1-128 barcodes with start code A (THPDFBarcode type 20) now encode their data in code set A, as Code 128 A does
  • Lower-case letters in such barcodes are now written with a SHIFT to code set B instead of a set B codeword that scanners read as a control character in set A
  • Scanned GS1-128 A symbols containing lower-case text therefore return the original text

Version 2.770.146

Fixed

  • EAN-2 and EAN-5 add-on barcodes (THPDFBarcode types 18 and 19) no longer append a computed digit to Text when Checksum is enabled
  • Drawing such a barcode repeatedly now produces the same symbol each time instead of growing the text by one digit per redraw and changing the bar pattern
  • The add-on symbols carry no check character by definition, so Checksum is ignored for them; the parity pattern is still derived from the value as before

Version 2.770.145

Fixed

  • XFDF export now decodes form field values and annotation text as PDF text strings (ISO 32000-1 7.9.2.2): UTF-16BE values, hexadecimal strings and PDFDocEncoding characters such as the bullet are written as the actual Unicode text instead of hex digits or code-page garbage
  • Annotation contents, author, subject, state and overlay text exported to XFDF keep non-Latin characters, for example Chinese or Cyrillic comments
  • Rich text (/RC, /RV) that starts with an XML declaration is now embedded without it, so the exported XFDF stays well-formed XML
  • XFDF import no longer converts text through the system ANSI code page: values PDFDocEncoding can represent are stored as such, anything else as a UTF-16BE text string, for both form fields and annotation text
  • Exported XFDF files now round-trip characters outside the ANSI code page through ImportLoadedFormFromXFDF and ImportLoadedAnnotationsFromXFDF without turning them into question marks

Version 2.770.144

Fixed

  • Names and other text in the invoice summary are now decoded from the UTF-8 invoice XML, so a seller such as "Müller GmbH" no longer comes back as garbled multi-byte characters
  • Escaped markup characters and character references are resolved, so "A &amp; B" in the XML is reported as "A & B"
  • ValidateVisualXmlConsistency no longer reports a seller name with accented letters or an ampersand as missing from the visible page text when it is printed there
  • Summary text is returned in the system ANSI code page, as the summary record's fields are ANSI strings; characters that code page cannot represent become question marks

Version 2.770.143

Fixed

  • GetLoadedInvoiceSummary now reports the invoice-level net total (BT-106) from the header monetary summation instead of the first line item's amount
  • Tax total, grand total and amount due are likewise read from the header summation, including for ZUGFeRD 1.0 invoices
  • The issue date (BT-2) is now returned as the plain date value, for example 20260305, instead of including the nested DateTimeString markup
  • HPDFFacturXXMLElementText now returns the character data of the whole element with child tags removed, and no longer matches elements whose name merely starts with the requested name

Version 2.770.142

Fixed

  • XFDF export now writes characters outside the Basic Multilingual Plane, such as emoji or rare CJK ideographs, as valid four-byte UTF-8 instead of encoding each surrogate half separately, so strict XML readers accept the file
  • XFDF import now decodes character references above U+FFFF, such as &#x1F600;, to the full character instead of truncating it to an unrelated BMP character
  • Character references that do not name a Unicode scalar value, and unpaired surrogates on export, now become U+FFFD instead of corrupting the text
  • XFDF files written by earlier versions still import correctly

Version 2.770.141

Fixed

  • Field values and annotation text containing backslashes, such as Windows paths like C:\Data\2024\001, now survive an XFDF export and import unchanged instead of having digit sequences turned into control characters
  • When a backslash would otherwise be read back as an escape, XFDF export now writes it as the octal escape \134, as in a PDF literal string (ISO 19444-1 5.8.2)
  • XFDF import only decodes the octal escapes that the format uses for control characters and backslashes; other backslash sequences from third-party files are kept literally
  • SVG text read through the same lightweight XML reader no longer loses backslash sequences either

Version 2.770.140

Fixed

  • The persistent rendered-page cache enabled by RenderCacheFolder now works for documents opened with LoadFromFile, LoadFromStream and LoadFromRandomAccessSource; before, the disk tier was skipped for ordinary loads, so no page was ever written to or read from the folder
  • Documents loaded from a file are identified by their size, last-write time and leading and trailing bytes, so reopening an unchanged file reads its pages from the cache without hashing the whole file
  • Documents loaded from a stream or a random-access source are identified by the SHA-256 of their content; set RenderCacheFolder before the load for these documents to use the disk tier
  • A document edited after it was loaded no longer reads or writes disk entries for the rest of that load, so edited pages are never served from, or stored as, the cached pages of the original file
  • Disk entries now also depend on the page render backend and the ICC proofing workflow, so a different backend or output profile does not reuse pages rendered with other settings; encrypted documents are never written to the disk cache

Version 2.770.139

Fixed

  • Importing large XFDF files no longer slows down with the square of the file size: a file with thousands of fields or annotations now parses in milliseconds instead of seconds or minutes
  • Field values with many line breaks or other character references are decoded in linear time
  • Peak memory while parsing XFDF no longer grows with the number of elements times the file size
  • SVG input read through the same lightweight XML reader benefits from the same speed-up

Version 2.770.138

Fixed

  • When DecodeLoadedPageBarcodes retries a page turned by 90 or 270 degrees, the raster handed to the decoder is now turned clockwise, as AttemptRotationDegrees documents
  • Symbols found only in those retries are now reported at their real position on the page instead of the point-mirrored position
  • The orientation reported for such symbols now matches their reading direction on the page rather than being off by 180 degrees
  • Custom barcode decoders that rely on the documented clockwise turn now receive correctly turned rasters

Version 2.770.137

Fixed

  • Copying pages between documents (CopyPageFromDocument, CopyPageByPhysicalIndex, page import and merge methods) no longer turns text strings that contain "<<" and ">>" or "[" and "]" into dictionaries or arrays; an annotation comment such as "Read <<this>> [now]" was copied as a broken dictionary
  • Hexadecimal strings, such as annotation names and identifiers, are copied in hexadecimal form instead of being written as literal strings of their hex digits

Version 2.770.136

Fixed

  • Annotations created on new pages (AddStampAnnotation, AddTextAnnotation and the other THPDFPage annotation methods) now write /Rect with the lower-left corner first, [llx lly urx ury]; several of them wrote the top edge before the bottom one, for example [395 712 575 652], which viewers accept but PDF/A validators and some processing tools reject or misread

Version 2.770.135

Changed

  • THotPDF.RenderCacheFolder is now a string (UnicodeString in Delphi 2009 and later, UnicodeString in C++Builder) instead of an AnsiString, so a cache folder whose path contains characters outside the system code page, such as a Chinese user name on an English Windows, is used as given instead of being turned into question marks
  • Code that assigns an AnsiString to the property keeps compiling; the value is converted to Unicode on assignment

Version 2.770.134

Fixed

  • SetOptionalContentGroupUsage with the Zoom category now writes the zoom range as the numbers /min and /max, as the PDF specification defines them; the whole value was written as a text string under /Min, which viewers ignore, so the layer's zoom range had no effect
  • The Zoom value is the minimum magnification optionally followed by the maximum, separated by a space (for example '0.5 4'); a value that does not start with a number now raises an exception

Version 2.770.133

Fixed

  • Subsetting embedded CFF/OpenType fonts no longer drops subroutines that glyphs still use; glyphs with more than eight hints, hstemhm hints or counter masks were scanned incorrectly, so a used subroutine could be replaced by an empty one and the glyph rendered with missing or broken outlines

Version 2.770.132

Fixed

  • RegisterNChannelColorSpace (the overload with spot colourant definitions) now writes colourant names that contain spaces or delimiters, such as "PANTONE 185 C", correctly as keys of the /Colorants, /Solidities and /DotGain dictionaries; the raw name broke the file syntax
  • AddPDFX6ExternalOutputIntentSpotData writes its solidity and spectral data colourant keys the same way

Version 2.770.131

Fixed

  • The XMP metadata written with EnableXMPMetadata now carries Title, Author, Subject and Keywords as valid UTF-8 when they hold text in the system code page (for example accented or Chinese characters assigned as AnsiString); the raw code-page bytes made the packet invalid XML, which PDF/A validators and XMP readers reject
  • Control characters that XML 1.0 does not allow are left out of these XMP values

Version 2.770.130

Fixed

  • JBIG2 images written with JBIG2Options.AccumulateGlobalsAcrossPages decode correctly again when a later page adds symbols that earlier pages did not use; such pages kept referring to the globals stream of the first page, which lacks the new symbols, so viewers showed them garbled or not at all
  • Whenever a page adds symbols, a globals stream holding the whole dictionary up to that page is written and used from then on; pages that add no symbols keep sharing the latest one

Version 2.770.129

Fixed

  • Saving a loaded document whose objects have a generation number other than 0 now writes consistent object numbers: a full rewrite (SaveLoadedDocument and related methods) writes every object, reference and cross-reference entry with generation 0, where object headers and the trailer used to keep the old generation while references and the cross-reference table used 0
  • Incremental updates (SaveIncrementalUpdate and related methods) now refer to existing objects with their real generation number; references were always written with generation 0 and therefore pointed at objects that do not exist when the original used another generation

Version 2.770.128

Fixed

  • THPDFPage.TextOutHTML with a MaxWidth no longer loses formatting at a line wrap: when several differently styled runs moved to the next line together, they were merged into one run drawn with the style in effect at the wrap, so their colour, bold or italic style, font, size, sub/superscript offset and link were lost. Each run now keeps its own formatting on the new line

Version 2.770.127

Fixed

  • InvalidateRenderedPageCache now also drops the Type 3 glyph and halftone entries shared by parallel rendering; after a whole-document invalidation the next parallel render could reuse glyphs cached for the previous content
  • PreflightLoadedPAdES no longer empties the shared rendering cache as a side effect of checking a signature's PAdES level, so renders after a preflight keep their cached glyphs

Version 2.770.126

Fixed

  • Revision and modification analysis of signed documents now reports field names correctly when the name contains parentheses or ends with one, for example "Total (net)"; the last character was cut off
  • Field names written with octal escapes or with a backslash line continuation are decoded as well

Version 2.770.125

Fixed

  • SplitPDFToFiles no longer opens each output file in the default PDF viewer when it is written; the internal documents it creates now have AutoLaunch turned off

Version 2.770.124

Fixed

  • GetLoadedTrailerID now returns the document's permanent file identifier from the trailer /ID array, as hexadecimal text; it looked for /ID in the document catalog, where it never is, and so reported no identifier for virtually every file

Version 2.770.123

Fixed

  • SetLoadedOpenActionPage now writes a destination that names the requested page; the page reference was written as 0 0 R, so viewers could not open the document at that page
  • The destination keeps the current view position (null left and top) instead of forcing 0 0, which jumped to the bottom-left corner of the page

Version 2.770.122

Fixed

  • SetLoadedViewerPreferences now writes HideToolbar, HideMenubar, FitWindow and DisplayDocTitle as boolean values; they were written as the names /true and /false, which viewers do not treat as booleans, so the preferences had no effect

Version 2.770.121

Fixed

  • CheckLoadedSignatureSeedValue now enforces a signature field's /Reasons seed value when the field's /Ff flags mark it as required (bit 4, value 8); an unlisted reason used to pass
  • Reasons are compared exactly, as text strings are in PDF; "approved" no longer satisfies a seed value that lists "Approved"

Version 2.770.120

Fixed

  • Stamping a loaded page more than once with StampLoadedPageText or StampLoadedPageShape now gives each stamp its own opacity, and each text stamp its own standard font; the second and later stamps reused the transparency and font of the first stamp on the page
  • A stamp with the same opacity and font as an earlier one still shares its resources, so repeated identical stamps do not grow the page resources

Version 2.770.119

Fixed

  • ExtractLoadedPageStructureText now follows structure elements whose /K entry is a plain marked-content number (for example /K 3 or /K [0 1]), the most common form in tagged PDFs; such elements were ignored, so the method reported no structure order for many tagged documents or returned their text in drawing order
  • The method no longer reads an invalid catalog entry when a document has no usable root object

Version 2.770.118

Fixed

  • StampLoadedPageText, StampLoadedPageImage, StampLoadedPageShape, StitchLoadedPage and FlattenLoadedAnnotations no longer break pages that inherit their resources from the parent /Pages node; they gave such a page a new, empty /Resources dictionary, which hid the inherited fonts and images so the page's original text and pictures no longer displayed
  • The page now receives its own copy of the inherited resources before the new font, image or form is added

Version 2.770.117

Fixed

  • ComposeLoadedPagesNUp, ImposeLoadedPagesNUp, ImposeLoadedPagesBooklet and the page stitching methods now carry over resources that a source page inherits from its parent /Pages node; such pages were placed without their fonts and images, so their text and pictures were missing or wrong on the composed sheet

Version 2.770.116

Fixed

  • SaveIncrementalUpdateAuthenticated can now write back to the file the incremental update was started from; the accepted update could not replace the target because the document still held the source open, and the call always failed with an access-denied commit error
  • As with an in-place SaveIncrementalUpdate, the source is released before the replacement, reopened if the replacement fails, and BeginIncrementalUpdate must be called again before another incremental save

Version 2.770.115

Fixed

  • RepairPDFUA2Structure no longer takes exponential time on structure trees whose elements are listed by more than one parent (or form a cycle); language inheritance repair, heading order repair and the marked-content scan behind alternate-text repair now walk each structure element once. A crafted tree of 24 elements each listing the next one twice previously took about 40 seconds

Version 2.770.114

Fixed

  • HPDFPaginateTable no longer adds pages until memory runs out when an unsplittable row does not fit below the repeated header rows; on a page that holds only repeated headers the row is now split (or, when the headers fill the page, placed and allowed to overflow)
  • HPDFLayoutFootnotes and HPDFLayoutEndnotes no longer loop forever when the separator leaves no room on a page or a note's minimum fragment height cannot be met on an empty page; the note is placed on that page instead

Version 2.770.113

Fixed

  • HPDFBalanceColumns no longer hangs when a splittable item has a line taller than the column height; it moved on to the next column forever. Such a line is now placed alone at the top of an empty column, overflowing it, and the layout continues

Version 2.770.112

Fixed

  • Documents encrypted with the standard security handler revision 4 (RC4 or AES-128 crypt filters) open again when their encryption dictionary omits the optional top-level /Length entry; loading failed with "Unsupported legacy Standard security handler V=4 R=4 Length=40"
  • Any top-level /Length value is accepted for such documents, since the file key is always 128 bits

Version 2.770.111

Fixed

  • ProcessObjectStreamsForDecompression and ExtractRawObjectFromStream no longer trust an object stream's declared /N count: a count above ten million is rejected and the count is limited to the object-number pairs the stream header can actually hold, so a crafted file can no longer make them allocate or walk millions of empty entries

Version 2.770.110

Fixed

  • The Direct File API (DADirectEncryptFileAES256, DADirectDecryptFileAES256 and related methods) now reads /Root, /Info, /Encrypt, /Prev and /XRefStm of a classic cross-reference section only from that section's own trailer dictionary; on incrementally updated files it could pick up a /Prev from a later revision's objects (for example an outline item) or trailer and fail or read the wrong revision
  • A /Prev chain that loops back to a section already read now stops instead of reading the same sections again

Version 2.770.109

Security

  • ApplyLoadedRedactions now removes the text under a redaction area on pages whose content is split over several streams; when one stream ended with an operator and the next began with one (for example ET followed by BT), the text after the join was matched to the wrong operands and stayed readable in the saved file although the area was painted over
  • Content streams without data are skipped consistently, so the remaining streams line up with the text that was located on the page

Version 2.770.108

Changed

  • GetLoadedOCGCount, GetLoadedOCGName, GetLoadedOCGVisibility and SetLoadedOCGVisibility now all use the same index: the position of the optional content group in the document's /OCProperties /OCGs array. Count and name used the position in the default configuration's /ON array, visibility used the position in /OFF and the setter used /OCGs, so one index could name three different groups; documents without /OCGs still fall back to the /ON array
  • GetLoadedOCGVisibility now reports a group as hidden when it is listed in /OFF, or when it is in neither array and the default configuration's /BaseState is /OFF

Fixed

  • SetLoadedOCGVisibility no longer puts the same reference object into both /OCGs and /ON or /OFF (it was released twice when the document was freed) and no longer leaks the entries it removes

Version 2.770.107

Fixed

  • CopyLoadedPage no longer makes the source and target page dictionaries share the same /Contents and /Resources entry objects; the shared objects were released twice when the document was freed or the target entry was replaced, which could corrupt memory
  • The target page now gets its own reference to the source content and resources (direct values are copied), and its rendered-page cache entry is refreshed

Version 2.770.106

Fixed

  • Loading a damaged PDF no longer leaks memory for every stream object that cannot be read, for example a stream with neither a /Length entry nor an endstream keyword, or one whose dictionary or data cannot be loaded; repeatedly opening such files made the process grow without bound

Version 2.770.105

Fixed

  • Numbers written with an empty fraction such as "21." (allowed by the PDF specification) no longer make loading fail; an indirect stream /Length written that way used to drop the whole stream, leaving the page blank
  • Numbers with a leading plus sign, an empty integer part such as ".5", or an integer part beyond the 32-bit range are read correctly as well

Version 2.770.104

Fixed

  • PDFmerge demo: with bookmarks enabled, each per-source bookmark now opens the first merged page of that source; previously every bookmark pointed at the first page of the merged file
  • PDFmerge demo: the default sample sources and output name, and any relative names typed into the form, resolve against the demo folder; adding files or choosing the output in a dialog no longer changes the current directory and breaks the relative entries

Version 2.770.103

Fixed

  • TextOut demo: the generated TextOut.pdf now really uses compressed content streams, as the demo comments promise; it sets Compression to cmFlateDecode instead of relying on the BeginDoc argument, which does not control compression

Version 2.770.102

Fixed

  • Images drawn with AlphaBlend in an enhanced metafile now keep their recorded opacity when the metafile is converted with THPDFEmfPatcher.RenderEmfDirect; they were blended with zero opacity and disappeared
  • The recorded alpha format is honoured as well, so images without an alpha channel are blended with their constant opacity instead of failing
  • Bitmap records whose header or pixel data point outside the record, or whose pixel data is shorter than the declared bitmap, are now skipped instead of being read past the record
  • Bitmaps larger than 32768 pixels on a side or 64 megapixels in total are skipped instead of being allocated in full

Version 2.770.101

Fixed

  • StitchLoadedPage, StitchLoadedPageSideBySide and StitchLoadedPageSideBySideEx now draw the source page through a Form XObject that carries the page's content, page box and resources; the page dictionary itself was registered as an XObject, which viewers cannot paint, so the stitched page did not show
  • Stitching more than one page onto the same target keeps every stitched page: each gets its own XObject name instead of all sharing one name that replaced the previous page

Version 2.770.100

Fixed

  • Form XObjects are now clipped to their /BBox when rendered, as ISO 32000-1 requires; content that a form draws outside its bounding box no longer shows on the page
  • Form XObjects nested more than four levels deep are now drawn; they were dropped as if they recursed. Nesting is allowed up to 32 levels
  • A form XObject that draws itself, directly or through other forms, is detected and the repeated call is skipped, with a recursion entry in the render diagnostics

Version 2.770.99

Fixed

  • PDFOptimize demo: the row of small rectangles on each text page is now stroked, so the bars are visible and the content stream ends every path with a painting operator as ISO 32000-1 8.5.2 requires; the reported text-PDF sizes change slightly as a result

Version 2.770.98

Fixed

  • Literal strings that contain balanced parentheses without backslashes, such as /Title (Report (draft) v2), are now read in full when a document is loaded; the string used to end at the first closing parenthesis and the rest of the dictionary was misread
  • Escaped parentheses keep working as before

Version 2.770.97

Fixed

  • Loading no longer mistakes a dictionary object for a stream when one of its string or name values contains the letters "stream" at the end of a line, such as an Info dictionary with /Title (Livestream); the object was read as a stream and its entries were lost
  • The stream keyword is now recognised only as its own token after the dictionary's closing >> and at the end of a line, as the PDF specification lays out stream objects

Version 2.770.96

Fixed

  • Stamp demo: PNG and BMP files offered by the image picker can now be used as the image stamp; previously only JPEG worked and other files failed with an invalid-bitmap error
  • Stamp demo: the rubber-stamp annotation is placed in the top-right area of each page as intended, below a top-corner image stamp, instead of the bottom-right corner where it overlapped a bottom-right image stamp
  • Stamp demo: the default input, output and image paths resolve against the demo folder, and picking a file in a dialog no longer changes the current directory, so relative names keep pointing at the same files

Version 2.770.95

Fixed

  • Timestamp requests built with a policy OID (HPDFRFC3161BuildRequest, and signing with a time stamp authority policy) now encode the requested policy as the plain object identifier that RFC 3161 specifies
  • The policy used to be wrapped in a context tag that RFC 3161 reserves for request extensions, so a strict time stamp authority rejected the request or ignored the policy
  • Requests without a policy OID are unchanged

Version 2.770.94

Fixed

  • ViewerPref demo: leaving Initial Zoom unchecked now really means "None (Default)"; the generated PDF no longer opens at fit-height, which was the component default the demo did not reset

Version 2.770.93

Fixed

  • FileAttach demo: the page-level attachment annotations are now created when the demo runs from a folder whose name has characters outside the system ANSI code page; the attached file is passed by its plain file name instead of an absolute path

Version 2.770.92

Fixed

  • HTMLText demo: an output path containing characters outside the system ANSI code page (for example a Greek or Cyrillic folder name) is now written correctly instead of failing
  • HTMLText demo: the generated PDF is no longer opened in an external reader automatically, matching the other console demos

Version 2.770.91

Fixed

  • SVG and XPS path import no longer raises EOverflow on numbers with hundreds of digits, or on long numbers combined with a large exponent; such values are rejected like any other out-of-range number
  • Affects SVG images placed through the SVG import APIs and XPS path geometry, on compilers whose floating-point exceptions are not masked
  • Ordinary numbers, including long mantissas with negative exponents, are read as before

Version 2.770.90

Fixed

  • EmfDraw demo: a failed conversion (for example a missing input metafile) now ends with exit code 1 instead of 0, so scripts and build steps that run the demo detect the failure

Version 2.770.89

Fixed

  • CJKAnnotations demo: when Arial Unicode MS is not installed, the demo now actually falls back to Microsoft YaHei; it checks the installed fonts instead of waiting for an exception that a missing font never raised, so the CJK text no longer ends up in a substituted font without CJK coverage

Version 2.770.88

Fixed

  • Content streams that nest more than 32 q operators no longer lose the enclosing graphics state: deeper saves were ignored while their matching Q still restored, so text and graphics after the nested block used the state from before an outer q
  • Affects text extraction through the content device interface and SVG export of such pages
  • Saved states now grow with the nesting depth; very deep nesting is still paired correctly

Version 2.770.87

Fixed

  • ImageDemo: the "Image zoom" bookmark now jumps to the IMAGE ZOOM heading instead of a point near the bottom of the first page

Version 2.770.86

Security

  • Opening a PDF encrypted for a recipient certificate with an elliptic-curve key (ECDH key agreement) now wipes the raw shared secret and the intermediate key derivation buffers as soon as they are no longer needed, including on the retry with the alternate byte order and on every early failure path
  • Signing with a certificate from the Windows certificate store no longer leaves crypt32.dll and advapi32.dll loaded when a required CryptoAPI function cannot be found

Version 2.770.85

Security

  • Outlining a Type 1 glyph whose charstring uses sbw with too few operands no longer reads before the operand stack; the malformed operator is ignored
  • A Type 1 charstring that ends with the escape byte of a two-byte operator no longer reads past the end of the charstring

Version 2.770.84

Fixed

  • The byte length of character codes in a CMap codespace range now comes from the length of its hex strings, as ISO 32000-1 9.7.6.2 specifies; a range such as <0000> <00FF> was treated as one-byte because its upper bound fits in a byte, which split two-byte codes when rendering and extracting text
  • Codespace ranges loaded from built-in CMaps carry their code length too

Version 2.770.83

Fixed

  • Embedding a subset of an installed TrueType font keeps every component of composite glyphs (accented letters and similar) whose components carry a scale or a 2x2 transform; the component after such a transform was misread, so it could go missing from the subset or have its glyph reference written over the transform bytes
  • Composite glyphs whose components refer to each other in a cycle, refer past the font's glyph count or point at an empty glyph no longer crash or hang font subsetting
  • In a subset, a composite glyph nested inside another composite has its component references renumbered once instead of twice

Version 2.770.82

Fixed

  • Real numbers in CFF font dictionaries (FontMatrix, FontBBox, blue values and similar) are read correctly when a byte holds a sign, decimal point or exponent next to a digit; the digit in the same byte used to be dropped, so -2.25 became -0.5
  • These values are parsed with a period as decimal separator whatever the Windows regional settings; on systems that use a decimal comma they failed with a conversion error

Version 2.770.81

Fixed

  • Text extraction and ToUnicode lookups no longer return a stale multi-character string for codes in a beginbfrange array entry that follows another array entry with multi-character targets; such codes now map to their own single character

Version 2.770.80

Fixed

  • Instantiating a TrueType variable font at chosen axis values (for example through SetVariableFontAxis) no longer distorts glyphs whose gvar data has a sparse tuple after another tuple; the sparse tuple started from the previous tuple's deltas and moved those points twice
  • Points a sparse tuple leaves out are now interpolated only from the points that tuple lists, as the OpenType gvar rules require

Version 2.770.79

Security

  • AddTiffFromFile now refuses a TIFF page whose width times height needs a raster of more than 2 GB, raising an exception instead of allocating a buffer whose size had wrapped around and letting the decoder write past its end (heap overflow)
  • A TIFF page with zero width or height is refused the same way
  • Tall TIFF pages (1200 rows or more) now report an allocation failure instead of decoding into a nil buffer

Version 2.770.78

Fixed

  • Type 3 font glyphs now follow horizontal scaling (Tz): a run drawn at 200% horizontal scale is drawn twice as wide instead of at its natural width
  • Type 3 font glyphs now follow text rise (Ts), so superscripts and subscripts set in Type 3 fonts are raised or lowered instead of staying on the baseline
  • Glyph advances were already scaled; the glyph shapes now line up with them

Version 2.770.77

Fixed

  • RFC 3161 timestamp requests built by HPDFRFC3161BuildRequest always encode the nonce as a minimal DER INTEGER; when the random nonce started with a zero byte the request carried a redundant leading zero, which strict timestamp servers reject as malformed
  • The returned nonce keeps the requested length, so callers that compare it with the timestamp response are unaffected
  • Encrypted PDF 2.0 files (AES-256-GCM) whose object streams decrypt to empty content no longer fail to load with a GCM authentication error; an empty object stream with a valid authentication tag is now accepted, while a tampered tag is still rejected

Version 2.770.76

Fixed

  • Hyperlink demo: link captions and URLs containing characters outside the system ANSI code page (for example Greek, Cyrillic or accented text) are no longer turned into question marks; captions are drawn as Unicode text with a URI link laid over them
  • Hyperlink demo: non-ASCII characters in a URL are percent-encoded as UTF-8 before they are stored in the link action, so readers open the intended address

Version 2.770.75

Fixed

  • CalRGB colours with components outside 0..1 no longer raise a floating-point exception (EInvalidOp) while rendering; the components are clipped to their valid range before the gamma is applied
  • Such colours now render as the nearest in-range colour instead of an undefined one on compilers whose floating-point exceptions are masked

Version 2.770.74

Fixed

  • Direct File API rewrites (for example DADirectEncryptFileAES256 and DADirectDecryptFileAES256) running on several threads at the same time no longer corrupt each other's output; the byte-range copy they share used one process-wide buffer

Version 2.770.73

Fixed

  • The shared revocation cache of THPDFSignatureValidationBatch now finds OCSP responses for signer certificates whose serial number has its top bit set; such responses were stored under a serial without the leading zero byte and looked up with it, so every later signature missed the cache
  • OCSP responses signed by a delegated responder, or identifying the responder by key, are now stored under the certificate issuer and can be reused by later signatures in the batch; before, they were stored under the responder name or not at all
  • Signatures that rely on evidence cached by an earlier signature in the same batch now reach a trusted verdict instead of an unknown revocation status in these cases

Version 2.770.72

Fixed

  • Looking up an embedded file by name (GetLoadedEmbeddedFileSpec, ExtractEmbeddedFileBytes, SaveLoadedEmbeddedFileToDisk and related methods) no longer overflows the stack when the document's /EmbeddedFiles name tree has nodes that list each other or themselves as /Kids
  • Each name tree node is searched once, so names reachable through a shared node are still found

Version 2.770.71

Fixed

  • PageSizes demo: the Chinese 8K and 16K format pages now print their full description on every system; the Chinese format names are given in pinyin because the descriptions are drawn in Arial, which has no CJK glyphs, and non-ASCII text turned into question marks on non-CJK code pages

Version 2.770.70

Fixed

  • Axial (Type 2) shadings now cover the whole painted area when the shading axis lies far from it, for example a gradient defined off the page edge with /Extend [true true]; such areas were left unpainted
  • Applies to the sh operator and to shading patterns used as fill or stroke colour

Version 2.770.69

Fixed

  • Navigation demo: the named destinations chapter-1 and chapter-2 now open their pages at the top, 60 points below the top edge, instead of scrolling to the bottom of the page; destination coordinates are PDF default user space with the origin at the bottom-left

Version 2.770.68

Fixed

  • Text extraction from a PDF with an embedded TrueType font no longer stalls for minutes when the font's cmap is truncated but claims thousands of segments or groups; the table length is now checked before the segments and groups are read
  • Building the glyph-to-Unicode map for an embedded TrueType font walks each cmap subtable once by segment or group instead of looking up all 65,535 BMP code points one by one, which also speeds up extraction with large CJK fonts
  • Glyph lookups through a truncated format 4 or format 12 cmap subtable stop at the end of the font data instead of scanning segments that are not there

Version 2.770.67

Fixed

  • Exponential (Type 2) and stitching (Type 3) functions now honour a one-input /Domain such as [0 0.5]; it was ignored and replaced by [0 1], so inputs were clipped to the wrong interval
  • An exponential function without /C1 now uses the default [1.0]; Separation colours and shadings defined that way rendered black
  • Exponential functions now evaluate C0 + x^N (C1 - C0) with the input itself instead of rescaling it into 0..1, matching ISO 32000-1 for domains other than [0 1]
  • Exponential function outputs are clipped to /Range only when it is present; spot colours with a Lab alternate space (L* up to 100) were clipped to 0..1 and rendered almost black
  • An exponential function whose input lies outside the values it is defined for is rejected instead of raising a floating-point exception

Version 2.770.66

Fixed

  • PKCS#12 / PFX files exported without a password by tools that derive their keys from a zero-length password now open with an empty password in HPDFParsePFX, HPDFParsePFXByLocalKeyID, HPDFEnumeratePFXIdentities and the PFX signing methods; they used to fail with an authentication error
  • With an empty password the standard encoding of RFC 7292 is tried first and the zero-length form second, for both the integrity check and the key decryption, so files that already opened keep opening the same way

Version 2.770.65

Fixed

  • The page header of the C++Builder DBTable demo now reads "Page 1" instead of "Page1"
  • An error while the C++Builder DBTable demo writes its table now closes the half-built document, so the next click starts from a clean state

Version 2.770.64

Fixed

  • The C++Builder console demos AnnotationInteraction, FormFields, CanvasDraw, EmfDraw, FormXObject, GraphicDraw, ImageDemo, ImageMask, LineGraphicsState and RtLTextOut switch to the executable folder when started without arguments, like the Delphi demos, so their input files are found and their PDFs are written there even when they are run from another directory
  • The C++Builder Graphic demos no longer send a close message to every window whose title contains the name of their output PDF, which could close unrelated windows
  • The C++Builder ImageMask demo now works like the Delphi version: it checks that Mask.bmp and Image.jpg exist, compresses its output, does not open a viewer and reports errors instead of ending with an unhandled exception
  • The C++Builder EmfDraw demo reports an error, for example a missing Sample.emf, and returns a non-zero exit code instead of ending with an unhandled exception
  • The C++Builder AddDelPages demo resolves relative input and output file names against the executable folder, like the Delphi version

Version 2.770.63

Fixed

  • The C++Builder FileAttach demo writes FileAttach.pdf next to the executable, the name the Delphi version and the readme use, instead of Output.pdf in the working directory, and keeps its FileAttach.txt attachment in the same folder

Version 2.770.62

Fixed

  • The Direct File API (DADirectEncryptFileAES256, DADirectDecryptFileAES256 and the other direct rewrite methods) now reads cross-reference stream offsets beyond 2 GiB correctly; such offsets were truncated and turned negative, so objects in the upper part of a large file could not be found
  • /Prev and /XRefStm offsets beyond 2 GiB in the trailer or cross-reference stream are followed instead of being read as 0, so older revisions and hybrid cross-reference sections of large files are no longer skipped
  • The same applies when loading a large file and when inspecting its revisions
  • New HPDFDirectReadUIntBE64 and HPDFFindNameInt64 helpers return the full 64-bit value

Version 2.770.61

Fixed

  • A cross-reference stream whose /W field widths are negative or larger than 8 bytes is now rejected instead of decoded; loading falls back to scanning the file for its objects
  • The Direct File API methods (for example DADirectEncryptFileAES256) no longer read memory outside the decoded table, and can no longer crash, on such a file; they refuse it instead

Version 2.770.60

Fixed

  • Text extraction, search and glyph positions now read the " text operator correctly: its first operand is the word spacing and its second the character spacing; the two were swapped
  • Lines written with " and a non-zero word or character spacing no longer report shifted glyph positions, which could merge or split words in extracted page text and misplace search hits
  • Page rendering was not affected

Version 2.770.59

Fixed

  • Table demo: the rows covered by the "Group A" rowspan now show their item and note in the Item and Notes columns; previously the note text was shifted one column and dropped
  • Table demo: the generated PDF is no longer opened in an external reader automatically, matching the other console demos, and output paths outside the system ANSI code page are kept intact

Version 2.770.58

Fixed

  • Decompressing Flate data into a stream no longer leaks the decoder state (about 40 KB each time) when the source or target stream raises an exception part way through, for example when a write fails or a stream reaches its size limit
  • Compressing a string no longer leaks its temporary buffer if compression raises an exception
  • Successful compression and decompression behave exactly as before

Version 2.770.57

Fixed

  • Certificates whose name constraints extension is not marked critical are no longer rejected as unreadable during signature certificate validation; a CA certificate of that kind used to make every chain through it fail to build
  • The constraints of such a certificate are now applied to the rest of the chain like critical ones, so signer names outside the permitted subtrees are still reported as a name constraint violation

Version 2.770.56

Fixed

  • PostScript calculator (Type 4) functions with deeply nested if or ifelse procedures no longer overflow the stack while rendering; such a function is treated as unusable and the colour falls back as for any other invalid function
  • Nesting is limited to 64 levels, well beyond what real calculator programs use; ordinary Type 4 tint transforms and shadings render as before
  • Evaluating calculator functions needs less stack per nesting level

Version 2.770.55

Fixed

  • E-Invoice demo: the extracted Factur-X / ZUGFeRD XML is decoded as UTF-8, so accented and other non-ASCII characters in names and addresses no longer show up garbled in the XML pane
  • E-Invoice demo: on Delphi XE2 and later the combined e-invoice verdict now decides the business-rule step, so a rule file or engine failure fails validation instead of passing silently
  • E-Invoice demo: a visible-text versus XML mismatch from the heuristic consistency check is reported as a warning and no longer fails the overall validation on its own

Version 2.770.54

Security

  • CMS signature verification (HPDFVerifyCMSSignature, HPDFVerifyCMSSignatureEx and loaded PDF signatures) now reports a malformed signature when the signed attributes lack the content-type attribute or name a content type different from the signed content, as RFC 5652 requires; such signatures used to verify as valid, which let signed attributes made for one content type be presented as signing another
  • Signatures with the content-type attribute repeated are rejected as before
  • Countersignatures, which by definition carry no content-type attribute, and RFC 3161 timestamp tokens keep verifying as before

Version 2.770.53

Fixed

  • Clicking the button of the C++Builder Annotations demo a second time no longer writes the previous document out again before the new one is started
  • An error while the C++Builder Annotations demo builds its PDF now closes the half-built document, so the next click starts from a clean state

Version 2.770.52

Fixed

  • Several documents or THotPDF instances in one process that use the same disk render cache folder now share a single cache index; previously each instance kept its own index and overwrote the others' on every save, losing the recently-used order
  • The document-count and total-size limits of the disk render cache are enforced across all instances that share a folder, so the folder no longer grows past its budget when several viewers or render threads use it at the same time
  • The same folder is recognised regardless of letter case or a trailing path delimiter

Version 2.770.51

Fixed

  • Resampling a bitmap with the bicubic or Lanczos3 kernel now works for every source pixel format; a 32-bit, 8-bit or 1-bit source used to be read as if it held 3-byte pixels, which mixed up its colour channels or read past the end of its rows
  • Such sources are converted to 24-bit first, so the resampled image has the same colours as the source; the result stays a 24-bit bitmap as before
  • 24-bit sources and the halftone kernel are unaffected

Version 2.770.50

Fixed

  • PreflightCLI demo: -d on a single PDF now writes the dashboard index even when the file fails preflight
  • PreflightCLI demo: files that raise an error during preflight are listed as failed in the dashboard index, and the exit code reflects every failed file
  • PreflightCLI demo: with -r, reports for same-named PDFs in different subdirectories are written to matching subfolders instead of overwriting each other, both with -o and in the dashboard
  • PreflightCLI demo: -f json and -f csv now produce the same schema with or without --profile / --preset / --aggregate, including the CSV spec column
  • PreflightReport demo: CSV reports generated with a profile now fill the spec column like reports without one

Version 2.770.49

Fixed

  • The C++Builder LargeFile demo now generates the benchmark input set its readme describes, like the Delphi version: LargeFile-Text.pdf, LargeFile-Image.pdf, LargeFile-Mixed.pdf and the AES-256 encrypted LargeFile-Encrypted.pdf in a BenchmarkInputs folder next to the executable; it only wrote a single 200-page LargeFile.pdf
  • The C++Builder LargeFile demo accepts the --output-dir, --scale (small, default, large, huge) and --pages options and prints the HugeFileBenchmark command for the generated folder

Version 2.770.48

Fixed

  • The C++Builder Outlines demo now writes Outlines.pdf next to the executable, the file the readme names, instead of Output.pdf in the working directory, and reports where it was saved instead of opening a viewer
  • The C++Builder Outlines demo now builds the same 10-page document with Arial page labels as the Delphi version; the page-bottom labels at y = 830 were cut off at the page edge and the "Bottom" bookmarks of the last page pointed below them
  • An error while the C++Builder Outlines demo writes the PDF no longer leaves the demo unable to create another document

Version 2.770.47

Fixed

  • The persistent disk render cache now works under folders whose names contain characters outside the system ANSI code page (for example a user profile folder with non-Latin characters); previously every page write failed there and the cache never produced a hit
  • THPDFDiskPageCache takes its root folder as a Unicode string and keeps all cache paths in Unicode, including the atomic replacement of page files and of the cache index

Version 2.770.46

Fixed

  • Region and tile rendering (RenderLoadedPageRegionToBitmap, RenderLoadedPageTiles, progressive region rendering) no longer leaves a tile blank when its only content comes from a form XObject placed away from the origin; a form now counts as covering its /BBox as placed by its /Matrix and the current transformation
  • Text placed with TD, T*, ' or " now lands on the right line when deciding which tiles contain it, so later lines of a paragraph are no longer culled from the tiles they appear in
  • Td offsets are scaled by the text matrix and measured from the start of the line, matching how the text is actually drawn
  • Character spacing, word spacing, horizontal scaling and text rise are taken into account when estimating where a text run ends, and glyphs are no longer assumed to be narrower than one em

Version 2.770.45

Fixed

  • The C++Builder MemStream demo writes MemStream.pdf next to the executable, the name the Delphi version uses, instead of Memory.pdf in the working directory
  • The C++Builder MemStream demo now reloads the in-memory PDF with LoadFromStream and checks that it has one page before saving it
  • An error while the C++Builder MemStream demo writes the PDF no longer leaves the demo unable to create another document

Version 2.770.44

Fixed

  • The C++Builder HelloWorld demo no longer sends a close message to every window whose title contains HelloWorld.pdf when it starts, which could close unrelated windows such as an editor or a file manager
  • The C++Builder HelloWorld demo writes HelloWorld.pdf next to the executable and opens it only when --open is given; like the Delphi version it accepts an output file name or --output <file>

Version 2.770.43

Fixed

  • Loading a PDF whose page tree has intermediate /Pages nodes no longer drops the pages below those nodes; such documents previously reported only the pages listed directly under the root of the tree
  • The pages keep their page tree order, so page indexes, page boxes and content match what other viewers show
  • A page whose /Type is stored as an indirect object is recognised as a page during this ordering step

Version 2.770.42

Fixed

  • Loading a PDF whose page tree refers back to itself (a /Pages node listed among its own /Kids, or two nodes listing each other) no longer crashes with a stack overflow; each page tree node is walked once and absurdly deep trees are cut off
  • A page tree node whose /Kids array or /Type name is stored as an indirect object now loads its pages instead of failing or reading invalid memory

Version 2.770.41

Fixed

  • THPDFPage.LastAnnotation now returns the link created by AddGoToLink, AddURILink, AddNamedDestinationLink, AddGoToRLink, AddLaunchLink, AddStructureDestinationLink and AddGoToRStructureDestinationLink
  • Calling SetAnnotationFlags, SetAnnotationBorderStyle or AddPopupAnnotationFor with LastAnnotation right after adding a link no longer silently does nothing or changes the previously created annotation instead

Version 2.770.40

Fixed

  • Job JSON passed to THPDFJobProcessor.Execute, HPDFDocRunJob and HPDFDocRunJobWithCallbacks is now read as UTF-8 throughout: \uXXXX escapes no longer collapse into the ANSI code page, and escaped surrogate pairs such as 😀 produce the intended character instead of two broken ones
  • Input and output file names in merge, split, optimise, encrypt and validate jobs keep characters outside the system code page, whether written as raw UTF-8 or as \u escapes, so such files are found and written under their real names
  • A malformed \u escape with fewer than four hex digits is dropped without swallowing the following characters or the closing quote
  • A UTF-8 byte order mark at the start of the job text is ignored

Version 2.770.39

Fixed

  • Object identifiers supplied by the caller when building signatures and timestamp requests (signature policy, commitment type, claimed role, timestamp policy and similar OIDs) are now encoded correctly when the first arc is 2 and the second arc is 48 or larger; the combined first value used to be cut to a single byte, producing a different, wrong identifier
  • An object identifier arc too large to represent is now rejected with an error instead of silently wrapping around to another value

Version 2.770.38

Fixed

  • HugeFileBenchmark demo: with --recursive --keep-output, PDFs that share a file name in different subdirectories no longer overwrite each other's generated files; the work directory now mirrors the input folder tree

Version 2.770.37

Security

  • Rendering a PDF with an embedded TrueType font whose composite glyphs list many components, each again a composite, can no longer hang the renderer or text-to-path export; one glyph now expands to at most 1024 components across all nesting levels
  • A composite glyph component that refers back to its own glyph is skipped instead of being expanded down to the nesting limit

Version 2.770.36

Fixed

  • A stitching (Type 3) function that refers back to itself, directly or through other functions, no longer recurses until the stack overflows; it is treated as an unusable function
  • Affects Separation and DeviceN tint transforms, shading functions and transfer functions in malformed or hostile PDFs rendered with RenderLoadedPageToBitmap and the other render paths
  • Function nesting is limited to 16 levels; legitimate documents nest far less deeply

Version 2.770.35

Fixed

  • The C++Builder PageOperations demo now runs the same workflow as the Delphi version: it also inserts a custom-size blank page with InsertLoadedBlankPage and prints the text of pages 1-3 with ExtractLoadedPagesText
  • The reordered and extracted files of the C++Builder PageOperations demo now contain the same pages as the Delphi version's, moving the last page to page 2 and extracting pages 2 and 5

Version 2.770.34

Fixed

  • The C++Builder Hyperlink demo continues on a new page when the link list does not fit on one page; links past the bottom of the first page were written outside the page
  • Add, Remove and Make PDF in the C++Builder Hyperlink demo are disabled while the PDF is written, so the link list can no longer change, and the document cannot be started a second time, in the middle of generation

Version 2.770.33

Fixed

  • The C++Builder Stamp demo now places the text watermark and the rubber-stamp annotation relative to each page's size; on landscape and other non-A4 pages the stamp annotation fell outside the page and the watermark drifted off-center

Version 2.770.32

Fixed

  • Each button of the C++Builder ViewerPref demo now starts from a fresh document; the reading direction, initial zoom and other viewer preferences of an earlier click stayed in effect, so for example Create PDF after Test Direction still wrote right-to-left text and preferences that were no longer selected
  • The C++Builder PDF_INFO demo now writes PDFInfo.pdf next to the executable, the file name the Delphi version and the readme use

Version 2.770.31

Fixed

  • In builds made with Delphi versions before XE2, which use the bundled PNG reader, loading a PNG file with a compressed text (zTXt) chunk no longer reads past an internal buffer; text longer than 256 bytes came out corrupted and far too long, and large chunks could crash
  • The compression method of a compressed text chunk is now read from the correct byte, so chunks with an unsupported method are ignored instead of being decoded as if they were deflate data
  • Truncated or malformed compressed text no longer risks an endless decoding loop
  • Builds with Delphi XE2 and later use the system PNG reader and are unaffected

Version 2.770.30

Security

  • Certificate path validation (HPDFValidateCMSCertificatePath, the online variant and signature batches) can no longer be stalled by a signature that embeds many certificates sharing one name and key; such a set used to make the path search try every possible ordering, which grows factorially and could keep a validation busy for hours
  • Each issuer signature in a candidate chain is now verified once per validation and its result reused, instead of being verified again for every path that passes through it
  • The path search is capped at a fixed amount of work; when the cap is reached the validation reports that no valid path reaches a trust anchor, and ordinary chains stay far below it

Version 2.770.29

Fixed

  • ImportLoadedInterchangeFromFDF now matches whole key names when it reads annotations and the FDF status: /T no longer stops at /Type or /Text, /F no longer at /FreeText, and /Status no longer at a longer key that starts the same way, so imported annotations keep their author and flags
  • Keys of nested dictionaries inside an imported annotation, and key-like text inside strings, are no longer taken for the annotation's own entries
  • Literal strings in imported FDF annotations and status decode all escapes defined by ISO 32000-1: \t, \b, \f, octal \ddd and backslash line continuations, in addition to \n, \r and escaped parentheses

Version 2.770.28

Fixed

  • In builds made with Delphi versions before XE2, which use the bundled PNG reader, loading a PNG file with a compressed text (zTXt) chunk no longer reads past an internal buffer; text longer than 256 bytes came out corrupted and far too long, and large chunks could crash
  • The compression method of a compressed text chunk is now read from the correct byte, so chunks with an unsupported method are ignored instead of being decoded as if they were deflate data
  • Truncated or malformed compressed text no longer risks an endless decoding loop
  • Builds with Delphi XE2 and later use the system PNG reader and are unaffected

Version 2.770.27

Changed

  • The C++Builder SearchAndSelect demo now works like the Delphi version: it creates a sample PDF, loads it, finds the search term with SearchLoadedDocumentText and adds a highlight annotation over every match with AddLoadedHighlightAnnotation
  • The C++Builder SearchAndSelect demo accepts an input PDF, a search term, an output file and the --case-sensitive and --whole-word options, and checks the saved copy for the new annotations

Fixed

  • The highlights of the C++Builder SearchAndSelect demo now cover the matched words; they were placed one line too high because the text position was taken as the baseline instead of the top of the text

Version 2.770.26

Fixed

  • The C++Builder DigiPrint demo now starts on systems whose decimal separator is a dot; the comma decimals in demo.xml were parsed with the system locale and raised an error while the form was created
  • The DigiPrint demo reads demo.xml and its two JPEG icons from the executable folder and writes demo.pdf there, and the project now places the executable in the demo folder next to those files
  • The footer page icons of the DigiPrint demo are drawn inside the footer row instead of below the page's bottom rule, and the title, year and footer text use the report style's font sizes
  • Clicking the DigiPrint button more than once no longer shifts the left margin further to the right with every click
  • An error while the DigiPrint demo builds the PDF, such as a missing image file, no longer leaves the demo unable to create another document

Version 2.770.25

Fixed

  • Showcase demo: header bands, the cover background, the gradient swatches and the back-page accent now line up with the shapes they fill; gradient coordinates are given in PDF default user space (origin bottom-left), so the colours are no longer shifted or flipped
  • Showcase demo: Save Copy no longer switches the working file, so Regenerate and Open External keep using the main gallery instead of the last copy written
  • Showcase demo: when generating the gallery fails, the viewer is rebound and keeps showing the last gallery that loaded instead of staying blank
  • Showcase demo: output paths with characters outside the system ANSI code page are passed through unchanged

Version 2.770.24

Fixed

  • Loading a JPEG 2000 image with four components (RGB plus alpha, or YCC plus alpha) into a TJpeg2000Bitmap now puts red, green, blue and alpha into the right bytes of the 32-bit bitmap; previously the colour channels were shifted by one byte and the alpha channel overwrote one of them
  • This also fixes a round trip of a 32-bit TJpeg2000Bitmap through SaveToStream and LoadFromStream, which came back with mixed-up colours
  • Three-component colour images, grayscale images and four-component CMYK images load as before

Version 2.770.23

Security

  • A text string whose value starts with << and ends with >> (for example a title, author, form field value or annotation text such as "<<URGENT>>") is now always saved as a string; it was written out verbatim, which broke the file syntax and let crafted text inject a dictionary such as an action into the saved document
  • Applies to new documents and to loaded documents saved with SaveLoadedDocument and related methods

Version 2.770.22

Fixed

  • The C++Builder Barcodes demo writes Barcodes.pdf next to the executable instead of into the current working directory, and accepts an optional output file name as its only argument
  • The C++Builder Barcodes demo no longer opens a PDF viewer after it runs, and like the Delphi version compresses its page content and opens at fit-height zoom
  • Errors in the C++Builder Barcodes demo are reported with their message text; the console showed a memory address instead

Version 2.770.21

Fixed

  • In the stable C ABI, calling hpdf_document_destroy while another call on the same handle is still running (from another thread, or from inside a read, write, progress or cancellation callback) no longer frees the document under that call
  • The handle becomes invalid as soon as hpdf_document_destroy returns; the document itself is released when the last running call on it finishes
  • Calls that look up a handle concurrently with its destruction get HPDF_STATUS_INVALID_HANDLE instead of touching freed memory

Version 2.770.20

Security

  • Shaping text with a TrueType/OpenType font whose GSUB contextual lookups reference themselves no longer overflows the stack and crashes; the nesting depth now really accumulates across levels
  • A contextual rule that fires many nested lookups can no longer multiply them into a near-endless loop: each top-level match runs at most 1024 nested lookups

Fixed

  • A chaining contextual substitution (GSUB lookup type 6) reached from another contextual lookup is now applied; it was read with the plain contextual layout and never matched, so some ligatures and contextual forms were missing
  • A reverse chaining substitution (GSUB lookup type 8) referenced from a contextual rule is skipped as the OpenType specification requires, instead of being misread as a contextual subtable

Version 2.770.19

Fixed

  • RenderLoadedPageToDC no longer raises an access violation when the page contains an image XObject or an inline image; the images are drawn into the caller's device context
  • GetLoadedPageMetafile no longer fails on pages with images, and the images are recorded in the returned metafile
  • Image clipping against the visible surface now uses the size passed to RenderLoadedPageToDC when the device context has no clip region

Version 2.770.18

Fixed

  • JBIG2 halftone regions with grid skipping enabled no longer drop grid cells that start left of or above the region but still overlap it; such cells were treated as lying far outside, their gray values were skipped, and the remaining cells of the region were decoded out of step
  • Negative grid coordinates that are not whole pixels are now rounded toward minus infinity as the JBIG2 specification requires, so partly visible cells land on the correct pixel
  • Halftone regions whose grid lies entirely at non-negative coordinates are unaffected

Version 2.770.17

Fixed

  • OCSP responses whose responder is identified by key hash in the standard RFC 6960 form (an explicit [2] tag around the key hash) are accepted again; certificate path validation used to discard them, so revocation stayed unknown for every responder that names itself by key
  • Both direct responders (the issuing CA) and delegated OCSP signing certificates identified by key are matched, and the older implicitly tagged form keeps working
  • HPDFDescribeValidationEvidence now keys OCSP descriptors by the DN of the certificate issuer named in each response, resolved from the response's issuer name hash, instead of by the responder DN; responses from delegated responders and responses identified by key now produce descriptors that a lookup by certificate issuer can find
  • Added an HPDFDescribeValidationEvidence overload that takes the CMS signature and extra issuer certificates, for responses that identify the responder by key and embed no certificate

Version 2.770.16

Fixed

  • Viewer demo: the form no longer raises an access violation on startup; the status bar now exists before the viewer is bound to the document and starts reporting page changes
  • Viewer demo: pressing Enter in the search box now activates the first match instead of skipping straight to the second one
  • Viewer demo: bookmarks without a resolvable destination page are listed without a bogus "(p0)" suffix, and clicking them no longer raises a range error

Version 2.770.15

Fixed

  • The decryption step of the C++Builder Security demo now really opens the encrypted sample with the user password "user"; the password argument was taken as the automatic-decryption flag, so the sample was loaded without its password and Security-Decrypted.pdf was not a decrypted copy

Version 2.770.14

Fixed

  • A clipping path set with W or W* now takes effect after the path is painted, as ISO 32000-1 requires, instead of before it
  • Stroking a path that also sets the clip (re W S) now paints the whole line width; the outer half of the stroke was cut away by the path's own clip
  • Fill-and-stroke with an even-odd clip (W* B) now fills with the painting operator's own winding rule; the even-odd clip used to punch holes into the fill
  • B* and b* now always fill with the even-odd rule, independent of the fill rule left over from an earlier operation

Version 2.770.13

Fixed

  • JBIG2 halftone regions whose gray-scale planes are MMR-coded now decode; previously the planes came out inverted, only every eighth column was read, and the end of each plane was located at the wrong byte, so the following planes were decoded from the wrong position
  • The end-of-block marker after each MMR plane is recognised whether it follows the last row directly or after byte padding, and every plane now starts on the byte boundary that follows
  • Arithmetic-coded halftone regions are unaffected
  • Applies to PDF images with the JBIG2Decode filter that are loaded, extracted or rendered with the built-in decoder

Version 2.770.12

Fixed

  • JSON produced by the job processor (THPDFJobProcessor.Execute, HPDFDocRunJob, HPDFDocRunJobWithCallbacks) and by the document comparison now escapes quotes and backslashes as \" and \; the previous \x22 / \x5C forms are not valid JSON and made standard parsers reject results that contained a quote or a Windows path
  • Control characters are written as \uXXXX escapes and the output is always well-formed UTF-8: bytes that are not valid UTF-8 are replaced with U+FFFD instead of being copied into the result
  • Error messages in job results and in the comparison error object are encoded as UTF-8, so non-English exception text and file names no longer arrive in the ANSI code page

Version 2.770.11

Fixed

  • RedactLoadedRect, StampLoadedPageText, StampLoadedPageImage, StampLoadedPageShape, StitchLoadedPage and FlattenLoadedAnnotations no longer throw away a page's existing content when its /Contents is an array of streams; the new operators are added as an extra stream at the end of the array, or at the front for an underlay
  • Underlay stamps on a page whose content is split over several streams keep every original stream
  • Pages whose single content stream uses a filter other than plain FlateDecode (ASCIIHex, ASCII85, LZW, RunLength, filter chains or Flate with a predictor) are now decoded before new operators are appended, so the stamp, redaction box or flattened appearance is actually painted and the original content stays readable
  • When a page's content stream cannot be decoded at all it is left untouched and the new operators are written to a separate stream instead of being appended to the encoded bytes

Version 2.770.10

Security

  • Rendering a PDF whose embedded CFF font (FontFile3, Type1C or CIDFontType0C) stores an INDEX offset of 0x80000000 or more no longer reads memory outside the font data; such offsets were treated as negative and passed the bounds checks
  • Embedded TrueType fonts get the same treatment for glyph locations and table lengths of 0x80000000 or more: the glyph or the font is skipped instead of being read from the wrong place
  • A CFF glyph whose subroutines call each other many times over can no longer hang rendering or text-to-path export; each glyph now has a fixed budget of charstring operations, far above what real fonts use

Version 2.770.9

Fixed

  • JBIG2 images whose text regions use Huffman coding together with symbol refinement in the 13-pixel template now decode; the refinement adaptive-pixel bytes in the region header were skipped, so the instance count and every following field were read from the wrong offset and the image was rejected
  • Text regions with arithmetic coding, or with the 10-pixel refinement template, are unaffected and decode exactly as before
  • Applies to PDF images with the JBIG2Decode filter that are loaded, extracted or rendered with the built-in decoder

Version 2.770.8

Security

  • With codec isolation enabled, the size of a decoded image returned by the isolated codec worker is now checked against the configured output limit and the shared memory the host process allocated, instead of a capacity field the worker itself can overwrite
  • A compromised or faulty worker can no longer make the host copy past the end of the shared memory block; such a reply is rejected as a protocol error and the image is not drawn from it
  • The worker's reply is copied once and validated from that copy, so its header cannot change between the checks and the pixel copy

Version 2.770.7

Fixed

  • OCSP requests built for live revocation checking (HPDFCollectCMSRevocationRequests and the online certificate path validation) now encode the SHA-256 algorithm identifier of the CertID correctly; before, the first two object identifier arcs were written as separate bytes, so the hash algorithm was invalid
  • OCSP responders that reject malformed requests now answer these requests with a normal status instead of an error, so online revocation checks no longer fall back to offline evidence because of the request encoding

Version 2.770.6

Fixed

  • Rendering a Type 3 font now paints every occurrence of a glyph; previously a glyph repeated in the same text run, or anywhere else on the page with the same size and orientation, was painted only the first time and left blank afterwards
  • Affects RenderLoadedPageToBitmap, RenderLoadedPageToDC, page metafiles and the image export paths, with or without the shared render cache
  • Repeated Type 3 glyphs keep using the glyph cache, so the fix does not re-read the glyph procedure for each occurrence

Version 2.770.5

Fixed

  • The stable C ABI no longer frees the input source twice when hpdf_document_load_from_io fails while the document is being parsed, for example when the read callback reports an error or the operation is cancelled midway; such a load could corrupt the heap or crash the host process
  • A failed load now returns the callback or cancellation status instead of an internal error, and the same document handle can be loaded again afterwards
  • Loading a new document into an existing handle releases the previous input source only once the new load has taken over

Version 2.770.4

Fixed

  • Barcode results from DecodeLoadedPageBarcodes on pages with /Rotate 90 or /Rotate 270 now report bounds at the symbol's real position instead of a position mirrored across the page
  • The reported barcode orientation on those pages now matches the direction the symbol actually reads in page space
  • The invisible text placed by ApplyLoadedOCRTextLayer on quarter-turned pages now lies over the recognised words, so selection and search highlight the right place
  • Face findings from redaction detection on quarter-turned pages are mapped back to the right page area as well
  • Unrotated and upside-down pages are unaffected

Version 2.770.3

Fixed

  • In 32-bit builds, loading or writing a TIFF image compressed with PixarLog no longer crashes with a stack overflow; selecting the codec builds its companding tables, which hit an endlessly recursive exponent helper
  • SGILog (LogLuv) TIFF images in 32-bit builds go through the same corrected math helpers
  • The 32-bit rounding-down helper used by the TIFF codecs now rounds negative values toward minus infinity and accepts large magnitudes without an overflow error, matching the 64-bit builds

Version 2.770.2

Changed

  • When rendering, an image drawn at half its pixel size or less is shrunk to exactly the drawn size by area averaging right after decoding, instead of being kept at full size and stretched while drawing
  • The shrunk image fits the decoded-image cache: a transparency group that is drawn twice, on black and on white, to recover its alpha now decodes such an image once instead of once per pass, and so does rendering the same page again
  • An image with a soft mask is combined with its mask pixel for pixel at the drawn size, where the mask is also shrunk; this avoids building and premultiplying a full-size copy of a large image and its mask, and the mask edge is no longer sampled by nearest neighbour
  • On a sample page with a 4229 x 4629 masked image drawn at about a quarter of its size inside such a group, rendering took about 1.8 seconds instead of 4.5
  • Stencil image masks keep their full resolution, and the public region-decoding methods keep returning the sizes they document

Version 2.770.1

Fixed

  • In 64-bit builds, rendering a page with a transparency group failed with a list index error whenever the group set no soft mask of its own, a regression of version 2.769.3; such pages now render again

Version 2.770.0

Added

  • New RenderColorimetricLuminosityMasks property chooses how a luminosity soft mask turns colour into mask values when its group has a CIE-based blending space (CalGray, CalRGB, Lab, or ICCBased)
  • Setting it to true takes CIE Y as ISO 32000-1 11.5.3 describes; bitmaps rendered under the two settings are cached separately

Changed

  • By default a luminosity mask now weights the resolved colour of its group like DeviceRGB whatever the blending space, as common PDF viewers do. CIE Y is measured on a linear scale, so a mid-grey in an ICC or calibrated group masked only about a fifth, and drop shadows and fades came out much lighter than in other viewers
  • The /BC backdrop colour of a mask follows the same setting as the paint inside the mask group
  • Masks whose group uses a device colour space render as before

Version 2.769.3

Fixed

  • A transparency group painted with a blend mode other than Normal, such as the Multiply drop shadows that design tools export, now blends its own colour and alpha with the backdrop (ISO 32000-1 11.3.6 and 11.4.8). Where the group was partly transparent its pixels already held the backdrop, which was then blended with itself: a Multiply shadow came out too dark and in the backdrop's hue
  • The content of a transparency group starts from the Normal blend mode, as the blend mode applies to the group as a whole (11.6.6). It kept the mode the group was painted with, so an isolated group multiplied its content into its empty start and painted black
  • A soft mask set in the same graphics state as a blend mode draws its mask group with Normal blending (11.6.5.2); the blend mode turned a white mask group black and hid what the mask should have shown
  • To find the alpha of a group that is not isolated, the group is drawn twice, on black and on white, when its own graphics states blend normally; such pages render somewhat slower

Version 2.769.2

Changed

  • An image with a soft mask is decoded at the size it is drawn, as an image without one already was, and its mask is decoded at that size too; a JPEG mask goes through the reduced-size JPEG decoder instead of being decoded in full
  • The image and its mask are always decoded whole, so the mask cannot shift against the image, and clipping keeps what is drawn to the visible part
  • On a page with a 4229 x 4629 shadow image and a 2114 x 2314 JPEG mask drawn about 1000 pixels wide, rendering at 72 dpi took 1.6 instead of 3.7 seconds
  • DecodeLoadedImageRegionAtResolution returns a whole image of a format without a region decoder as decoded, without copying it once more

Version 2.769.1

Changed

  • Soft masks are built faster: building a mask no longer keeps a second copy of the whole page to compare against, which pages with many masks, such as the gradients and drop shadows that design tools export, paid once per mask
  • Luminosity masks over a calibrated or ICC-based blending space look the sRGB curve up instead of computing it for every channel of every pixel, and grey mask content, the common case, is converted through a single table
  • A 1125 x 1600 page with about twenty soft masks renders roughly a fifth faster; the rendered pixels are unchanged

Version 2.769.0

Changed

  • Setting a page's Width or Height no longer hides errors: a failure now raises an exception instead of leaving the size silently unapplied, and setting the size of a page whose canvas has already been closed raises the new EHPDFPageClosedError with a message that says why
  • After such a failure the page no longer stays in a state where later size changes only update its MediaBox and not the page size used for drawing

Fixed

  • Resizing a page of a loaded PDF no longer overwrites other objects: a MediaBox whose numbers are separate objects, or a MediaBox array shared by several pages, is copied for the page being resized, so other pages keep their size
  • Resizing a loaded page whose MediaBox has fewer than four numbers now writes a complete MediaBox with the new size; the new size was ignored before

Version 2.768.20

Fixed

  • Text extraction no longer enters a Form XObject that paints itself, directly or through other forms; such a form was read again at every nesting level, repeating its text up to twelve times, and one that painted itself twice took 4,096 passes
  • Text of a Form XObject that falls outside the form's bounding box, which clips it, is no longer part of the page text

Version 2.768.19

Changed

  • Large documents load faster again: walking the page tree no longer searches all loaded objects for every page, and the encryption check of LoadFromFile with AutoDecrypt reads the file through the same buffer as the load. The 56 MB PDF Reference 1.7 now loads in about 8 seconds instead of 22

Version 2.768.18

Fixed

  • Page rendering now finds installed fonts that Windows reports under a localized name, such as Microsoft YaHei on Chinese Windows or Yu Mincho on Japanese Windows; text in such fonts was drawn in a substitute font when the PDF did not embed them
  • Font names written without spaces now match Windows families that keep some words joined, such as MicrosoftYaHei for Microsoft YaHei, MicrosoftJhengHei for Microsoft JhengHei and MSPGothic for MS PGothic; they were looked up with a space before every capital letter and never found
  • The renderer remembers which font names are installed, so documents with many fonts that are not installed no longer probe Windows for each name on every page

Version 2.768.17

Changed

  • Large documents load much faster: operation telemetry now samples memory at most once every 10 ms within an operation instead of at every object the parser reads, a sample that walked every block of the memory manager. The 1,236-page PDF Reference 1.6 loads in about 2.5 seconds instead of 30, and the 56 MB PDF Reference 1.7 in about 22 seconds instead of over four minutes
  • The slowdown grew with the size of the application's own heap, so applications holding much memory benefit most
  • UpdateOperationTelemetrySample gains an optional Force parameter that takes a sample regardless of the interval; the end of every operation still takes one

Version 2.768.16

Fixed

  • Loading an empty file no longer hangs; LoadFromFile used to loop forever reading backwards from the start of the file
  • A file in which no page can be found, such as an empty file, plain text or random bytes, no longer loads as one or three blank pages guessed from its size; LoadFromFile now returns 0 or raises an exception, as for other unreadable files
  • An encrypted file whose pages lie in encrypted object streams now raises an exception saying the password is needed when it is loaded without one, instead of loading as a blank page; load it with the password overload

Version 2.768.15

Fixed

  • Page text no longer repeats characters that are painted again over themselves, as in overprinted logos and in bold faked by drawing the text twice with a small offset; such text was extracted twice, for example "Bold wordsBold words", and searches for it could fail
  • The text, column, layout and semantic text extraction all read such a character once; the glyph list still reports every painted glyph

Version 2.768.14

Fixed

  • Glyph names of the full Adobe Glyph List now resolve in text extraction and rendering, among them the ligatures fi, fl, ff, ffi and ffl and the afii names that older Cyrillic, Hebrew and Arabic fonts use; a font encoding that named such glyphs gave the wrong characters, for example "defined" was extracted as "deÞned"

Version 2.768.13

Changed

  • LoadFromFile reads files below LocalFileMappingThreshold (8 MB by default), and every file when mapping is off or unavailable, through a 64 KB read buffer; files with many objects and a classic cross-reference table load far faster, for example the 912-page PostScript Language Reference Manual in about 1 second instead of close to 3 minutes

Version 2.768.12

Fixed

  • Text extraction now places the glyphs of CID-keyed (Type 0) fonts whose /W width array is not ordered by CID; most glyphs got the default full-em width, so lines ran past the page edge and their ends were dropped from the extracted text and search

Version 2.768.11

Fixed

  • Accented letters of embedded CFF (Type 1C) fonts that are built from a base letter and an accent, as in many fonts converted from Type 1, now render; letters such as ü and é were left blank, so words like "München" showed a gap
  • The same letters are now complete in SVG export with embedded fonts

Version 2.768.10

Fixed

  • Composite glyphs of embedded TrueType fonts now place each part at its own offset: accented letters such as é and Å lost their accent, and curly double quotes showed as a single quote followed by a gap
  • The same glyphs are now complete in SVG export with embedded fonts

Version 2.768.9

Fixed

  • Images marked /Interpolate false are now averaged when drawn smaller than their own resolution; they were sampled one pixel in several, so charts placed as images showed jagged, dark axis labels and broken thin lines where other viewers show them smooth
  • Enlarged images with /Interpolate false keep their hard pixel edges as before

Version 2.768.8

Fixed

  • Text drawn with a stroke narrower than a pixel, as documents use for fake bold, now renders at that width; the stroke used to be a whole pixel wide, so such headings looked smeared and much heavier than in other viewers
  • Small glyphs of embedded and installed fonts are stroked with antialiasing in text rendering modes 1 and 2, in the stroke colour, after the fill

Version 2.768.7

Fixed

  • Calling ProcessObjectStreamsForDecompression on a loaded document no longer discards the object streams the load had read: compressed objects stay available to ExtractRawObjectFromStream and ExtractObjectFromStream afterwards, where before none could be read
  • When the method scans the file itself, as for a document with a classic cross-reference table, it now finds an object stream that directly follows another stream and reads its object count and offsets from its own dictionary
  • ExtractRawObjectFromStream decodes an object stream again when the object stream cache has released it, instead of returning an empty result

Version 2.768.6

Fixed

  • The Stamp demo now builds successfully for Win64

Version 2.768.5

Fixed

  • On Chinese, Japanese and Korean editions of Windows, documents with cross-reference streams whose dictionaries hold binary strings, such as the checksums of attached files, now load in a fraction of a second; a 4 MB portfolio with nine attached PDF files took two minutes to open
  • The parser now looks for its keywords in the raw bytes of the file rather than in text converted through the Windows code page, so binary data next to a keyword can no longer hide it or shift its position

Version 2.768.4

Fixed

  • Content inside a Form XObject now renders with the opacity, soft mask and blend mode it sets for itself; before, everything inside a form painted at full opacity, so translucent watermarks and stamps came out solid
  • A form painted with an opacity of its own is still composited once as a whole, as before

Version 2.768.3

Fixed

  • Page text now includes text that the page paints through Form XObjects, such as page headers and footers, watermarks and stamps; before, only text in the page's own content was returned
  • Form text appears where the form is painted, placed through the form's matrix and read in the form's own fonts, and forms nested inside forms are followed too
  • This applies to plain, layout, column and semantic page text; the glyph-level extraction still returns only the glyphs of the page's own content, whose positions point into that content

Version 2.768.2

Fixed

  • EncryptFile and DecryptFile with AES-256 no longer damage embedded font files whose dictionary lists /Length1 before /Length, as Ghostscript and other tools write them; such fonts were encrypted as a single byte, which left the output unreadable
  • Streams whose length is stored in a compressed object stream keep all their data through AES-256 encryption and decryption; before, the last byte of such a stream could be lost

Version 2.768.1

Fixed

  • Documents whose stream lengths are stored inside compressed object streams, as Ghostscript writes them, now load completely; before, every page content stream of such a file was dropped, so the pages rendered blank and gave no text
  • A stream whose length refers to an object that does not exist, or that has no length at all, is now read up to its end marker instead of being dropped

Version 2.768.0

Added

  • BuildLoadedPageSVG and SaveLoadedPageAsSVG take an optional EmbedFonts parameter; it is off by default, and the existing calls export exactly as before
  • With EmbedFonts set to True, text in fonts whose TrueType or CFF program is embedded in the PDF is drawn from the font's own glyph outlines, so the SVG looks the same on systems where those fonts are not installed
  • Each glyph outline is written once and reused wherever the character appears, which keeps the file size down on text-heavy pages
  • The text stays in the SVG as transparent text over the outlines, so it can still be selected, searched and read by screen readers
  • Fill, stroke and fill-and-stroke text, line widths, rotated or scaled text and text used as a clipping path come out as they do in the rendered page
  • Fonts that are not embedded, Type 1 font programs and vertical CJK text stay ordinary SVG text

Version 2.767.4

Fixed

  • Outlined and fill-and-outline text (text render modes 1 and 2) in fonts that are not embedded now honours the line width when rendered; before, every outline came out one pixel wide whatever the line width was
  • Such outlines are now drawn from the installed font's exact glyph shapes at their exact positions, as filled text already was
  • Characters the installed font lacks, which Windows takes from a fallback font, also keep the line width when outlined

Version 2.767.3

Fixed

  • Text in fonts that are not embedded is now drawn with the characters its encoding names. The character codes went to the installed font unchanged, and the installed font reads them in its own character set, so every /Differences entry and the codes where StandardEncoding or MacRomanEncoding differ from the Windows character set drew the wrong characters, for example straight instead of curly quotation marks in Type 1 fonts without an encoding
  • On Chinese, Japanese and Korean editions of Windows, accented letters, curly quotation marks, the copyright sign and other characters above code 127 in fonts that are not embedded were drawn as question marks since version 2.766.83; they are read in the installed font's character set again
  • Symbol fonts keep their own code mapping

Version 2.767.2

Fixed

  • Large glyphs of embedded fonts are now rendered with antialiasing as well. Glyphs larger than 64 pixels, such as headings and titles at print resolutions, were filled without it and showed jagged edges; they are now antialiased up to 256 pixels, while larger text of installed fonts keeps the system's antialiased text output

Version 2.767.1

Fixed

  • Layout text, column text and semantic text extraction now measure the page in page units. They compared positions with the font size given to Tf and with text-space advances, which are a fraction of the real distances in the many documents that size text through the text matrix, so layout text spread each letter over several columns, column text lost all word spaces and semantic text put almost every word on its own line
  • All three now return only the text inside the visible box and separate words that a document spaces apart by moving the text position, like the plain page text
  • Layout text keeps the letters of a word together, where wide letters such as m or W used to push a space into the word
  • Semantic text no longer puts a blank line after every line of a single-column page: a run of full-width lines forms one zone, and a zone change separates lines only when they are set apart by more than a line spacing
  • The help pages for these methods describe what they return, and the column method shows its full syntax

Version 2.767.0

Added

  • LoadFromFile and LoadFromStream have overloads with an AutoDecrypt parameter. With AutoDecrypt True, a document encrypted with an empty user password, as documents that only restrict printing, copying or editing are, opens decrypted in memory the way viewers open it, so its text can be extracted and its pages rendered and exported without supplying a password
  • Documents that need a password, and unencrypted documents, load exactly as the plain overloads load them, and whether the empty password opens the document is checked from a few small ranges of the file before it is loaded
  • As with the password overloads, a document opened this way is no longer encrypted in memory, and saving it writes an unencrypted copy

Version 2.766.83

Changed

  • Small text in fonts that are not embedded, such as the standard 14 fonts and installed Office and Chinese fonts, is now rendered from the unhinted glyph outlines at its exact position, with the same antialiasing as embedded fonts. The system text output used before placed every glyph on a whole pixel and adjusted its shape to the pixel grid, so small text was spaced unevenly and looked blotchy; rendered pages now match the shapes and spacing of other viewers much more closely
  • Glyphs that the installed font lacks and large glyphs are still drawn with the system text output, which can take missing characters from linked fonts

Fixed

  • Small glyphs of embedded fonts are drawn faster, because the bitmaps behind their antialiasing are reused instead of being created for every glyph

Version 2.766.82

Fixed

  • Text drawn with installed fonts in rendered pages now uses grayscale antialiasing. It followed the system's ClearType setting, so black text in rendered bitmaps carried red and blue fringes that depended on the machine and remained in saved, printed or scaled images

Version 2.766.81

Fixed

  • Small text in embedded CFF and OpenType CFF fonts is now rendered with antialiasing, as TrueType text already was. These glyphs were filled without antialiasing, so at small sizes and normal screen resolutions stems narrower than a pixel disappeared and body text broke up into fragments; forms and documents set in fonts such as Helvetica Neue are now legible at 72 DPI

Version 2.766.80

Changed

  • Page text extraction returns only the text the page shows. Glyphs that lie outside the visible area, the crop box within the media box, are left out, so printer's marks, slug lines and other content outside a trimmed page no longer appear in the extracted text. The glyph-level extraction still returns every glyph with its position

Version 2.766.79

Fixed

  • Page text extraction no longer breaks a line at a raised superscript or a slightly shifted baseline in text that is sized through the text matrix. A new line was started whenever the text moved up or down by half the font size given to Tf, which is often 1 in such documents, so a move of half a point was enough
  • Rotated text, such as labels running up the side of a page or diagonal watermarks, no longer puts every character on its own line. Lines are now told apart by the movement across the direction the text runs, compared with half the text height on the page

Version 2.766.78

Fixed

  • When the SVG export falls back to a generic font family for a font that is not installed, it now names a common face of that kind first: Times New Roman before serif, Arial before sans-serif and Courier New before monospace. A browser picks the face for a bare generic family from its own language settings, and Chinese or Japanese browsers chose CJK fonts whose wide Latin letters overlapped at the positions taken from the PDF

Version 2.766.77

Fixed

  • The SVG export now names installed Chinese font families for fonts known by their legacy GB2312 names, such as KaiTi_GB2312 or its Chinese spelling. Windows applications reach these fonts through the system's font substitutes, but browsers do not, so such text was shown in the browser's default font
  • A font named in only one language also gets the installed family's other name, for example SimHei together with its Chinese name, and a generic family that matches its style

Version 2.766.76

Added

  • THPDFGlyphRecord has GlyphEndX and GlyphEndY, the page-space end of the glyph's own width along the baseline, without character and word spacing

Fixed

  • Page text extraction now separates words that a document spaces apart by moving the text position instead of showing a space character. Many producers write [(PDF)-240(Reference)] or place each word with its own positioning operator, and such words used to run together as PDFReference
  • A space is added where the gap after a glyph's own width exceeds 0.15 of the text height, measured in page units so that text sized through the text matrix is treated the same as text sized through the font size
  • Kerning, slightly loosened spacing, tightened character spacing that position adjustments give back, overprinted text and real space characters are left as they are, and no space is added between two Chinese, Japanese or Korean characters however far apart justification sets them

Version 2.766.75

Fixed

  • Text extraction, the SVG export and rendering now recognize the glyph names of the Symbol font, such as copyrightsans, registerserif, trademarksans and the pieces of large brackets and braces (parenlefttp, braceex, integralex, ...). Subset Symbol fonts commonly re-encode these names, and the characters came out as raw control codes
  • All ITC Zapf Dingbats glyph names (a1 to a206) are recognized as well, so check marks, crosses, arrows and circled numbers that a font selects through these names, as form fields and bulleted lists often do, are extracted as their Unicode characters
  • Looking up a glyph name for a character still prefers the common name, such as arrowright or spade, over a ZapfDingbats name

Version 2.766.74

Fixed

  • HPDFExtractGlyphsViaDevice no longer fails with an invalid pointer operation. The text-extraction device it creates is reference counted, and the function freed it explicitly as well, so every call ended by freeing the device a second time

Version 2.766.73

Fixed

  • Text extraction now restores the text state with Q as the specification requires (ISO 32000-1 9.3.1). Before, only the transformation was restored, so a font, character spacing or leading set inside q ... Q stayed in effect for the text that followed
  • When the font selected inside q ... Q used two-byte codes and the font outside it one-byte codes, the text after Q was decoded as two-byte codes and lost. Word and similar producers write pages this way, typically losing table-of-contents leaders and Latin words between Chinese runs
  • The fix covers both the page text API and the device-based text extraction interface

Version 2.766.72

Fixed

  • Text drawn after RestoreState now always has its font selected. The page skips a font selection that repeats the last one written, but it did not take into account that RestoreState (the Q operator) returns the reader to the font in effect before SaveState. Text shown after RestoreState in the font chosen inside the pair came out with no font or the wrong font, so viewers could drop it and text extraction could not read it
  • Character spacing, word spacing, horizontal scaling and leading follow SaveState and RestoreState in the same way, so a value set again after RestoreState is written out instead of being skipped while the reader has already returned to the earlier value
  • Selecting a Type 3 font no longer causes the next selection of the previous font to be skipped
  • XPS documents converted to PDF were affected, because each glyph run is drawn inside its own saved graphics state

Version 2.766.71

Fixed

  • Text extraction and the SVG export read the codes of a simple font (Type 1, TrueType or Type 3) as two bytes when its /ToUnicode CMap declared a two-byte codespace, as some producers write for every font. Codes of simple fonts are always single bytes (ISO 32000-1 9.6.6), so each pair of characters was taken as one unknown code and most of the text disappeared, leaving only strings of a single character

Version 2.766.70

Fixed

  • The SVG export moved text by the operands of Td, TD, T*, ' and " in page units instead of text space (ISO 32000-1 9.4.2). Text whose size comes from the text matrix, with 1 Tf and a scaled Tm as word processors often write it, had its lines stacked on top of each other near the first baseline; it is now laid out as in the PDF
  • The same correction applies to the content-device text extractor THPDFTextExtractDevice

Version 2.766.69

Fixed

  • The page renderer passed font names that use #xx escapes to Windows with the escapes, so non-embedded fonts named that way, common for CJK fonts such as KaiTi_GB2312 written in Chinese characters, matched no installed font and were drawn in a substitute face. Escapes are now decoded; UTF-8 names keep their characters and other bytes are read in the system code page

Version 2.766.68

Fixed

  • The SVG export wrote font names that use #xx escapes as the escapes themselves, so CJK font names stored as UTF-8 bytes (such as the KaiTi_GB2312 name in Chinese characters) reached font-family as #e6#a5#b7... and never matched an installed font. Escapes are now decoded; a name that is valid UTF-8 is kept, and bytes of other encodings are dropped as before

Version 2.766.67

Fixed

  • The SVG export did not restore the text state at Q: font, size, spacing, scaling, leading, rise and render mode set inside q ... Q carried over to the text after it. Pages that embolden a heading with 2 Tr inside a saved state drew all the following body text stroked and heavy. The text state is now saved and restored with the rest of the graphics state (ISO 32000-1 9.3.1)

Version 2.766.66

Fixed

  • The SVG export stroked text in the stroking render modes (1, 2, 5 and 6) without a stroke width, so SVG's default of one text-space unit applied; text that PDF producers embolden with a thin stroke, such as 2 Tr 0.25 w, came out much heavier. The line width is now converted from user space into the text element's space, a zero width gives a one-pixel line, and the line join is kept

Version 2.766.65

Fixed

  • Documents whose trailer gives /Encrypt as a direct dictionary instead of a reference, as some PDF writers produce, were loaded as unencrypted: even with the right password their pages rendered blank and text extraction and the SVG export returned nothing, and SaveLoadedDocument wrote a damaged file that dropped /Encrypt but kept the encrypted streams. They now open, decrypt and save like documents with an indirect encryption dictionary
  • The cross-reference loader cut a trailer at the first >>, so entries after a nested dictionary in the trailer were lost; it now reads the trailer up to its matching closing delimiter

Version 2.766.64

Fixed

  • Rendering, the SVG export, the viewer and printing showed a loaded page's whole /MediaBox. A page is displayed and printed through its /CropBox, clipped to the /MediaBox (ISO 32000-1 14.11.2), so pages with a crop box came out too large, offset and with content meant to be hidden
  • RenderLoadedPageToBitmap, the tile, band, metafile and device-context renderers, BuildLoadedPageSVG, the viewer's page geometry, highlights and region snapshots, and printing now cover the visible box; pages without a /CropBox are unchanged

Added

  • THotPDF.GetLoadedPageVisibleBox returns a loaded page's visible box, its /CropBox clipped to its /MediaBox
  • THPDFPageDisplayList.CropBox gives the same box for a compiled display list

Version 2.766.63

Fixed

  • The built-in glyph list was searched up to a count 13 entries short of the table, so the glyph names that sort last (y, z, zero, zeta, yen, ydieresis, zcaron and others) were never found. Text extraction ignored a font's /Differences entries that named them, and the page renderer drew y, z and 0 of embedded CFF fonts with WinAnsiEncoding or MacRomanEncoding in a substitute system font
  • Looking up the glyph name of an accent such as U+0060 returned the small-capital name of MacExpertEncoding (Gravesmall) instead of grave, so those accents were also missed in embedded CFF fonts

Version 2.766.62

Fixed

  • The page renderer used the line width and dash lengths as device pixels instead of user-space units (ISO 32000-1 8.4.3.2 and 8.4.3.6); lines kept the same pixel width at every resolution and ignored any scaling cm. Slides exported through macOS Quartz, which stroke shapes with a width in EMUs under a 1/12700 scale, were covered entirely by the stroke color
  • The stroke width and dashes now follow the scale of the CTM in effect when the path is stroked, also for text drawn in a stroking render mode

Version 2.766.61

Fixed

  • The SVG export left out Type 1 function-based shadings (ISO 32000-1 8.7.4.5.2), whether painted with sh or used in a shading pattern; it now samples the shading's function over its /Domain into an embedded PNG image placed through the shading's /Matrix, clipped to its /BBox, with the pattern's background color under it

Version 2.766.60

Fixed

  • The page renderer painted the /Background color of a mesh shading shown with the sh operator, which PDF ignores (ISO 32000-1 8.7.4.5.1), so the whole clipping area around the mesh took that color
  • The background color of function-based, axial and radial shading patterns was not painted by the page renderer; it now fills the pattern's area before the shading, so it shows wherever the shading does not reach
  • The SVG export now paints the background color of shading patterns in the same way and, like the renderer, ignores it for sh

Version 2.766.59

Fixed

  • The page renderer ignored the /BBox of function-based, axial and radial shadings (ISO 32000-1 8.7.4.5.1); an extended shading painted with sh or used in a shading pattern covered the whole clipping area instead of stopping at its box. Mesh shadings already honored it

Version 2.766.58

Fixed

  • The SVG export wrote text in Type 3 fonts as SVG text in an installed font, so pages that draw their text or symbols with glyph procedures showed the wrong shapes; it now draws each glyph's procedure, placed through the font's /FontMatrix, the font size and the text matrix (ISO 32000-1 9.6.5)
  • Type 3 glyphs that start with d1 are painted in the current fill color, and glyphs that set their own colors keep them

Version 2.766.57

Fixed

  • Text extraction and the SVG export took the /Widths of a Type 3 font as thousandths of an em, although they are in glyph space and scaled by the font's /FontMatrix (ISO 32000-1 9.6.5); glyphs of a font with a [0.01 0 0 0.01 0 0] matrix were placed a tenth of their advance apart, which also merged words in extracted text

Version 2.766.56

Fixed

  • Rendering a loaded page read every Type 0 font as if it used Identity-H, two bytes per code and each code its own CID. Fonts encoded with the predefined UCS2 and UTF16 CMaps of the Chinese, Japanese and Korean collections, such as UniGB-UCS2-H, or with an embedded CMap now map their codes to CIDs, so /W widths and embedded glyphs are looked up at the right CIDs; before, for example, lowercase Latin letters in a STSong-Light text were spaced a full em apart
  • Codes are read by the CMap's codespace ranges, so one-byte and four-byte (surrogate pair) codes are read whole, and names ending in -V select vertical writing

Version 2.766.55

Fixed

  • Rendering a loaded page drew fonts that are not embedded and carry a style part or a PostScript spelling in their name, such as TimesNewRoman,Bold, TimesNewRomanPS-BoldMT, Arial,BoldItalic or SegoeUI-Semibold, in a substitute face; the family part of the name is now looked up among the installed fonts, also with spaces between its words (Times New Roman, Segoe UI), and the style comes from the name and the font descriptor

Version 2.766.54

Fixed

  • Standard fonts without a /Widths array, which ISO 32000-1 9.6.2.2 allows for the standard 14 fonts, were laid out at a fixed half-em advance when rendering a loaded page, exporting it to SVG or extracting its text, so letters crowded together; the Helvetica, Times and Courier families, also under the names Arial, TimesNewRoman and CourierNew, now take their widths from the installed Arial, Times New Roman and Courier New, which share their metrics
  • A standard Type 1 font with no /Encoding now decodes through its implied StandardEncoding, so for example code 39 reads as a right single quotation mark

Version 2.766.53

Fixed

  • Rendering a loaded page ignored a font's /Widths array when it was an indirect object, as many producers write it, and laid the text out at a fixed half-em advance; such text is now spaced by its widths
  • Font descriptors given as indirect objects are now read when rendering, so the ForceBold and Italic flags and the italic angle of non-embedded fonts take effect
  • The SmallCap flag no longer makes text bold: bold now follows the ForceBold flag (ISO 32000-1 Table 123)

Version 2.766.52

Fixed

  • Rendering a loaded page now clips to text shown in render modes 4 to 7 (ISO 32000-1 9.3.6): the glyphs become part of the clipping path at the end of the text object, until the graphics state is restored. Before, mode 7 text was ignored and a shading or image meant to show through the letters covered the whole area, and modes 4 to 6 painted the text without clipping
  • Clip text is taken from the same glyph outlines as painted text, embedded fonts and Type 3 glyphs included

Version 2.766.51

Fixed

  • SVG export now clips to text shown in render modes 4 to 7 (ISO 32000-1 9.3.6): the glyphs become an SVG clipping path from the end of the text object to the end of the graphics state, so a shading or image drawn through text appears only inside the letters
  • Text in render mode 7 is no longer lost with nothing clipped, and modes 4 to 6 still fill or stroke the text as modes 0 to 2 do

Version 2.766.50

Fixed

  • Axial, radial and function-based shadings whose /Function is an array of one-output functions, one per color component (ISO 32000-1 8.7.4.5.1), were not drawn when rendering a loaded page; they are now drawn, with the array's functions given directly or as indirect objects
  • SVG export writes such axial and radial shadings as gradients, including when they fill a path through a shading pattern

Version 2.766.49

Fixed

  • SVG export wrote bold and italic text in the regular style: text now gets font-weight="bold" and font-style="italic" from the style part of the font name, such as Arial-BoldMT, Helvetica-Oblique or MinionPro-It, and from the font descriptor's weight, flags and italic angle
  • Fonts outside the standard 14 families were written with their style part in the family name (SegoeUI-Semibold), which matches no installed font; the family is now named on its own and with spaces between its words (SegoeUI, Segoe UI), followed by a generic family from the descriptor flags or the name

Version 2.766.48

Fixed

  • SVG export drew the content of form XObjects in black instead of the fill and stroke colors in effect where the form is painted (ISO 32000-1 8.10.1); a Q inside the form now restores those colors too
  • Content devices can start nested content from the caller's colors through the new IHPDFContentInheritedColorDevice interface

Version 2.766.47

Added

  • SVG export now fills paths that use a tiling pattern with an SVG <pattern> that repeats the pattern cell at its XStep and YStep spacing, clipped to the cell's /BBox; before, such paths were filled black or kept the previous color
  • Uncolored tiling patterns (PaintType 2) paint the cell in the color given with the pattern, such as the components in /CS0 cs 0 0 1 /P1 scn
  • Paths filled with a shading pattern get the axial, radial or mesh shading of the pattern, clipped to the path
  • The pattern matrix is applied in the space of the page or of the form that uses the pattern (ISO 32000-1 8.7.2), so patterns do not scale or move with the current transformation matrix, and Q brings back a pattern saved with q
  • Content devices can receive pattern selections through the new IHPDFContentPatternDevice interface

Version 2.766.46

Added

  • Images with a color-key /Mask array (ISO 32000-1 8.9.6.4) are now masked when a loaded page is rendered: pixels whose components all fall inside the key ranges are left unpainted, so the page shows through
  • SVG export applies the same color-key masks and writes such images as PNG images with an alpha channel
  • The key is compared with the samples as stored, so an Indexed image masks by palette index even when two entries share a color, and images at 1, 2 and 4 bits per component are covered
  • New DecodeLoadedImageColorKeyMask method returns the mask of a loaded image as a white-and-black bitmap; it covers Flate, LZW and unfiltered images, since lossy codecs do not keep exact sample values

Version 2.766.45

Changed

  • CompressDocument and CompressLoadedDocument let each object stream hold up to 250 objects instead of 100; fewer, larger containers compress better and need fewer dictionaries
  • Loaded PDFs that were already written compactly with object streams now come out about the size of the original, most of them slightly smaller, instead of slightly larger
  • A limit set through ConfigureAdaptiveObjectStreamPacking is kept, CompressDocument restores the limit at EndDoc, and plain object-stream saves keep 100 objects per container

Version 2.766.44

Changed

  • The cross-reference stream of files written with object streams uses the smallest field width each column needs, so offsets in files below 16 MB take 3 bytes instead of 4 (ISO 32000-1 7.5.8.2), and its dictionary is written compactly
  • Files written with a cross-reference stream but without object streams are unchanged

Version 2.766.43

Changed

  • Unencrypted files written with object streams now pack the document catalog and the document information dictionary into object streams as well, where they are compressed; ISO 32000-1 7.5.7 only keeps the encryption dictionary out
  • Encrypted files keep both dictionaries at the top level, as before

Version 2.766.42

Changed

  • Files written with object streams, including those from CompressDocument and CompressLoadedDocument, spell dictionaries and arrays compactly, leaving out the spaces and line breaks the PDF syntax does not need (ISO 32000-1 7.2.2); stream dictionaries, which cannot go into object streams and stay uncompressed, gain the most
  • Signature dictionaries and the encryption dictionary keep their spaced layout, so signing a document written with object streams works as before
  • Files written without object streams are unchanged byte for byte

Version 2.766.41

Fixed

  • PDF files written with object streams no longer start with the %PDF- header and binary comment line twice; this affected every save with UseObjectStreams, CompressDocument or CompressLoadedDocument
  • Viewers tolerated the repeated header, but strict validators could flag it, and it cost 15 bytes per file

Version 2.766.40

Fixed

  • Loaded PDFs that keep a bare number in an object stream, as many producers store stream lengths, can now be edited and saved; every change used to stop the save with "Cannot rewrite compressed object N: the source member could not be loaded"
  • Such a number is now read as a number; before, the parser looked past the end of the member for an indirect reference and gave up, so the member could not be loaded at all
  • Saving such a file without changes was not affected, because an unchanged file is copied as it is

Version 2.766.39

Fixed

  • Stamp annotations in PDF/A-2 and later and PDF/X-6 documents showed only their frame, without the stamp name such as APPROVED or CONFIDENTIAL
  • The name is now drawn in the page's current font, which is embedded together with the page text, in capitals and the annotation color, centred in the rectangle
  • Long names such as NOTFORPUBLICRELEASE are set smaller so that they fit the rectangle width
  • The documents still pass PDF/A validation; stamps in other documents are written as before

Version 2.766.38

Added

  • New CompressLoadedDocument overload with options that makes a loaded PDF as small as possible without changing how it looks: it drops unused page resources, merges identical fonts and forms, subsets the embedded fonts, recompresses streams with Flate and writes the next save with object streams
  • Every step is lossless and images are not resampled or recompressed; a three-page document that embeds full Arial and SimSun fonts drops from about 10 MB to about 20 KB, and three other sample PDFs shrank by 15-50%
  • Documents with signature fields are refused by default and left unchanged, because every step rewrites signed bytes; AllowSignatureInvalidation compresses them anyway
  • SubsetLoadedFonts gains a CompactTrueTypeSubsets option, off by default, that builds compact subsets of TrueType fonts used through CIDFontType2 fonts with the identity CID mapping; color fonts and fonts with a /CIDSet keep the normal subset
  • The parameterless CompressLoadedDocument keeps its behavior of recompressing unfiltered streams only

Version 2.766.37

Added

  • New CompressDocument property, off by default: one switch that writes the next document as small as possible without changing how it looks
  • For that document it turns on Flate compression at the maximum level, a cross-reference stream with object streams (ISO 32000-1 7.5.7 and 7.5.8), font subsetting and compact font subsets; a three-page document of mixed English and Chinese text drops from about 10 MB to about 20 KB
  • Object streams need PDF 1.5, so an older Version is raised to 1.5 unless the version is locked; PDF/A-1 output keeps its classic cross-reference table
  • Your own settings are left alone: after EndDoc, Compression, CompressionLevel, UseXRefStream, UseObjectStreams, the font subsetting options and the version read back as you set them
  • Images are not resampled or recompressed

Version 2.766.36

Added

  • New CompactFontSubsetting property, off by default: font subsets renumber the glyphs they keep, so the embedded font no longer carries an entry for every glyph of the source font; an explicit /CIDToGIDMap stream maps the page's glyph codes to the renumbered glyphs (ISO 32000-1 9.7.4.2)
  • CJK fonts shrink the most: two Chinese characters in SimSun take about 3 KB of font data instead of about 25 KB, and a Microsoft YaHei document drops from 114 KB to 6 KB
  • Applies to TrueType fonts written as Type 0 fonts when EnableFontSubsetting is on, and to the font registered with RegisterUnicodeTTF, which until now got compact subsets only under PDF/A
  • Page content, glyph widths and text extraction are unchanged; OpenType-CFF fonts keep the normal subset, and a font that cannot be compacted falls back to it

Version 2.766.35

Fixed

  • Text drawn with an explicit advance for each character no longer shifts after a character outside the Basic Multilingual Plane, such as a musical symbol or an emoji, when the registered Unicode font covers it. Every following character used to take its neighbour’s advance; the character now advances by the sum of its two entries
  • Justified Unicode text boxes containing such characters line up at the box edge, and the underline or strike-out of that text is as long as the text

Version 2.766.34

Added

  • SVG export now draws image masks (/ImageMask), inline ones included, as stencils in the current fill color: the parts that are not painted are transparent instead of being drawn as a black-and-white picture
  • Images with an /SMask soft mask or an explicit /Mask stencil are exported as PNG images with an alpha channel, so their masked-out parts no longer cover what lies behind them
  • /Decode [1 0] on a mask or image mask is honored, and a mask finer than its image keeps its detail

Version 2.766.33

Fixed

  • Page rendering now honors an image's explicit /Mask stencil: the parts the mask covers are left unpainted instead of the whole image being drawn, including when the image is turned or mirrored
  • A /Decode [1 0] array on the mask reverses which parts are kept
  • Soft masks and masks that are finer than their image are applied at the mask's resolution, so a detailed 1-bit mask on a low-resolution photo keeps its edges

Version 2.766.32

Fixed

  • Page rendering now draws images through the full transformation matrix: images turned by a quarter turn or by any other angle, mirrored images and every image on a page with /Rotate are no longer drawn upright and unmirrored into their bounding box
  • Image masks (/ImageMask true) are now painted as stencils in the current fill color, with anti-aliased edges when they are reduced, instead of being drawn as a gray picture
  • Image masks with /Decode [1 0] now paint the samples of 1, as PDF specifies
  • Inline image masks (BI /IM true) are drawn again, and their /D array is honored
  • Soft-masked images keep their mask when they are turned or mirrored

Version 2.766.31

Added

  • SVG export now converts colors set with k/K (DeviceCMYK) and with cs/sc/scn in any named color space: ICCBased, calibrated, Lab, Indexed, Separation and DeviceN colors come out as the page renderer shows them instead of black
  • Selecting a color space with cs/CS now sets its initial color, for example full tint for a spot color, and restoring the graphics state with Q brings back a color set this way
  • Color spaces that refer to ICC profiles, lookup tables or tint functions by reference are resolved through the exported document during SVG export
  • Path enumeration now reports CMYK fill and stroke colors instead of keeping the previous color

Version 2.766.30

Fixed

  • THPDFEmfPatcher.RenderEmfDirect draws the bitmaps of an enhanced metafile at the same size and position at any Resolution. With a Resolution other than 72 they came out scaled by 72 / Resolution

Version 2.766.29

Added

  • SVG export now applies W and W* clipping paths: each becomes an SVG clip path that covers what is drawn after it until the graphics state is restored, so images, shadings and paths that a PDF crops are no longer drawn in full
  • Form XObjects are clipped to their /BBox in SVG export, and axial and radial shadings to their /BBox
  • Even-odd clipping (W*) keeps its fill rule, and a path painted together with W is drawn before the new clip takes effect, as PDF specifies

Version 2.766.28

Fixed

  • Charts drawn with DrawChart keep their layout at any Resolution. Their margins, titles, axis labels and line widths are point values and shrank with the Resolution
  • The default font of a new page, and of a page made current again, is 12 point at any Resolution instead of 12 drawing units
  • The layout diagnostic overlay keeps its line width and label size at any Resolution

Version 2.766.27

Fixed

  • DrawInlineImage and DrawFormXObject size the image or form in drawing units, like its position. With a Resolution other than 72 the width and height were taken as points, so the object came out too large

Version 2.766.26

Fixed

  • A page that becomes current again through CurrentPageNumber keeps drawing in the units it was laid out in. With a Resolution other than 72 it switched to points, so everything drawn on it afterwards came out at the wrong size and position
  • The page also keeps its own page Resolution when it is revisited

Version 2.766.25

Fixed

  • Images placed with ShowImage keep their size on a page sized through Width and Height when the document Resolution is not 72. At a Resolution of 144 they came out at half the size and shifted
  • ExtTextOut places each character at the given advances on such a page instead of half of them
  • Embedded glyph runs keep their glyph offsets and advances on such a page

Version 2.766.24

Added

  • SVG export now honors the /Extend entry of axial and radial shadings: an end that is not extended, which is the default, is left unpainted as in PDF instead of spreading its end color over the whole clip
  • For radial shadings this also leaves the inside of the start circle empty unless the start is extended

Version 2.766.23

Fixed

  • Flattening page rotation now turns annotation appearance streams with the page, so baked or flattened annotations look the same as on the rotated page instead of being squeezed sideways into their turned rectangle
  • Widget rotation (/MK /R) is adjusted by the page turn, so form field appearances regenerated after flattening keep their orientation
  • Annotations with the NoRotate flag stay upright and keep their size after flattening, pinned at their upper-left corner as viewers show them on a rotated page

Version 2.766.22

Fixed

  • Flattening page rotation on a tagged PDF no longer turns an annotation rectangle twice when the structure tree is reached before the page tree
  • Flattening page rotation no longer rotates the bounding box of Form XObjects used on the page; their geometry lives in form space and the page turn already applies to them through the content transform
  • Layout bounding boxes of structure elements that belong to another page are no longer changed when one page is flattened

Version 2.766.21

Fixed

  • Reading the bleed, trim or art box of a loaded page no longer picks up a /BleedBox, /TrimBox or /ArtBox placed on a parent /Pages node; these boxes are not inheritable in PDF, so a page without its own entry now reports its crop box as the specification requires
  • Flattening page rotation no longer copies such a parent-level bleed, trim or art box onto the page

Version 2.766.20

Fixed

  • Text drawn on the page Canvas or in a metafile placed with ShowMetafile keeps its size when the document Resolution is not 72. At a Resolution of 144 it came out at half its size while the rest of the drawing was correct
  • The page Canvas and ShowMetafile draw at the right size on a page sized through Width and Height, which draws in points. At a Resolution of 144 the drawing came out twice as large
  • The page Canvas and ShowMetafile also honour a page Resolution set on the page itself instead of shrinking the drawing by it

Version 2.766.19

Fixed

  • Justified Unicode text boxes now end at the box edge when character spacing is set. Every character received the spacing on top of its justified position, so each line ran past the right edge by the spacing times the number of characters
  • Justified Unicode text boxes with horizontal scaling fill the whole box width again instead of stopping short by the scaling factor
  • Word spacing now counts towards the natural width of a justified line, the same width the line was broken at
  • Text drawn with an explicit advance for each character lands at those positions whatever character spacing or horizontal scaling is in effect

Version 2.766.18

Fixed

  • Flattening page rotation now turns pages with /Rotate 90 and /Rotate 270 clockwise, so the flattened page looks exactly like the rotated original instead of being turned upside down relative to it
  • Annotations, link destinations and structure geometry move with the page the same way
  • Flattening a page that has no CropBox no longer adds one that cut the page down to a square; only the page boxes a page actually has are rotated

Version 2.766.17

Fixed

  • Font fallback chains now find faces such as SimSun and Microsoft YaHei on Windows systems that report them by a localized name, so mixed CJK text in WideTextOutBox, WideTextOutBoxEx and TextOutWithFallback is drawn in the fallback face instead of showing empty boxes
  • Text whose own font is one of these faces is no longer split into fallback runs or reported as unresolved by the unresolved-glyph diagnostics
  • A face can be listed in a chain by any family name it carries, in any language; a face that Windows only substitutes with another font is still skipped

Version 2.766.16

Fixed

  • N-up composition now places pages with /Rotate 90 and /Rotate 270 turned clockwise inside their cells; before, they were turned the other way and pushed out of the cell, often off the sheet
  • Pages with /Rotate 180 are now turned on the sheet instead of being composed upright
  • N-up composition now honors page boxes and /Rotate inherited from the page tree, so such pages are no longer skipped or composed unrotated
  • Blank pages inserted into a loaded document, including the composed N-up sheets, are no longer turned or cropped by a /Rotate or /CropBox inherited from the page tree

Version 2.766.15

Fixed

  • HPDFTokenizeContentStreamAppend can now reuse a token array after its count is set back to zero: tokens left from the earlier run are released first, so their strings no longer leak and their array items or inline image data no longer show up on the new tokens
  • Appending many small content streams to one token array now grows the array at least twofold instead of reallocating and moving it on every append, which kept pages built from thousands of small streams slow to compile

Version 2.766.14

Fixed

  • Pages with /Rotate 90 or /Rotate 270 are now rendered turned clockwise, as the PDF specification defines, instead of mirrored across the diagonal; before, the top-left corner of a 90-degree page ended up in the bottom-right
  • The fix covers page and region rendering, bitmap, metafile and banded PNG or TIFF export, and the SIMD rendering backend
  • The viewer's page-to-view and view-to-page coordinate conversions and its search and highlight overlays follow the same clockwise turn, so hits and hit-testing line up with the rendered page

Version 2.766.13

Fixed

  • SVG page export now writes text as UTF-8, as the document declares, so accented and CJK characters survive instead of turning into question marks or bytes that make the file unreadable; control codes that XML does not allow become U+FFFD
  • Text after the first run of a line, and text after a TJ kerning adjustment, is now placed correctly when the text matrix scales or rotates the text, which is how many PDF producers set the font size
  • Text rise and horizontal scaling now follow a scaled or rotated text matrix, and TJ adjustments respect horizontal scaling
  • Text drawn with render modes 4 to 6 (paint and clip) is exported instead of dropped, invisible text still moves the text position, and stroked text keeps its stroke opacity
  • Word spacing is no longer applied to two-byte codes that happen to equal 32, and runs of spaces are kept so each character stays at its own position
  • Ligature glyphs export all the characters they stand for, and fonts with mixed one- and two-byte codes are read code by code
  • Pages whose /MediaBox does not start at the origin now land on the SVG canvas instead of being shifted off it

Version 2.766.12

Fixed

  • Drawing on THPDFPage.Canvas, and metafiles played back as vector graphics with ShowMetafile at a position and scale, no longer lose part of their left and top edges when they set a clip region. Each clip region was moved in by one unit on those two sides, so a border or fill along the left or top edge came out thinner than the same one on the right or bottom
  • Clip regions now line up with the same regions when they are filled, and cover the same area at any THotPDF.Resolution

Version 2.766.11

Fixed

  • Underlines and strike-outs of Unicode text drawn with TextOut, UnicodeTextOut, RtLTextOut and ExtTextOut now span exactly the text. They were measured on the text converted to the system code page, so runs with Cyrillic, Hebrew, Greek, CJK or other letters outside that code page got bars that stopped short of the text or ran past it
  • The bars also follow character spacing, word spacing, horizontal scaling and the displacements passed to ExtTextOut

Version 2.766.10

Fixed

  • The report and grid export add-ons (FastReport, QuickReport, ReportBuilder, DevExpress and DBGrid) no longer overwrite each other's output when several exports run at the same time, for example on a server. Their temporary file was named after a timer that only changes every 10 to 16 ms, so exports started together wrote the same file

Version 2.766.9

Fixed

  • TextWidth now measures text the way it is drawn when character spacing, word spacing or horizontal scaling is set. The spacing was not scaled by the horizontal scaling, negative word spacing was ignored and a trailing space got no word spacing, so paragraph continuation, link rectangles and centred or right-aligned text were placed off the drawn text
  • TextWidth and GetWideTextWidth return the same width for the same text

Version 2.766.8

Fixed

  • The ReportBuilder device (TppHotPDFDevice) now draws native text inside its text box. The text was positioned as if its position were the baseline, so every text object started a line too low and its last line ran out of the box
  • Centred and right-aligned native text is measured with the Unicode widths it is drawn with, so text with letters outside the system code page, such as Chinese on a Western system, lines up correctly

Version 2.766.7

Fixed

  • The FastReport export now places memo text inside its memo. The text was positioned as if its position were the baseline, so every memo's text started one font height too low, and bottom-aligned text was drawn below the memo, where clipping hid it
  • Top, centre and bottom vertical alignment all measure from the top of the first line, for plain and HTML-tagged memos

Version 2.766.6

Fixed

  • The FastReport export filter (TfrxHotPDFExport) compiles again. The NotEmbeddedFonts property read a field of a different type, and native picture export used a Clipped property that TfrxPictureView does not have
  • Native picture export now clips every picture to its view, as FastReport does, so a picture larger than its view no longer spills over neighbouring objects
  • A centred picture keeps its frame and clip on the view bounds; only the image itself is centred. The frame used to move with the image

Version 2.766.5

Fixed

  • The DBGrid add-on now measures cell text with the Unicode text widths it draws with before cutting it to fit a column. Text with letters outside the system code page, such as Chinese on a Western system, was measured as question marks and ran past the cell; double-byte text on Chinese, Japanese or Korean systems was cut well before the cell was full
  • A cut never leaves half of a surrogate pair before the ...

Version 2.766.4

Fixed

  • The DBGrid add-on (TDBGridHotPDFExport and DBGridHotPDFExportToFile/ToStream) now draws cell text inside its cells. The text was placed as if its position were the baseline, so every row's text sat on the cell's bottom border and was cut by the next row's grid line
  • Header text is centred in the header row, and the title no longer touches the top of the table

Version 2.766.3

Fixed

  • GetLoadedPDFVersionString now returns %PDF-1.7 and the like on systems whose locale writes a decimal comma; it returned %PDF-1,7 there
  • The pdfVersion field of GetLoadedDocumentReport is fixed the same way

Version 2.766.2

Fixed

  • HTML import (RenderHTML and RenderHTML5) produces the same page at any THotPDF.Resolution. CSS lengths and the importer's Margin, BaseFontSize, ListIndent and BlockSpacing are points, but with Resolution 144 text, margins, lists and tables came out at half size
  • Text and graphics you draw before and after the import still use 1/Resolution inch
  • Documents built at the default Resolution of 72 come out exactly as before

Version 2.766.1

Fixed

  • XFA forms flattened with ApplyXFAAsAcroForm or FlattenLoadedXFA keep the positions, sizes and font sizes from the template at any THotPDF.Resolution. With Resolution 144 the whole form came out at half size in the top left corner of the page
  • Text and graphics you draw before and after flattening still use 1/Resolution inch
  • Documents built at the default Resolution of 72 come out exactly as before

Version 2.766.0

Added

  • THPDFPage.UserWidth and THPDFPage.UserHeight return the page size in the units you draw with, 1/Resolution inch, so layout code can compare it with coordinates, margins and TextWidth at any THotPDF.Resolution. Width and Height still return points, and existing code reads the same values as before

Fixed

  • With THotPDF.Resolution set to a value other than 72, paragraphs now wrap at the real space between their margins and move to the next page at the bottom margin. They measured the page in points, so at 144 a paragraph with wide margins could break after every character and ran onto far too many pages
  • A paragraph that continues on a new page keeps the same page size, coordinates and font size at any Resolution. At 144 the continuation page switched to point coordinates and the text on it came out at half size
  • THPDFTable starts a new page only when a row reaches the bottom margin; at 144 a table placed in the lower half of the page put every row on a page of its own
  • HTML import lays text out across the whole page width at any Resolution instead of the left half
  • Metafiles drawn centered on the page, and metafile clip regions that cover the whole page, use the full page at any Resolution
  • Layout diagnostics for page layers and flushed pages report the page size in drawing units
  • Documents built at the default Resolution of 72 come out exactly as before

Version 2.765.52

Fixed

  • AES-256 passwords with non-ASCII letters now work in other PDF readers. HotPDF hashed the password in the system code page, while ISO 32000-2 defines it as UTF-8, so other readers rejected a password such as a Chinese or accented one; both revision 5 and revision 6 are fixed
  • AES-256 passwords longer than 127 bytes are now cut to 127 bytes as the standard defines, so readers that follow it accept them
  • HotPDF now opens AES-256 files from other producers whose password has non-ASCII letters
  • Files that earlier versions encrypted with such passwords still open in HotPDF with the same password

Version 2.765.51

Fixed

  • ANSI text written after Unicode text in the same font no longer shows up as empty boxes. When a page drew Unicode text with TextOut and then used TextBox or TextOutBoxEx in the same face (for example Arial at another size), the ANSI text was written into the Unicode font and viewers could not find its glyphs; it now gets its own font resource and displays and extracts correctly
  • Pages that use only ANSI text or only Unicode text produce the same output as before

Version 2.765.50

Fixed

  • Documents encrypted with AES-256 revision 6 (UseAES256R6, and PDF 2.0 AES-256) now open in other PDF readers. The password hash was computed with the salt in every round and without the user entry on the owner side, so qpdf, MuPDF and other readers rejected both passwords; HotPDF only accepted its own files
  • HotPDF now opens revision 6 files created by other producers with their user or owner password instead of reporting an incorrect password
  • The AES-256 R6 sample of the Security demo opens in other readers

Version 2.765.49

Fixed

  • Justified Unicode text boxes no longer spread their letters apart and run past the right edge of the box. With a font chosen by name, such as Arial, each justified line came out about twice as wide as the box and overlapped whatever sat beside it; every justified line now ends at the box edge
  • Text drawn with an explicit advance for each character now lands where it was asked to in the same case, instead of every character being pushed an extra character width to the right

Version 2.765.48

Changed

  • The HelloWorld, CJKAnnotations, TextOut and RtLTextOut demos for Delphi and C++Builder now embed only the glyphs they use. They embedded whole system fonts such as Arial Unicode MS, so a one-page hello world came out at about 15 MB and the right-to-left sample at about 30 MB; the same pages are now between 80 KB and 650 KB and look the same

Version 2.765.47

Fixed

  • Right-to-left text no longer comes out with letters in the wrong order in some fonts. Hebrew in Arial Unicode MS had neighbouring letters swapped in many words, and Arabic in Microsoft Sans Serif was not reversed at all, because the glyph numbers of those fonts were mistaken for accent marks when the line was put into visual order
  • The Hebrew lines of the RtLTextOut demo now read correctly

Version 2.765.46

Fixed

  • GetWideTextWidth now includes the character spacing and word spacing the text is drawn with, as TextWidth does. Word-wrapped and centred Unicode text with spacing set was measured too narrow
  • TextOutHTML now shows word spacing set with SetWordSpacing: it places each run at its measured width, which left out the spacing. The CSS word-spacing and letter-spacing of HTML import go through the same layout

Version 2.765.45

Fixed

  • SetWordSpacing now works with embedded fonts. Text in an embedded font is written with two-byte character codes, and PDF applies word spacing only to the one-byte space code, so the spacing was silently ignored whenever FontEmbedding was on or the text needed a Unicode font
  • The spacing is added after every space as a text positioning adjustment, which every PDF viewer honours; text without word spacing is written exactly as before
  • The word-spacing row of the TextOut demo now shows the extra space

Version 2.765.44

Fixed

  • The Delphi and C++Builder AnnotationInteraction demos now fit each link caption inside its link rectangle. The text started too low, so the rectangle border ran through it, and it was wider than the rectangle

Version 2.765.43

Fixed

  • Strikeout text (fsStrikeOut) is now struck through the middle of the lowercase letters. The line was drawn half a line below the baseline, under the underline, so struck text looked double underlined; this also affected <s> in TextOutHTML
  • Rotated text now gets its underline below the baseline instead of along the top of the letters, and its strikeout through the letters
  • Strikeout lines are as thick as underlines on every text path; the Unicode and plain Latin paths drew a much thinner line

Version 2.765.42

Fixed

  • The HTMLText demo now produces a single page with all five samples on it. It added a second page after the one the document already starts with, leaving the first page empty, and began writing near the bottom of the page, so the entity sample and the word-wrapped paragraph fell off the page

Version 2.765.41

Fixed

  • The Delphi and C++Builder Layer demos now show the text of their layers. The text of the visible layer was drawn in the colour of the rectangle behind it and could not be seen, and the text of the hidden layer was nearly white
  • The caption of the Patterns demos is drawn in black instead of being filled with the tiling pattern, which broke it into pattern fragments
  • The caption of the AlphaTransparency demos is no longer drawn semi-transparent green with the Multiply blend mode; the transparent shapes now keep their transparency to themselves

Version 2.765.40

Fixed

  • The Delphi and C++Builder GraphicDraw demos now draw the tangent lines of their curve examples correctly. The first control point line of the left curve stopped short of the labelled point, and the right curve showed a short horizontal stroke instead of the lines from its start point through its control point to its end point
  • The section headings of the rectangle and ellipse pages are black again instead of taking the colour of the last shape drawn

Version 2.765.39

Fixed

  • Text and shapes drawn after PrintHyperlink keep the colours set before it. A gray colour came back as a different colour (white turned blue), and colours set in CMYK or through a colour space came back as an older RGB colour
  • The hyperlink colour now applies only to the link text, whatever colour space the page was using

Version 2.765.38

Fixed

  • TextOutOutline now draws the glyph outlines at the font size with any Resolution. With a Resolution other than 72 the outlines were scaled down once more, for example to half their size at 144
  • Outlines of fonts with fewer than 1000 units per em, such as SimHei, are no longer drawn several times too large

Version 2.765.37

Fixed

  • The Delphi and C++Builder CJKUnicode demos now show their Korean line on systems without Arial Unicode MS. They drew it with the first Chinese font found, which has no Hangul, so the line stayed empty; it now uses Malgun Gothic when the chosen font cannot show Korean

Version 2.765.36

Fixed

  • Chinese and Japanese text written with fonts such as SimHei no longer piles its characters on top of each other. When the same font was used for a second text run, many ideographs were given widths of a few units instead of a full em
  • The affected fonts store fewer advance widths than glyphs; the glyphs after the last stored width now use that width, as the TrueType format requires

Version 2.765.35

Fixed

  • Unicode text in fonts whose design grid has fewer than 1000 units per em, such as SimHei and SimSun with 256, is now spaced correctly. The glyph widths written to the PDF were about four times too large, so viewers left wide gaps after spaces and other newly used characters

Version 2.765.34

Fixed

  • The scanned-image scenario of the PDFOptimize demo now compresses a real text page. Its 1-bit test image came out entirely black, so CCITT G4 and JBIG2 were compared on a solid rectangle
  • The image scenarios of the PDFOptimize demo now embed only the glyphs of their page label, so the reported sizes show the difference between the image compression methods instead of being dominated by a whole embedded font

Version 2.765.33

Fixed

  • The E-Invoice demo now lays out the visible invoice page from the top: the title is at the top of the page and the invoice, parties and amounts follow below it. The page was drawn upside down in order, with the title near the bottom edge and the footer note at the top

Version 2.765.32

Fixed

  • JBIG2 images encoded strictly lossless (Lossless with LossyLevel = 0) now keep every pixel. The default removal of tiny black dots as scan noise ignored these settings, so the full stops and the dots of i and j in small text disappeared from images that were meant to be lossless
  • The scan-friendly defaults (LossyLevel = 5 with RemoveIsolatedBlackPixels) still remove speckles as before

Version 2.765.31

Fixed

  • Exporting loaded pages to PNG or TIFF no longer fails with "received too many rows" at resolutions where a render band is not a whole number of points, such as the default 150 DPI of SaveLoadedPagesAsImages with a Letter page. Rounding made every band one pixel row taller than planned, so the bands added up to more rows than the image

Version 2.765.30

Fixed

  • TextWidth, TextHeight, GetWideTextWidth and GetWideCharAdvances now answer in the page units of Resolution, the units text is drawn at. With a Resolution other than 72 they used to answer in points, so measured text did not fit the coordinates it was placed at
  • With a Resolution other than 72, text drawn with TextOut now starts at its Y instead of too high, and underlines and strike-outs cover the whole text at the right distance and thickness instead of a fraction of it
  • At any Resolution, TextBox, TextOutBoxEx and WideTextOutBoxEx centre and right-align their lines by the real text width, table cells and paragraphs wrap text by it, and the styled runs of TextOutHTML no longer overlap
  • A font fallback run inside WideTextOutBoxEx keeps the font size at any Resolution instead of shrinking
  • Output at Resolution 72 is unchanged

Version 2.765.29

Fixed

  • When Windows cannot apply the world transform of an EMF metafile itself, HotPDF combines the transforms on its own. The vertical offset of a combined transform used the wrong term, so content in such metafiles could be shifted up or down

Version 2.765.28

Fixed

  • Showing an EMF metafile no longer prints diagnostic lines such as [WMF_DEBUG] EMR_POLYGON16 record found to the standard output of console applications. The metafile trace was left switched on in the release build

Version 2.765.27

Fixed

  • Text in EMF metafiles shown with ShowMetafile now sits at the height Windows draws it. Top-aligned text, the default of TCanvas.TextOut, was drawn one line height too high, and bottom-aligned text was also too high
  • Baseline-aligned and rotated metafile text is unchanged

Version 2.765.26

Fixed

  • ShowMetafile with a position and scale now draws the metafile with its top left corner at the given point and scaled as requested. It used to ignore these arguments and always drew the metafile at the top left corner of the page at its natural size
  • ShowMetafile without a position is unchanged

Version 2.765.25

Fixed

  • AngleArc drawings in EMF metafiles shown with ShowMetafile now draw the arc they describe, in either direction, followed by lines that continue from the end of the arc. A full circle was drawn instead, and its size was wrong whenever the metafile had an offset

Version 2.765.24

Fixed

  • Under PDF/A and PDF/X, free text annotations with plain ASCII contents now show their text. Their appearance used to draw only the frame and fill, because the Helvetica named in the annotation's default appearance may not be used unembedded there
  • The text is drawn at 12 pt in the page's current font, which is embedded together with the page text, wrapped to the annotation box and aligned by the chosen justification, as already done for non-ASCII contents
  • Outside PDF/A and PDF/X, ASCII-only free text annotations are written exactly as before

Version 2.765.23

Fixed

  • With AutoShapeArabic turned on, TextOut and UnicodeTextOut now join Arabic, Persian and Urdu letters into their initial, medial and final forms and ligatures, as RtLTextOut already did. Every letter used to be shown in its isolated form
  • The same applies to AutoShapeSyriac, AutoShapeNko, AutoShapeAdlam, AutoShapeHanifiRohingya and to Hebrew point reordering (sfHebrewReorder in ShapingFeatures)
  • With these options on, text whose glyph numbers happened to fall in the Arabic or Hebrew character ranges could be shown with the wrong glyphs; this no longer happens
  • Free text annotations drawn in the page font are shaped the same way as page text
  • Output with these options turned off is unchanged

Version 2.765.22

Fixed

  • Curved shapes now honour Resolution values other than 72. Ellipse, Circle, Arc, DrawArc, Pie, DrawPie, Chord and ArcTo used to be drawn at the wrong place and size, while straight lines, rectangles and rounded rectangles were correct
  • Output at the default resolution of 72 is unchanged

Version 2.765.21

Fixed

  • Pie wedges drawn with Pie or DrawPie are now single closed shapes, so their outline gets proper corners where the straight edges meet the arc instead of two loose line ends
  • Chords in EMF metafiles shown with ShowMetafile now close along the straight line between the ends of their arc. The line used to run to a point well away from the shape

Version 2.765.20

Fixed

  • DrawArc and DrawPie now draw the part of the ellipse their documentation describes: counterclockwise from the start point to the end point, as the Windows GDI Arc and Pie calls do. They used to draw the other part, so a quarter arc came out as three quarters
  • Pie slices, chords and ArcTo arcs in EMF metafiles shown with ShowMetafile now match the picture Windows draws, for both arc directions. They used to show the opposite part of the ellipse; plain arcs were already correct
  • The angle-based Arc, Pie, Chord and ArcTo methods are unchanged

Version 2.765.19

Fixed

  • Rotated rectangles drawn with RectangleRotate are now closed shapes, like those drawn with Rectangle. Stroking one used to leave its fourth side out, so an outline-only rotated rectangle showed three edges
  • Filled rotated rectangles, and the underline and strikeout bars of rotated text, look the same as before

Version 2.765.18

Fixed

  • Negative numbers written into generated PDFs are now rounded correctly. Values such as -50 used to be written as -49.99, so negative coordinates, offsets and positions in page content, annotation rectangles and similar entries could be off by up to 0.01 units
  • Negative values are now rounded half away from zero, exactly mirroring positive values; a negative value that rounds to zero is written as 0
  • Output for zero and positive numbers is unchanged

Version 2.765.17

Fixed

  • Free text annotations with Chinese, Japanese, Korean, Arabic, Cyrillic or other non-ASCII contents now show their text in every viewer. They used to rely on the viewer drawing the text in Helvetica, which can only represent Western characters, so viewers such as Poppler showed only the ASCII punctuation
  • These annotations now carry their own appearance (ISO 32000-1 12.5.5): the text is drawn in the page's current font, embedded and subset together with the page text, wrapped to the annotation box (between words, or between characters for text without spaces), aligned by the chosen justification and placed over the same frame and fill as before
  • The appearance is also written under PDF/A, where the embedded font keeps the document conformant and the annotation text is now visible instead of an empty box
  • Free text annotations with ASCII-only contents are written exactly as before

Version 2.765.16

Fixed

  • Blank pages inserted into loaded documents with InsertLoadedBlankPage now carry the resource dictionary every page requires (ISO 32000-1 Table 30), so validators such as qpdf no longer report the page tree as damaged and content can be added to the page later

Version 2.765.15

Fixed

  • In the Table demo the subtotal amount now spans the Qty and Price columns as intended; it used the wrong cell index, which left the Qty column as an empty cell

Version 2.765.14

Fixed

  • Images in THPDFTable cells are now drawn inside their cell and honour the vertical alignment; they were placed one image height too low, below the cell and outside the table

Version 2.765.13

Fixed

  • Unicode text widths (GetWideTextWidth and the justification measure) now match the font; for fonts such as Arial they came out about twice too large
  • Tables, word-wrapped text, and right-aligned, centred or justified text built on these widths are laid out correctly again: short cell text no longer wraps, right-aligned values reach the cell edge, and HTML text in table cells no longer shows large gaps between words

Version 2.765.12

Fixed

  • Forms with check boxes or radio buttons now list the ZapfDingbats font (/ZaDb) in the form's default resources. Viewers that draw these fields themselves (the default when AutoFormAppearances is off) look the font up there to draw the check mark; before, Poppler-based viewers reported an unknown font and showed no mark

Version 2.765.11

Fixed

  • In the CJKAnnotations demo the first note icon of each language row now lines up with the other icons of that row; it was placed 5 points higher

Version 2.765.10

Fixed

  • Fonts requested by their English name are now found on Windows systems in other languages. A request for SimSun, Microsoft YaHei or MS Gothic on Chinese, Japanese or Korean Windows was treated as a missing font, because Windows reports the name in the system language, and the text was silently set in Arial Unicode MS instead

Version 2.765.9

Fixed

  • Fonts that Windows keeps in TrueType collections (.ttc), such as SimSun, Microsoft YaHei and MS Gothic, are now embedded as valid standalone fonts. Before, every table of the embedded font pointed at the wrong data, so viewers rejected it and fell back to a system font, and on computers without that font the text showed wrong glyphs
  • This also affected documents whose requested font was missing and that Windows mapped to a collection font, for example Unicode text with Arial Unicode MS on systems where only SimSun was available

Version 2.765.8

Fixed

  • Source files that contain non-ASCII text are saved as UTF-8 with a byte order mark again. Without it, Delphi reads a source file in the code page of the building computer, so on Chinese, Japanese, Korean and other non-Western Windows systems the CJK, Arabic, Hebrew and accented text in the demos came out garbled in the generated PDFs, and library error messages showed wrong characters
  • The demos CJKAnnotations, Annotations, HelloWorld, RtLTextOut, PageSizes, TextOut, Showcase and ViewerPref again produce the intended text wherever they are compiled

Version 2.765.7

Fixed

  • Document information given as UTF-8 (Title, Author, Subject, Keywords, article thread titles and SetLoadedDocumentInfo with the SetLoadedTitle family) is now stored as Unicode, so viewers show accented and CJK text correctly and the document information matches the XMP metadata
  • Text in the system code page (for example a Chinese title on a Chinese Windows system) is also stored correctly, since bytes that are not valid UTF-8 are read in that code page

Version 2.765.6

Fixed

  • The initial view of new documents (InitialZoom) now writes complete fit-width and fit-height destinations; the operand that ISO 32000-1 Table 151 requires was missing, so viewers such as Poppler reported a too-short destination array for every document created with the default setting

Version 2.765.5

Fixed

  • Page labels that do not start on the first page now also cover the pages before the first range, which keep plain numbers; the page label tree must include the first page (ISO 32000-1 12.4.2), and without it viewers could show wrong labels
  • SetLoadedPageLabel now keeps the ranges in page order and replaces a range that starts on the same page, so viewers show the intended labels; before, new ranges were appended out of order and could repeat
  • SetLoadedPageLabel no longer discards the existing labels of documents that store them in a separate object, and it also updates label trees split into several nodes
  • Page label prefixes given as UTF-8 are now stored as Unicode

Version 2.765.4

Fixed

  • Link descriptions given as UTF-8 (AddURILink, AddGoToLink, AddGoToRLink, AddLaunchLink, AddNamedDestinationLink and the structure-destination links) are now written as Unicode, so screen readers and viewers show accented and CJK text instead of garbled characters
  • The same applies to the text and author of annotations added to loaded documents with the AddLoaded...Annotation methods, matching annotations created in new documents

Version 2.765.3

Fixed

  • AddGoToLink can now link to a page that is added later in a new document, so a table of contents on the first page can link forward; such links used to be dropped without any error
  • A link whose target page is never added keeps its area but no action, instead of pointing at a missing page

Version 2.765.2

Fixed

  • SetLoadedOutlineOpen now opens and closes bookmarks in loaded documents; before, it wrote a key that viewers ignore and the bookmark kept its state
  • AddLoadedOutline, SetLoadedOutlineURI and SetLoadedOutlineDestination now act on the requested bookmark; for any index above 0 they changed the wrong bookmark or did nothing
  • Adding a bookmark to a loaded document now updates the visible-item counts of its parent, its ancestors and the outline, so viewers no longer show wrong expand states or item totals
  • Setting a web link on a loaded bookmark now removes its page destination, and setting a destination removes its action, since a bookmark may carry only one of them
  • Bookmark titles given as UTF-8 to AddLoadedOutline and SetLoadedOutlineTitle are now stored as Unicode instead of as garbled bytes

Version 2.765.1

Fixed

  • Bookmarks in new documents now record how many entries are visible, as ISO 32000-1 12.3.3 requires: before, the outline and every open bookmark counted all nested entries, including those inside closed bookmarks
  • Setting Opened on a bookmark after its children were added now opens it in the viewer; before, the change never reached the file
  • Assigning Title to an existing bookmark now changes the title shown in the document
  • Bookmark titles with non-ASCII text given as UTF-8 are now written as Unicode, so accented and CJK titles show correctly instead of as garbled characters
  • Bookmarks now carry the parent reference that the specification requires

Version 2.765.0

Added

  • HPDFTokenizeContentStreamAppend tokenizes a content stream straight into an existing token array, so callers that combine several streams avoid a temporary array per stream

Changed

  • Compiling a page for rendering no longer allocates memory for each number and operator in its content stream, and page content is tokenized directly into the page's display list instead of being copied there
  • Parallel page rendering scales much better on a cold document: on a 128-page vector test document, 4 workers now finish about 3 to 3.5 times faster than 1 worker (previously about 1.4 times on 32-bit and 1.7 times on 64-bit builds)
  • Single-threaded page compilation and rendering is also about 35% faster on that document; tokens, display lists and rendered output are unchanged

Version 2.764.7

Changed

  • Rendering content that saves and restores the graphics state often (q/Q) no longer allocates memory for every save, which made worker threads of parallel page rendering wait on each other inside the memory manager
  • Cold parallel rendering of a 128-page vector test document is about 7–10% faster with 4 workers and about 5% faster on one worker; rendered output is unchanged

Version 2.764.6

Fixed

  • Parallel page rendering no longer drops to one page at a time when the pages were rendered before and their display lists are still cached
  • Previously every page waiting to be drawn kept its memory reservation while only one page was drawn at a time, so the other workers stalled on the shared memory budget; once as many pages are waiting as there are workers, they are now drawn in parallel
  • The first page still arrives early, and the memory reserved by a batch now stays proportional to the worker count instead of filling the whole budget

Version 2.764.5

Fixed

  • SetStructureClassMapEntry can now register one attribute dictionary under several class names, or again under the same name, without freeing it
  • Previously, removing or replacing one of those entries released the shared dictionary, so the remaining /ClassMap entries pointed at freed memory and saving the document could write garbage or raise an access violation
  • A directly created attribute dictionary now becomes an indirect object when it is registered, and every /ClassMap entry refers to it; the document owns the dictionary, so callers must not free it

Version 2.764.4

Fixed

  • RemoveUnusedLoadedPageResources no longer writes to a resource table after removing it, when a page's /Font, /XObject or other resource table is written directly inside /Resources and every entry in it is unused
  • Previously that write went to released memory, which usually went unnoticed but could corrupt memory or raise an access violation later in the session
  • Emptied resource tables are still removed from /Resources, and the saved output is unchanged

Version 2.764.3

Fixed

  • Opening a public-key (certificate) encrypted PDF with PubSecKeyMaterial, by LoadFromFile or BeginIncrementalUpdate, no longer reads recipient envelopes from memory that had already been released while recovering the file key
  • The failure depended on how memory happened to be reused: the document usually opened, but could be rejected as if no key material had been assigned, or unwrap the wrong bytes
  • Multi-recipient documents, the recipient selection callback and additional key materials registered with AddPubSecKeyMaterial all use the same corrected envelope list

Version 2.764.2

Fixed

  • Field appearances generated for loaded forms, by AddLoadedTextField and the other AddLoaded* field methods, EnsureLoadedFieldAppearanceStream or FlattenFormFields, now hold their own reference to the AcroForm /DR font instead of sharing the /DR entry
  • Replacing or deleting the AcroForm /DR dictionary, or removing the last form field (which also removes the AcroForm), no longer leaves those appearances pointing at freed font objects
  • Previously, freeing the document afterwards could hit a hidden access violation that left the rest of the document unreleased, or corrupt memory, most often in 64-bit builds
  • A font written directly inside /DR becomes an indirect object the first time an appearance uses it, so the field appearance and /DR refer to the same font object in the saved file

Version 2.764.1

Fixed

  • Calling ProcessObjectStreamsForDecompression after LoadFromFile no longer reads the file stream that the load had already closed; it rescans the loaded file instead, so object stream members stay available to ExtractObjectFromStream
  • The failure depended on how memory happened to be laid out: it usually went unnoticed, but could raise an access violation or scan unrelated memory, most often in 64-bit builds
  • FindAllObjectStreams, ScanAndLoadReferencedObjects and ForceLoadMissingReferencedObjects now do nothing when called outside a load, instead of touching the closed stream

Version 2.764.0

Changed

  • One THotPDF instance, for example a component dropped on a form, can now write any number of documents one after another: BeginDoc after EndDoc starts a new, independent document instead of raising an exception
  • EndDoc drops everything registered for the written document, including its images, fonts, form fields, outlines, document JavaScript, named destinations, page labels, ICC profiles and output intents, and the next BeginDoc frees its pages and objects, so none of it reaches the next file; with ReproducibleOutput on, a second document from a reused instance is byte for byte the same as that document from a new instance
  • Registrations made between EndDoc and the next BeginDoc, such as AddPDFAOutputIntent or scripts added through Names, belong to the next document and are no longer cleared by BeginDoc
  • Property settings such as FileName, Compression, PDFACompliance, Author and Title, together with page layers and font fallback chains, carry over to the next document; a PDF version raised automatically for one document returns to the Version property value
  • The written document stays available after EndDoc until the next BeginDoc, so ValidatePDFUA2Structure, CurrentPageNumber, PagesCount and the layout diagnostics keep working on it
  • Because the passwords are cleared once a protected document is encrypted, BeginDoc raises an exception when ActivateProtection is still on and no new password was set, instead of protecting the next file with empty passwords
  • Starting a new document after rewriting a loaded one on the same instance also produces a clean file

Version 2.763.1

Fixed

  • Converting an EPUB, or importing HTML with the HTML5 profile, no longer risks an access violation when a paragraph does not fit on the current page; the paragraph is now always drawn on the new page
  • The same fix covers paragraphs, list items and horizontal rules in the compact block renderer used by HPDFRenderHTMLDocument
  • The failure depended on how memory happened to be laid out, so it appeared only occasionally, most often in 64-bit builds, and could leave a conversion without output or corrupt its content

Version 2.762.1

Fixed

  • Calling BeginDoc again on a THotPDF instance that has already written a new document no longer ends in an access violation; it raises an exception that asks for a new instance, because the instance still holds the objects, images, fonts and form fields of the finished document
  • Past the crash, the second document would have carried the objects of the first one, including its content and form fields; one instance per new document keeps every file to its own content
  • Loading an existing document with LoadFromFile and rewriting it is not affected

Version 2.762.0

Fixed

  • Text, free text, line, square, circle, stamp and file attachment annotations are visible in PDF/A-2, PDF/A-3, PDF/A-4 and PDF/X-6 documents; they carried an empty appearance stream that only satisfied the validator, and because viewers draw the appearance, nothing was shown
  • These appearances now draw the annotation: the square and circle frames, the line, a note icon and an attachment icon in the annotation colour, the stamp frame, and the free text box filled with its background colour
  • PDF 2.0 output gives every one of these annotations, the extended markup annotations and new form fields an appearance stream, as ISO 32000-2 Table 166 requires, and writes /NeedAppearances false; outside PDF/A and PDF/X the free text and the stamp name are drawn in Helvetica
  • In PDF/A and PDF/X the free text and stamp appearances draw no text, because every font used there has to be embedded; the text stays in the annotation for viewers to show

Version 2.761.6

Fixed

  • File attachment annotations (AddFileAttachmentAnnotation) can be opened and saved again in viewers: the file specification wrote the embedded file stream itself as /EF, where ISO 32000-1 Table 44 requires an /EF dictionary holding the stream under /F, so readers reported that the file entry was missing
  • The embedded file stream of such an attachment is typed /EmbeddedFile, and the annotation text is also stored as the file's description

Version 2.761.5

Fixed

  • Named destinations, document-level JavaScript and document attachments are written with their name tree keys in sorted order, as ISO 32000-1 7.9.6 requires; they were written in registration order, and readers that search the tree could miss entries (qpdf reported the trees as unsorted)
  • Attaching two files with the same file name no longer creates two entries with one key, which left only one attachment reachable; the second one gets a numbered key such as a (2).txt and keeps its original file name
  • AddLoadedDocumentJavaScript and AddLoadedNamedDestination changes are saved; the edited name tree was not written back when it lived in a direct dictionary, so the new entries were lost. Both insert at the sorted position, also in trees split into /Kids nodes, and replace an existing entry of the same name
  • AddLoadedDocumentJavaScript stores a JavaScript action as the name tree value instead of a bare script stream, and AddLoadedNamedDestination writes the zoom operand of its /XYZ destination
  • RemoveLoadedJavaScript and RemoveLoadedJavaScriptAll remove the scripts from the document itself; before, only the list returned by the getters changed and the scripts stayed in the saved file
  • SetDocumentAttachmentMetadata renames the attachment it is given; it renamed the key of the last attachment in the tree, and the renamed entry now moves to its sorted position

Version 2.761.4

Fixed

  • New AcroForms always define the Helvetica font that the fields' default appearance strings name in the form's default resources (/DR), as ISO 32000-1 12.7.3.3 requires; without AutoFormAppearances the font was missing, so viewers that build field appearances had no font to build them with
  • AddLoadedComboBox creates a real combo box; it set the Edit flag instead of the Combo flag, so the field was a list box that viewers showed as a list of all options
  • Fields added to a loaded document write /NeedAppearances as the boolean true instead of the name /true, and an AcroForm created for them gets the default appearance string and default resources their /DA strings refer to
  • AddLoadedTextField, AddLoadedCheckBox, AddLoadedComboBox, AddLoadedListBox and AddLoadedPushButton give the new field an appearance stream, so it shows in viewers that do not build appearances and in documents whose form sets /NeedAppearances false
  • Appearances generated for loaded push buttons (when added, redrawn or flattened) draw the caption, where they were empty

Version 2.761.3

Fixed

  • Changing a text or choice field value in a loaded form now redraws the field: SetFormFieldValue, ResetLoadedFormField and multi-selection list box updates regenerate the appearance stream, where the saved file kept showing the old text in every viewer and in print because viewers draw the appearance, not the stored value
  • Generated appearances of password text fields show one asterisk per character instead of the password in readable form (ISO 32000-1 Table 228), both for new fields with AutoFormAppearances and for loaded fields that are redrawn or flattened
  • AnalyzeLoadedSignatureRevisions classifies the new appearance dictionary, appearance stream and its resources that a form fill adds after signing as form filling, as it already did for the field itself, so filling a certified form in an incremental update is no longer reported as a change outside recognised structures

Version 2.761.2

Fixed

  • 1-bit and 4-bit palette bitmaps added with Flate compression keep their colours; they were remapped onto the 256-colour system palette, which shifted every colour that palette does not contain. They are now embedded at their own bit depth with their own palette, which also makes the image data smaller
  • 1-bit bitmaps whose palette lists white before black no longer come out as a negative with CCITT Group 3, CCITT Group 4 or JBIG2 compression, including the batch and cross-page JBIG2 paths; the darker palette colour is always encoded as black
  • icAutoMono and AddMonochromeImageAuto keep a 1-bit bitmap with a coloured palette on Flate instead of turning it into black and white with CCITT or JBIG2
  • CCITT Group 3 two-dimensional images (icCCITT32) now follow their /K parameter: the first row and every second row are coded one-dimensionally and /K is 2, where every row used to be coded two-dimensionally under /K 1, which allows no two-dimensional rows at all (ISO 32000-1 Table 11, ITU-T T.4)

Version 2.761.1

Fixed

  • JPEG images added with DCT compression keep their own colour model: greyscale JPEGs are written as DeviceGray and CMYK JPEGs as DeviceCMYK, where every JPEG used to be declared DeviceRGB; readers then showed greyscale files garbled or truncated and CMYK files in wrong colours
  • CMYK JPEGs that carry the Adobe marker (the usual Photoshop output) get the inverted /Decode array their sample values need (ISO 32000-1 8.9.5.2 and 7.4.8)
  • PDF/A colour-space checks now see greyscale and CMYK JPEG images as DeviceGray and DeviceCMYK use instead of DeviceRGB
  • StampLoadedPageImage applies the same colour model when a JPEG is stamped onto a loaded page
  • File names such as PHOTO.JPG or scan.jpeg now load as JPEG with every compression type; the file overload of AddImage recognises JPEG data by its signature instead of a case-sensitive .jpg extension and no longer tries to read such files as bitmaps

Version 2.761.0

Added

  • New AddLoadedSignedSignatureField adds a signature field that is ready to sign to a loaded document, so an already signed PDF can receive a second signature (counter-signature or approval) in an incremental update
  • The field reserves the signature space that SignPDFWithPFX, PreparePDFForSigning and InsertSignatureHex fill in; after BeginIncrementalUpdate and SaveIncrementalUpdate the new signature covers the whole file while the earlier signatures stay valid
  • Optional reason, location and contact information, the SubFilter and the reserved signature size can be set per field; the AcroForm is flagged as signed and append-only, and no appearance regeneration flag is added to the signed document

Fixed

  • The documented multi-signature workflow for BeginIncrementalUpdate now describes steps that work; the previous description relied on a current page that does not exist after loading and on a signature field without reserved signature space, so signing failed

Version 2.760.1

Fixed

  • DrawQRCode, DrawDataMatrix, DrawPDF417 and DrawAztec restore the page fill colour after drawing, as documented; shapes filled afterwards used to take on the barcode colour
  • These barcodes are drawn as one path, with each run of dark modules in a row merged into a single rectangle, so the page content is smaller and viewers no longer show faint seams between adjacent modules

Version 2.760.0

Changed

  • Setting CryptKeyLength to aes256 raises the output to PDF 1.7 when it is lower, the way other version-dependent features already do, so documents are really protected with AES-256. With the default PDF 1.6 output they used to be written with AES-128 without any notice; with StrictVersionLock set, a lower version still falls back to AES-128

Fixed

  • Help pages for the protection properties showed permission names that do not exist; the examples and the descriptions of prPrint and prPrint12bit now match the actual options and the public-key encryption notes list the supported key types

Version 2.759.0

Fixed

  • Signed PDFs now leave the whole /Contents string, including its < and > delimiters, out of the signed byte ranges, as ISO/IEC 32000-1 12.8.3.3 requires; the delimiters used to be signed, which validators that check the byte range against the signature value report as an invalid byte range
  • PDF MAC validation of signatures carrying an attached MAC accepts both the standard byte range and the one earlier versions wrote

Security

  • Signature verification rejects a document whose unsigned gap between the two byte ranges holds anything besides the signature's own /Contents string, closing a signature-wrapping gap where content outside the signed bytes was reported as covered; signatures made by earlier versions still verify

Version 2.758.1

Fixed

  • The default appearance that AttachSignatureFieldAppearance gives an unsigned signature field draws its light grey background again: the fill rectangle was missing two operands and set its colour inside the path, which viewers reject
  • Free-text annotations created on a new page carry the default appearance string that ISO 32000-1 requires, so viewers can lay out their text instead of showing an empty box

Version 2.758.0

Fixed

  • The built-in JBIG2 decoder places every symbol after the first one in a text strip where ISO/IEC 14492 puts it; each further symbol used to land one more pixel to the right, so text in JBIG2 scans made by other encoders drifted apart
  • JBIG2 images written with the native arithmetic encoder and a symbol dictionary that holds a single glyph can now be read by other PDF viewers; the symbol identifiers were coded with one bit instead of none, which made those viewers fail at the first glyph
  • Symbol dictionaries that combine glyphs through refinement and aggregation are decoded with the standard spacing, matching other JBIG2 decoders
  • JBIG2 images that share a global symbol dictionary write /DecodeParms as an array matching the /Filter array; other viewers ignored the single dictionary and could not find the shared glyphs, so such images failed to display

Version 2.757.0

Fixed

  • DirectDrawBarcode and the Simple* bar functions now draw real barcodes for every symbology; most of them used to return evenly alternating bars that carried no data. GS1-128 with code set C (type 22) is drawn instead of falling back to Code 39, and POSTNET short bars are drawn at 40 % of the height
  • DirectDrawBarcode scales bar widths and heights with the page coordinate system, so barcodes stay readable when the document scale is not one point per unit
  • Code 128, Code 93 and the EAN / UPC family keep exact one-to-four module element widths whatever Ratio is set; any ratio other than 2 used to make them unreadable
  • EAN-8, EAN-13, UPC-A and UPC-E given only their data digits get the check digit added; the last data digit used to be taken as the check digit. With Checksum enabled, UPC-A no longer drops its last data digit, and the UPC-E check digit (which also selects the bar parity) is computed from the expanded UPC-A number
  • MSI check digits are correct for numbers with an odd digit count, POSTNET codes get their correction digit, and Interleaved 2 of 5 keeps the last digit of an odd-length number by adding a leading zero
  • Code 128 A encodes lower-case letters through SHIFT instead of turning them into spaces or control characters, Code 39 folds lower case to upper case, and Codabar keeps supplied start and stop characters
  • Characters a symbology cannot represent now raise an exception; Code 39 and Code 128 used to drop or replace them and Codabar read outside its character table
  • GS1-128 with Checksum enabled no longer appends another check digit to Text each time the barcode is measured or drawn

Version 2.756.0

Fixed

  • QR Codes drawn with DrawQRCode or built with THPDFQRCode now scan with standard readers: the format information is placed as ISO/IEC 18004 specifies, and the error correction block structure is correct for every version from 10 to 40 (and for version 7-Q)
  • Automatic mode selection keeps lower-case text in byte mode, so a URL such as https://example.com is no longer encoded and read back in upper case
  • Text whose length ends in one or two digits or one alphanumeric character gets a symbol large enough for it; the last characters were previously dropped
  • Encoding twice with the same THPDFQRCode instance no longer mixes the previous symbol into the new one
  • Encode returns False when an explicitly requested version is too small or the requested numeric or alphanumeric mode cannot represent the data, instead of producing a truncated symbol
  • Mask selection applies the finder-like pattern and dark-module balance penalties of ISO/IEC 18004 7.8.3
  • The built-in barcode decoder reads standard QR Codes: multi-block symbols with Reed-Solomon verification, numeric, alphanumeric, byte and ECI segments, UTF-8 payloads and versions with several alignment patterns

Added

  • HPDFQRFunctionMap and HPDFQRExtractDataWords expose the module layout and the block de-interleaving with error detection for code that reads QR symbols

Version 2.755.9

Changed

  • Image soft-mask rendering reuses exact horizontal sample indices and uses SSE2 alpha premultiplication on supported Delphi x86 and x64 targets, preserving pixel rounding and cancellation with bounded temporary storage and a scalar fallback

Version 2.755.8

Fixed

  • Foreground rendering can resume once cancelled page prefetch has released document resources, without waiting for the worker thread to finish exiting; explicit cancellation, replacement, reload, and destruction still join the thread, and invalid page ranges no longer leak a suspended worker

Version 2.755.7

Fixed

  • Page rendering preserves the current path across graphics-state restores and isolates Form XObject and Type3 glyph paths, clipping, and saved state, including malformed extra restores and cancellation

Version 2.755.6

Fixed

  • The SIMD rectangle renderer now honors compound even-odd and nonzero fill rules, preserving holes, reflected subpath direction, and fractional edge placement; cancellation during rasterization discards the partial bitmap and propagates correctly

Version 2.755.5

Fixed

  • Multi-select form imports now reserve exact option values before interpreting hexadecimal compatibility spellings in XFDF, preventing literal values from selecting a different option and keeping stored values consistent with selection indices

Version 2.755.4

Fixed

  • Text extraction from vertical (WMode 1) CID text now moves the pen by the ISO 32000-1 9.4.4 displacement, so character spacing shortens the step down the column as the specification defines instead of lengthening it
  • A TJ position adjustment in vertical text now moves the pen down or up the column instead of sideways, so extracted columns no longer split and the reading order stays top to bottom
  • The CIDFont /DW2 array is read in its specified [v1y w1y] order during extraction, so glyphs relying on the defaults advance by a full em instead of 0.88 em
  • Extracted vertical glyph origins stay on the column centre line, and glyph boxes are placed at the vertical origin minus the position vector, with the horizontal component defaulting to half the glyph width
  • /W2 list entries that describe several consecutive CIDs now apply their metrics to every CID in the run during extraction instead of only the first
  • The page renderer and the text extraction interpreter now share one implementation of the glyph and TJ displacement rules, so rendered and extracted positions cannot drift apart

Version 2.755.3

Added

  • THPDFQCStatementInfo gains HasPSD2Statement, PSD2RolesOfPSP, PSD2NCAName and PSD2NCAId; the CMS-level descriptor carries the same fields
  • HPDFParsePSD2QcStatement parses a PSD2 statement you already hold as DER and rejects any malformed input

Deprecated

  • PSD2RolesPayer and PSD2RolesPayee remain for source compatibility but are always empty, because the specification defines no payer and payee role lists; use PSD2RolesOfPSP

Fixed

  • The PSD2 qualified-certificate statement is now read with its ETSI TS 119 495 structure, reporting every role of the payment service provider with its role OID and role name, the name of the national competent authority and the authority identifier; real PSD2 certificates previously reported no roles at all
  • A malformed PSD2 statement, including overrunning or non-minimal lengths, missing or extra components, wrong string types and names that are not valid UTF-8, is ignored as a whole instead of being partly reported

Version 2.755.2

Fixed

  • Page rendering of vertical (WMode 1) text now advances each glyph by the ISO 32000-1 9.4.4 text-space displacement: word spacing is no longer scaled by the font size and is no longer added to two-byte CID codes, since it applies only to the single-byte space code
  • Character spacing in vertical text is applied along the writing direction exactly as the specification defines it, so columns set with a non-zero Tc render at the same height as in other conforming viewers
  • Invisible text (rendering mode 3 and hidden optional content) advances vertical columns with the same rules as painted text, keeping later visible glyphs in the correct place
  • The CIDFont /DW2 array is read in its specified [v1y w1y] order, so fonts that rely on the defaults advance by a full em instead of 0.88 em
  • Vertical glyphs are painted at the vertical origin minus their position vector, with the horizontal component defaulting to half the glyph width, which centres columns on the pen position
  • /W2 list entries that describe several consecutive CIDs now apply their metrics to every CID in the run instead of only the first

Version 2.755.1

Fixed

  • ExportLoadedFormToFDF now generates the complete FDF body before creating the target file, so a mid-export failure no longer replaces the destination with a truncated document
  • The FDF stream interchange scanner tracks hexadecimal strings, keeping field dictionaries intact when a hex value ends directly against the dictionary terminator
  • Choice selection index reconciliation decodes mixed PDFDocEncoding, UTF-16 and hexadecimal spellings with one matcher, so equivalent export values rebuild /I consistently
  • XFDF import accepts the hexadecimal spelling of an option export value delivered as plain literal text, restoring round trips written by third-party tools
  • FDF export skips widget-only fields without a field name, matching the XFDF exporter and the behaviour of every importer
  • The Delphi Stamp demo anchors its watermark and rubber-stamp annotation to the actual page size, keeping them visible on landscape and non-A4 inputs
  • The C++Builder DigiPrint demo releases its images and per-page line lists, initialises the header line spacing factor and reports a missing demo.xml instead of crashing
  • The Win64 ABI DLL and codec worker build scripts locate dcc64 in bin64 on RAD Studio 12 and later, and full C++Builder library builds detect and clean trial residue from the shared output directory

Version 2.755.0

Added

  • Loaded multi-select choice fields now exchange individual selected values through FDF file and stream APIs and XFDF array-aware callbacks, preserving option boundaries and synchronizing selection indices on import

Version 2.754.6

Fixed

  • SetLoadedFormFieldExportValue now uses the normal field-value update path, preserving button value types, selection indices, appearance states, encoded strings, and calculation change tracking

Version 2.754.5

Fixed

  • XFDF form values and annotation text elements now preserve their exact content without inserting formatting whitespace, including leading and trailing spaces, tabs, and line breaks

Version 2.754.4

Fixed

  • Loaded form value, default, and maximum-length helpers now honor inherited and indirect entries, while field resets preserve default value types, synchronize choice selections and button states, and leave sibling fields unchanged; regenerated button appearances retain the selected state and valid rendering bounds

Version 2.754.3

Fixed

  • Loaded named child fields now remain individually addressable when their field type is inherited, with inherited type, flags, and options available through field helpers and removal preserving sibling fields and their widgets

Version 2.754.2

Fixed

  • Regenerated loaded choice field appearances now display Unicode option labels while preserving export values, render unselected list options, and highlight single or multiple selections consistently with the field values and indices

Version 2.754.1

Fixed

  • Updating a loaded choice field now keeps its selected-option indices consistent with the new value, including option export values and editable entries outside the option list, without modifying shared selection arrays

Version 2.754.0

Added

  • Optional HPDFCreateTesseractOCREngine and HPDFCreateRapidOCREngine factories connect local recognition programs and caller-provided models to searchable text layers, with Unicode text, word coordinates, timeouts, cancellation, and output budgets

Fixed

  • Corrected text matrix advances, indirect CID font widths, q/Q and Form clipping restoration, reduced JPEG orientation, image soft masks, and Indexed stream palettes to restore text layout and image content on affected pages
  • Small embedded TrueType filled glyphs now use local coverage antialiasing to improve thin strokes at low DPI; canceled OCR requests are reported as cancellation even when the recognition engine returns failure
  • RenderOutputDither now applies across rendering backends and parallel page rendering, with consistent cache invalidation and cancellation

Version 2.753.0

Added

  • SetLoadedFreeTextPlainText explicitly converts supported loaded FreeText annotations to ASCII Helvetica plain text and rebuilds their visible appearance for full rewrites and incremental saves

Fixed

  • Loaded page conversion and save validation now resolve indirect and inherited page boxes, preserving shared page dimensions instead of replacing them with A4

Version 2.752.5

Fixed

  • Page bitmap initialization now checks cancellation while clearing bounded blocks, releases unfinished bitmaps, and avoids delaying foreground rendering while canceled prefetch work finishes initialization

Version 2.752.4

Fixed

  • Closing or reloading a document now releases its owned PDF object graphs and stream payloads, including shared and cyclic ownership, without freeing linked references twice

Version 2.752.3

Fixed

  • Loaded checkbox value changes now synchronize appearance states even when the normal appearance dictionary contains only the selected state

Version 2.752.2

Fixed

  • Enabling reproducible output after document construction now fixes the creation timestamp so equivalent saves remain byte-identical across clock ticks

Version 2.752.1

Fixed

  • Loaded form field names now decode PDF strings consistently, allowing fields with UTF-16 names to be found and updated without changing their identity

Version 2.752.0

Fixed

  • Moving a loaded non-widget annotation now keeps the annotation object identity and updates its optional page reference to the destination page

Version 2.751.0

Fixed

  • Deleting loaded pages now maintains named destinations, outline destinations, structure trees, parent trees, and annotation object references, eliminating reachable null references in both full rewrites and incremental saves

Version 2.750.0

Fixed

  • Full PDF rewrites now expand unread compressed objects before replacing object-stream containers, preserving fonts, color spaces, and ActualText while fixing garbled Chinese text, changed page appearance, and changed extraction text
  • Encrypted documents with an empty user password now load and start rewriting directly, while locked object streams fail clearly instead of producing an incomplete document
  • Unmodified numeric objects retain their source precision, preventing subtle color and transparency drift after a rewrite
  • Copied pages retain their validated resource names and references, fixing indirect resource dictionary errors and incorrectly bound images

Version 2.748.6

Fixed

  • Fixed a cross-reference subsection that declares more entries than the table holds spinning through the whole declared count with no data left to read, which made a forty-byte malformed file take tens of seconds to reject
  • Fixed the job runner losing every result it had already produced when an operation raised, and HTML import losing a picture object when the stream around it could not be created

Version 2.748.5

Fixed

  • Fixed PKCS#12 files with a non-ASCII password failing to open: the password is a UTF-8 byte string, but it was widened one byte at a time instead of being decoded, so the derived key was wrong for every character outside ASCII. Files protected with the modern PBES2 scheme were unaffected, which is why the two behaved differently
  • Fixed the signature batch validator and the revocation evidence cache raising an access violation instead of their own error when constructed with an invalid option, because the destructor ran before the members it releases had been created
  • Fixed the evidence download task failing in its destructor when its arguments were rejected, since the checks ran before the thread itself was created
  • Fixed the cloud-signature provider encoding an algorithm identifier whose second arc exceeds 39, and a malformed identifier now raises the provider's own error rather than a conversion error
  • Certificate and signature containers now reject a nested element that declares a length reaching past the element that holds it, so what is validated and what is covered by the signature can no longer differ
  • Private-key values are wiped from memory after RSA signing instead of being left on the heap for the next allocation

Version 2.748.4

Fixed

  • Fixed Type 1 font loading reading every property from the first line of the font program: the token list was refilled without being emptied, so the version, family and weight strings, the stem hints and the charstring key length were all taken from stale tokens. Type 1 fonts now report their own metadata
  • Fixed the charstring key length being kept as a pointer into a string that had already been freed, and being used without a range check; it is now stored as a value and clamped to the range the format allows
  • Fixed non-embedded fonts always falling back to the system default face: the requested face name was copied into the wide-character font record byte by byte, so no installed family ever matched
  • Fixed embedded TrueType and OpenType parsing reading past the end of a truncated font program while decoding glyph outlines, composite glyph arguments and the CFF table of an OpenType container, and a malformed character map no longer asks for a negative glyph array
  • Fixed cross-reference tables and streams whose declared object numbers overflow: an entry claiming a number near the integer limit wrapped into a negative index and was written outside the table, and a declared object count or /Size far larger than the file could hold sized the loader's arrays from that claim alone

Version 2.748.3

Fixed

  • Fixed Data Matrix rejecting valid input: the symbol size was estimated by halving the digit count, but only adjacent digits share a code word, so text like 1a2a3a selected a symbol too small for its own data and failed to encode
  • Fixed four-byte UTF-8 characters in XFDF, such as emoji, decoding to the wrong surrogate pair, and an unrecognised byte no longer swallows the three characters that follow it
  • Enhanced-metafile region records now bound their rectangle count by the record size instead of trusting the count in the region header, which could read far past the record
  • PNG images whose declared width times height exceeds the addressable range are rejected at the header instead of allocating a negative-length pixel buffer
  • High-quality image resampling now reports an out-of-range request instead of overflowing the size of its intermediate buffer
  • A WebP meta prefix image that claims more entropy groups than it has pixels is rejected instead of allocating hundreds of megabytes of prefix tables from a few hundred bytes of input
  • Fixed leaks on the failure paths of Aztec encoding, WebP bitmap decoding and the object-stream decode worker pool, where a partially built object was abandoned when a later step raised

Version 2.748.2

Fixed

  • Fixed QR Code symbols dropping the last code word bits: the module placement walk skipped the left-most column, so the tail of the final error correction block was never written into the symbol
  • Fixed the QR terminator filling the whole remainder of the data block with zero bits, which left no room for the 0xEC / 0x11 pad code words that ISO/IEC 18004 requires; a version 1 symbol carried six zero code words instead
  • A new test reads a generated symbol back out of its modules, so the data block, the pad code words, the error correction block, the mask and the placement are all checked against the standard rather than against the encoder's own output

Version 2.748.1

Fixed

  • Fixed three parsers hanging on malformed input instead of reporting it: the object parser on a >> inside an array or a ] inside a dictionary, the CMap reader on a stray bracket or brace, and the XFDF reader on a construct without a tag name (a document type declaration, for one) or a stray byte between attributes. Each of them stopped advancing its cursor, so a single unexpected byte turned the parse into an endless loop
  • Fixed CDATA sections in XFDF being read as markup: their content is now taken as element text, and the section marker is measured correctly instead of swallowing the first character
  • Fixed a WebP chunk length near 2 GB overflowing the size check, so the payload copy read past the end of the file buffer; chunk lengths are now range-checked in 64-bit arithmetic
  • Fixed a PNG chunk length of 0xFFFFFFFF freeing the chunk buffer while the chunk still reported its declared length, which left later reads pointing at released memory; over-long chunks are rejected
  • Fixed CCITT fax decoding overflowing its row-buffer size computation for very large declared page geometries, which could write past the buffer; the row store is now bounded and decoding stops cleanly at the limit
  • Fixed the CCITT encoder reading one byte past the end of a scan line for widths that are a multiple of eight
  • Fixed enhanced-metafile comment records being read through a 32-bit truncated pointer on 64-bit builds, which read an unrelated address for every EMF carrying a GDI comment
  • Fixed 8-bit images with fewer than 256 palette entries publishing uninitialised memory as the tail of their colour table, and the table now declares its real entry count
  • Fixed deeply nested indefinite-length BER structures exhausting the stack while parsing a signature or certificate container; nesting beyond 128 levels is rejected

Version 2.748.0

Fixed

  • Fixed the error correction of every 2D barcode the library draws: QR Code, Data Matrix, PDF417 and Aztec built their generator polynomial from the constant term upwards but divided by it as though the leading term came first, so each symbol carried check words that no conforming reader accepts. The check words now match the worked examples of ISO/IEC 18004, ISO/IEC 16022 and ISO/IEC 15438
  • Fixed Aztec symbols losing their payload: the encoder divides the code word array in place and the caller emits that same array, so the message words were overwritten by the division and the symbol carried neither the data nor a valid mode message
  • Fixed the Data Matrix generator polynomial starting its roots one power too low, which produced a different polynomial from the one ISO/IEC 16022 Annex E prescribes
  • Fixed the Data Matrix finder pattern: the solid L is now the left column and the bottom row, and the alternating clock track is the top row and the right column, each starting dark at the corner it shares with the L. The two were swapped, so readers could not establish the symbol orientation

Version 2.747.4

Fixed

  • Fixed loaded-document editing writing PDF numbers with the system decimal separator: page stitching, rectangle redaction, text and image stamps, composite watermark shapes and ellipse appearances now always emit a period, so documents edited on a decimal-comma locale (for example German or French Windows) no longer contain content streams that viewers reject
  • Fixed Type 1 font loading depending on the system locale: FontMatrix, BlueValues, stem hints and charstring real numbers are parsed as PostScript numbers with a period, so PFB fonts keep their metrics and outlines on decimal-comma systems instead of silently collapsing
  • Fixed default-appearance (/DA) font size and colour parsing, HTML width and size attributes, FormCalc results and job JSON numbers following the process locale; they now use the invariant format in every direction
  • Fixed the built-in barcode drawing writing its bar rectangles through a locale-dependent format, which produced an invalid content stream on a decimal-comma system
  • Free Pascal builds now parse and format content-stream operands, text-extraction metrics and JavaScript numbers with the invariant format, matching the Delphi builds instead of falling back to the locale-dependent conversion
  • The number writer no longer rewrites the decimal separator of the hosting application's global format settings on every call, which changed how the rest of the program formatted its own numbers and was unsafe when several threads produced documents at once

Version 2.747.3

Fixed

  • Fixed edits vanishing from compressed pages: rectangle redaction, page stitching, composite watermark shapes and annotation flattening appended their operators to a still-compressed page content stream, so the redaction bar, the stitched page, the watermark shape or the baked annotation was silently absent from the saved file. The page content is now expanded before anything is appended
  • Fixed appended content fusing with the last operator already on the page when that page did not end in white space, which produced an unreadable token such as Q0.5 and could make a viewer reject the whole page; an end-of-line is now inserted where one is needed

Version 2.747.2

Added

  • Added Free Pascal Win32 support: the Lazarus package now builds for both i386-win32 and x86_64-win64 through dedicated build entry points, the smoke suites accept an architecture argument, and the 32-bit compiler and C symbol linking issues were fixed; PDF creation, loading, Flate compression, AES encryption and CBZ document handling are covered on both targets

Version 2.747.1

Fixed

  • Fixed the rotated-mask retry of the built-in barcode decoder leaving stale bytes in untouched cells of the rotated mask, which invented phantom ink and made quarter-turned Code 39 symbols unreadable; the rotated buffer is now zeroed explicitly, so turned Code 39 photographs and scans decode through the rotation retry

Version 2.747.0

Added

  • Added WebP image import: AddImageFromFile now accepts .webp files through a built-in lossless (VP8L) decoder implementing RFC 9649 — canonical prefix codes, spatial meta prefix codes, LZ77 backward references with the neighborhood distance map, the color cache, and all four inverse transforms (predictor, color, subtract-green, color indexing with pixel bundling); lossy VP8 frames are rejected with a clear message

Version 2.746.0

Added

  • The built-in barcode decoder now reads QR symbols in any of the eight orientations a photographed or scanned page can arrive in: the finder patterns identify the missing corner, and the sampled module matrix is rotated or mirrored into the expected layout before decoding, so quarter-turned and mirrored captures read without pre-processing

Version 2.745.0

Added

  • Added eIDAS qualified-certificate evaluation for loaded signatures: GetLoadedSignatureQCStatements reports the ETSI EN 319 412-5 QCStatements of the signer certificate — QcCompliance, QcSSCD, QcType values, the QcLimitValue currency/amount/exponent and the PDS locations — plus the TS 119 495 PSD2 payer and payee roles, and raises a qualified-signature heuristic when QcCompliance and QcSSCD are both asserted (the QTSP trust decision stays with the caller)

Version 2.744.0

Added

  • Added N-up imposition for loaded documents: ComposeLoadedPagesNUp reflows every page onto grid-composed sheets of the source paper size (2-up, 4-up, 6-up, up to 16x16) for print-ready output, absorbing each page's /Rotate into the placement matrix, sharing the page resources with the composed form, and optionally drawing hairline cell frames with an adjustable gutter

Version 2.743.0

Added

  • FlattenLoadedAnnotations now bakes annotations that carry no appearance stream instead of silently skipping them: widgets get their field appearance generated from the field value first (the /NeedAppearances case common in browser-printed forms), so the entered value survives into the page content
  • Markup annotations without /AP get a synthesized appearance drawn from their own properties — FreeText and Stamp text with /DA styling and /Q quadding, Square and Circle shapes with /C / /IC colour and /BS width, Line and Ink strokes, and Highlight / Underline / StrikeOut / Squiggly quad markup honouring /QuadPoints and /CA opacity
  • Hidden annotations (the /F hidden flag) are left as annotations when they have no appearance, because baking an invisible note would make it visible

Version 2.742.0

Fixed

  • Fixed Free Pascal package builds failing since 2.738.0: the LTV evidence and seed-value member declarations were placed inside a Delphi-only conditional block while their implementations were unconditional, so the Free Pascal package no longer compiled; the implementations now carry the same conditional and the package builds again

Added

  • HTML import now resolves tables on a full occupancy grid, so rowspan and colspan cells claim their columns correctly and later rows skip the claimed slots instead of shifting left
  • Table row heights come from wrapping the cell text under the cell's own font instead of a character-count estimate, so mixed narrow and wide content no longer produces overflowing or oversized cells
  • Column widths follow <col> width hints and per-cell width attributes, and header rows marked up with <thead> (or leading all-<th> rows) repeat on top of every continued page when a table crosses a page break
  • A rowspan group is kept whole across page breaks: the rows joined by a spanning cell move to the next page together so the spanning cell is never cut

Version 2.741.0

Fixed

  • Fixed Free Pascal builds terminating instead of reporting an error when a document needed one of the codecs those builds do not link: opening a TIFF, decoding a JPEG 2000 or JBIG2 image, reading a progressive or reduced-scale JPEG, applying an ICC colour transform, or requesting Zopfli recompression ended the process outright
  • Each of those operations now fails the way its caller already expects, so a document that uses one of them loads with that feature skipped rather than taking the application down

Added

  • Added structure-order text extraction: ExtractLoadedPageStructureText walks the document structure tree in authoring order (ISO 32000-1 14.8.4) and concatenates the marked-content runs of a page by MCID, so tagged documents such as government forms and accessible publications extract their authoritative reading order instead of a geometric guess; glyphs the tree never claims fall to a geometric tail and are counted in the untagged report

Version 2.740.0

Fixed

  • Fixed colour glyphs losing their transparency in Free Pascal builds: embedded colour bitmaps were read through a path that discards the alpha channel, so every emoji or colour font glyph was drawn as an opaque rectangle. The bitmaps now keep their per-pixel alpha

Fixed

  • Enabled P-384 ECDH key agreement: the CIOS Montgomery multiplication final conditional subtraction compared against P limb plus borrow, which wraps to zero on the all-ones high limbs of the P-384 / P-521 primes and silently mis-borrowed; the comparison now detects the borrow without the overflowing addition and the P-384 shared secret matches OpenSSL reference vectors byte for byte

Version 2.739.0

Added

  • Free Pascal builds now encrypt and decrypt documents: the AES entry points are served by the library's own FIPS-197 implementation instead of reporting an unsupported-operation error, so AES-128 and AES-256 protected files can be created and opened there
  • AES-GCM encryption and decryption, including the streaming context used for large payloads, are available in Free Pascal builds
  • The Free Pascal smoke test now checks the cipher against the FIPS-197 known answer, exercises PKCS#7 and GCM round trips, and creates and reloads an AES-256 protected document with password rejection

Added

  • Added CSS2.1 paragraph typography to the HTML5 import engine: text-align (with legacy align attribute and center-tag mapping), letter-spacing and word-spacing through the PDF Tc / word-space operators, text-indent for first-line indents, and text-decoration underline / line-through rules, so existing web and email HTML imports keep their centred headings, indents, and underlines
  • Extended the built-in QR decoder beyond version 1: the symbol version now derives from the finder geometry through grid divisibility (versions 2-40 with a clean module grid decode), the byte-mode length cap follows the ISO/IEC 18004 Table 7 capacity per version, and the function-module map covers alignment patterns and version information blocks for higher symbols

Version 2.738.0

Added

  • Free Pascal builds now compress and decompress documents natively: the deflate codec is provided by a built-in backend over the Pascal zlib implementation that ships with Free Pascal, so FlateDecode content no longer reports an unsupported-operation error
  • Compressed documents can be created and reloaded under Free Pascal with the default compression setting, and cross-reference streams, object streams, embedded files and compressed page content all decode there
  • The backend covers the zlib and raw deflate wrappers, the gzip wrapper and automatic header detection, so SVG imports and the multi-window-size decompression fallback behave as they do under Delphi
  • The Free Pascal smoke test now verifies the codec through a wrapper and checksum self test plus a compressed document round trip

Added

  • Added AIA caIssuers chain completion: HPDFFetchAIAIntermediates walks the access-method 1.3.6.1.5.5.7.48.2 endpoints of a CMS certificate set through the caller transport (bare DER and PEM bodies both decode), and the FetchMissingIntermediates validation option feeds the fetched intermediates into path building so cloud-signer signatures with a lone end-entity certificate validate instead of failing path building
  • Added one-call LTV enablement: PopulatePAdESLTVEvidence walks every loaded signature, fetches its intermediates plus OCSP/CRL evidence online, and writes the material into the document DSS, upgrading a fresh B-B signature document to B-LT without hand-assembled evidence arrays
  • Added seed-value enforcement for signing: CheckLoadedSignatureSeedValue reads a signature field /SV dictionary and checks a candidate SubFilter, DigestMethod, Reason and DocMDP profile against its constraints with the force-bit semantics of ISO 32000-1 12.7.5.5, so form-author constraints are honoured before a signature is placed

Version 2.737.0

Added

  • Added strict save verification through the VerifySavedOutput property: after writing, a fresh reader instance with cross-reference recovery disabled reloads the file so corrupt serialisation raises at the call site instead of surfacing at the next consumer
  • Extended ReproducibleOutput to encrypted documents: AES-CBC streams use the static 14*(1+i) IV convention, key material and salts derive deterministically, and the canonical document ID normalises volatile Info timestamps, giving byte-identical encrypted saves for regression pipelines

Version 2.736.0

Added

  • Added high-quality resampling and monochrome dithering through a new HPDFResample unit: separable Catmull-Rom bicubic and Lanczos3 kernels replace GDI stretch semantics for image downsampling via the ImageDownsampleKernel property, and RenderOutputDither applies Floyd-Steinberg error diffusion after page composition so print-preview output keeps photographic detail in pure black and white

Version 2.735.2

Fixed

  • Fixed the Flate decompression streams passing the address of their buffer variable instead of the buffer itself when refilling from the source stream, which corrupted memory on every read and could crash the process; loading compressed documents, the inflate stream classes and the compress and decompress stream helpers are all affected

Version 2.735.1

Fixed

  • Fixed growable XFA fields that carry no data source collapsing to a single line when flattened: their height is now measured from the text the template itself declares, which is what such a field displays. A field bound to empty data still measures as empty

Version 2.735.0

Added

  • Free Pascal builds now cover the whole library: every unit compiles with FPC 3.2.2 and Lazarus, where previously only the core creation and loading path did
  • XPS, EPUB and CBZ containers can be imported under Free Pascal, through a built-in read-only ZIP reader that handles ZIP64 sizes, stored and deflated entries, CRC verification and traditionally encrypted entries with the same password callback as the Delphi path
  • XFA form flattening, the FormCalc calculation engine, the widget runtime, the document viewer components, the Type 1 font handlers, HTML import, signature verification and the job runner all compile in Free Pascal builds; flattening the XFA packets of a loaded document additionally needs the deflate codec, which those builds do not link

Fixed

  • Fixed the PNG helper unit's 64-bit byte swapping, which returned incorrect values on Win64 and had left the unit out of the build entirely

Added

  • Added draw-time missing-glyph detection: the TrackUnresolvedGlyphs property records every code point that would render as a .notdef tofu box through the active Unicode face, fires the OnUnresolvedGlyph event per finding, and leaves unregistered pure-GDI documents untouched
  • Added legacy kern table support: RegisterUnicodeTTF captures the Apple/GDI-era kern table and the kerning emit falls back to its format-0 binary pair search when a font carries no GPOS kern lookups, restoring classic pair spacing in fonts like stock Arial
  • Added per-run font fallback inside paragraph layout: WideTextOutBox now splits each wrapped line at code points the current font cannot map and draws every run in its resolved fallback font, so mixed Latin, emoji and CJK paragraphs render without tofu when fallback chains are registered

Version 2.734.0

Added

  • Added RFC 3161 time-stamp request plumbing: HPDFRFC3161BuildRequest emits the DER TimeStampReq with a fresh positive-INTEGER nonce, optional policy OID and certReq, and HPDFRFC3161ParseResponse decodes the PKIStatusInfo header and extracts the token, so TSA transport callbacks are three lines instead of a DER study
  • Added the ISO/TS 32002 developer extension declaration (THotPDF.EnsureISO32002Extensions) covering EdDSA signature algorithms and the additional ECDSA curves in PDF 2.0 documents, idempotent and version-gated like the 32001 SHA-3 declaration

Version 2.733.0

Added

  • Added portable X25519 and X448 Montgomery-ladder key agreement plus P-256 / P-521 NIST-curve ECDH with CIOS Montgomery multiplication, enabling key-agreement (KARI) public-key recipients to be created and unwrapped entirely in-process; RFC 7748 and OpenSSL-generated reference vectors lock the ladder behaviour into the regression suite
  • Added HPDFUnwrapKeyAgreementRecipientEnvelope together with the AddPubSecAgreementKeyMaterial and AddPubKeyAgreementRecipientWithSecret entry points, so documents encrypted with ECDH / X25519 / X448 recipients can be opened with the recipient private scalar and encrypted without external ECDH tooling

Version 2.732.0

Changed

  • Saves now route serializer output through a 1 MiB buffered write stream, collapsing the per-token Write calls of object headers, dictionary keys, and xref rows into batched pushes on file-backed destinations
  • Cross-reference stream payloads apply PNG Up prediction (/DecodeParms /Predictor 12) before FlateDecode and collapse free-list holes through /Index subsections, shrinking xref containers on every PDF 1.5+ document and on sparse object ranges
  • The CompressionLevel property now also selects the Flate effort of the cross-reference stream and object-stream containers, so clMaximum produces smaller structural streams during save

Fixed

  • Cross-reference stream /W field widths now adapt to the actual offset range instead of a fixed [1 4 2] layout whose Cardinal cast silently truncated offsets beyond 4 GiB into damaged output

Version 2.731.0

Changed

  • Rebuilt the built-in template-matching OCR with connected-component glyph extraction, grayscale coverage scoring against cached multi-font templates, Otsu binarisation with a local-window fallback, bimodal gap word splitting, per-word baselines, speckle-noise rejection, and an extended 62-character alphabet that recognises mixed-case ASCII text through line-level height clustering and case-context preference

Version 2.730.0

Added

  • Added Win64 support for Free Pascal 3.2.2 and Lazarus 4.6, including a runtime package, reproducible build script, compatibility layer, and non-GUI create-and-reload smoke test; native static codec integrations remain Delphi-only and report an explicit unsupported-operation error in Free Pascal builds

Version 2.729.0

Added

  • Added a host-neutral dynamic XFA widget runtime with Unicode editing, focus and hit testing, instance-aware binding, atomic validation and calculation, bounded reflow, and a read-only loaded-document factory that preserves the source XFA

Version 2.728.0

Fixed

  • Corrected XFA intrinsic measurement and text continuation to preserve explicit empty and calculated values, use each field or repeated-row binding context, retain breakAfter actions, avoid synthetic name collisions, and enforce a cached global measurement budget

Version 2.727.0

Changed

  • XFA layout now applies intrinsic minimum and maximum dimensions, measures growable fields from their bound text, and atomically splits eligible textEdit content across content areas and pages with read-only continuation fields and bounded text, fragment, and measurement budgets

Version 2.726.0

Added

  • Added complete NChannel process and spot attributes, mixing hints, bounded PDF 2.0 CxF/X-4 spectral ink streams, and document-level consistency checks for spot tint definitions and external output-intent colourant tables

Version 2.725.0

Added

  • Added a thread-safe deterministic SIMD scanline render backend that preflights supported rectangle display lists, writes the final bitmap surface in vector blocks without an intermediate bitmap copy, and returns exact per-request decline reasons through the existing software fallback and telemetry pipeline

Version 2.724.0

Changed

  • Expanded the bounded native FormCalc evaluator with general SOM node-set aggregates, mixed scalar and node-set arguments, nested numeric and string calls, and deterministic selection, string, trigonometric, logarithmic, and conversion functions under existing operation, array, depth, time, and output budgets

Version 2.723.0

Changed

  • SubsetLoadedFonts now safely subsets embedded Type 1 PFB, split binary and hex PFA programs, retains recursive TrueType composite dependencies, and closes COLR v0/v1 outline dependencies while preserving colour, bitmap, variation, and shaping tables

Version 2.722.0

Added

  • Added bounded password callbacks for classic ZIP-encrypted XPS, EPUB, and CBZ entries, including per-entry retry limits, cancellation checks, memory-only credential handling, and fail-closed rejection of unavailable, invalid, or unsupported encryption

Version 2.721.0

Changed

  • DownsampleLoadedImages now resizes supported 8-bit Separation and DeviceN image samples directly in component space and preserves the original colour-space graph, tint transform, colourants, /Decode ranges, and overprint semantics across save and reload

Version 2.720.0

Added

  • Added bounded built-in recognition overloads for high-contrast uppercase ASCII OCR, horizontal Code 39, and clean axis-aligned QR version 1 byte-mode symbols, allowing searchable text layers and loaded-page barcode decoding without a caller-supplied engine while ambiguous or unsupported input fails closed

Version 2.719.0

Added

  • Added bounded JPEG 2000 refinement by resolution and quality layer through THPDFJpeg2000Decoder.LoadProgressiveFromByteArray, plus multi-layer encoding through TJpeg2000Bitmap.QualityLayers, with identical final pixels for LRCP, RLCP, RPCL, PCRL, and CPRL progression orders

Version 2.718.0

Changed

  • Embedded complete UniJIS, UniGB, UniCNS, and UniKS UCS2 and UTF16 horizontal and vertical CMaps, including supplementary scalars and standard vertical defaults, so CJK text extraction and geometry no longer depend on external Unicode mapping files or half-em guesses

Version 2.717.0

Added

  • Added explicit linearized shared-object dependency ranges and a range-arrival redraw scheduler so pages can paint before all optional dependencies arrive and redraw exactly when newly available data changes the result

Version 2.716.0

Added

  • Added bounded object-graph repair for actionable xref, trailer, catalog, page-tree, and name-tree preflight findings with validated transaction commit and complete rollback on unsafe or ambiguous input

Version 2.715.0

Added

  • Added PDF 2.0 encrypted payload wrappers whose visible document content remains readable before authentication while embedded-file names, descriptions, and bytes stay protected until an explicit password unlock

Version 2.714.0

Changed

  • Loaded-page SVG export now emits axial and radial gradients, bounded PNG representations of Type 4 through Type 7 mesh shadings, and decoded inline images without incrementing the corresponding skip counters

Version 2.713.0

Changed

  • OpenType SVG colour glyphs now use the bounded Form XObject pipeline for arcs, vector gradients, opacity, geometric masks, and local #id reuse while continuing to reject scripts, external resources, images, and unsupported active content

Version 2.712.0

Changed

  • ReplaceLoadedPageText now replaces matches spanning TJ string items and arrays through glyph source spans while preserving kerning numbers, unmatched prefixes and suffixes, unrelated operands, and the original content-stream structure

Version 2.711.0

Added

  • Added CFF FontSet SyntheticBase resolution with inherited Top and Private DICT values, CharStrings, charset, Encoding, and Local Subrs, plus deterministic override semantics and bounded rejection of invalid, cyclic, or excessively deep inheritance

Version 2.710.0

Added

  • Added deterministic bounded Flate predictor selection through HPDFSelectFlatePredictor, using distributed row samples, estimated byte cost, configurable CPU weighting, and explicit byte, row, and work budgets

Version 2.709.0

Added

  • Added opt-in native JBIG2 Huffman symbol-dictionary and text-region output through THPDFJBIG2Options.UseHuffmanEncoding, including standard DH, DW, BMSIZE, FS, DS, and DT tables, raw collective bitmaps, symbol-ID tables, deterministic native routing, and pixel-exact decoder round trips while retaining arithmetic and MMR defaults

Version 2.708.0

Changed

  • Cached Arabic and combined presentation-form reverse cmap mappings by registered font generation, replacing repeated U+FB00..U+FDFF and U+FE70..U+FEFF scans in ApplyArabicGSUBRefinement, ApplyArabicGSUBContextualRefinement, and the generic contextual GSUB path while preserving codepoint precedence and shaped output

Version 2.707.0

Added

  • Added the Aztec 2D barcode encoder (ISO/IEC 24778) through THPDFPage.DrawAztec and the standalone THPDFAztec unit: dynamic-programming high-level encoding with mode latches, shifts, and binary-shift runs, bit stuffing, Reed-Solomon error correction over GF(16) through GF(4096), automatic compact 15x15..27x27 or full 19x19..143x143 symbol selection, and forced-layer control for fixed symbol sizes
  • Added vertical page text assembly: THotPDF.ExtractLoadedPageText and the range/stream aggregation APIs now cluster WMode 1 glyphs into columns on the glyph origin X, order the columns right-to-left, and walk each column top-to-bottom instead of shredding vertical CJK text into per-glyph lines

Fixed

  • Fixed parallel band export failing with a PNG band width mismatch on pages whose pixel dimensions are fractional (A4 at 96 DPI): the raster size is now rounded with Ceil uniformly with the band writers, so delivered tiles always match the encoder width

Version 2.706.0

Added

  • Added streaming loaded-page PNG export and banded multi-page TIFF export through THotPDF.SaveLoadedPageToPng, SaveLoadedPageToPngStream, SaveLoadedPagesToTiffBanded, and SaveLoadedPagesToTiffStreamBanded, writing compressed image data row by row through band encoders so very large pages do not require a complete framebuffer; THPDFBandImageExportInfo reports page, band, row, worker, memory, output, timing, and cancellation telemetry

Version 2.705.0

Added

  • Added PDF/A finalization to the loaded save paths: THotPDF.SaveLoadedDocument and SaveLoadedDocumentToStream now validate the GTS_PDFA1 OutputIntent (inherited from the source catalog or freshly registered) and emit the pdfaid:part / pdfaid:conformance XMP identification when PDFACompliance is set, while preserving an existing pdfaid packet byte-for-byte on re-save
  • Added vertical writing (WMode 1) consumption on the load side: CIDFont /W2 and /DW2 cell metrics now drive text extraction and page rendering, walking columns down the text-space y axis with the v1x/v1y positioning vector instead of horizontal /W advances

Version 2.704.0

Added

  • Added parallel loaded-page tile and band rendering through THotPDF.RenderLoadedPageTilesParallel and THotPDF.RenderLoadedPageBandsParallel, with row-major calling-thread callbacks, borrowed bitmaps, cooperative cancellation, caller-controlled in-flight memory, peak-memory admission, and a bounded immutable Type 3 glyph and halftone-screen cache shared across isolated render contexts

Version 2.703.0

Added

  • Added bounded CSC multisign digest batches through THPDFCSCSignatureProvider.SignHashBatch, using one hash-pinned SAD and one signatures/signHash request for an ordered same-algorithm batch while enforcing local and credential multisign limits, strict response cardinality, synchronous or asynchronous result ordering, SHA-256 content-addressed idempotency keys, and completed-batch replay

Version 2.702.0

Added

  • Extended THotPDF.RenewPAdESLTATimestamp with caller-supplied certificate, OCSP, and CRL evidence that is merged into the existing DSS before the new RFC 3161 document timestamp, preserves every earlier revision byte-for-byte, and exactly deduplicates validation streams across successive renewals

Version 2.701.0

Added

  • Added clause-addressable PAdES baseline and extended profile preflight through THotPDF.PreflightLoadedPAdES, reporting every applicable requirement with stable rule ID, profile, normative level, standards clause, PDF path, object number, signed or current revision, and pass status while validating CMS cardinalities, signer-certificate ESS references, signature-dictionary constraints, byte-range coverage, trusted time, DSS evidence, and document-timestamp coverage

Version 2.700.0

Added

  • Added end-to-end ECDSA, Ed25519, and Ed448 PFX / PKCS#12 private-key loading and CMS document signing, including named-curve CNG ECDSA, optional OpenSSL 3 PureEdDSA, RFC 8410 key decoding, RFC 8419 digest and parameter rules, SHAKE256 with 512-bit output for Ed448, automatic key-algorithm selection, and strict certificate-to-key pairing

Version 2.699.0

Added

  • Added deterministic multi-identity PFX / PKCS#12 credential selection through HPDFEnumeratePFXIdentities, HPDFParsePFXByLocalKeyID, and THPDFCMSSignOptions.PFXLocalKeyID, including strict single-valued localKeyId and friendlyName bag attributes, public-key pairing, recursive safe-content bags, bounded ambiguity and cycle diagnostics, and automatic matching intermediate and root certificate-chain embedding with exact DER deduplication

Version 2.698.0

Added

  • Expanded in-process PFX / PKCS#12 PBES2 decryption with AES-128-CBC and AES-192-CBC plus PBKDF2 HMAC-SHA-384 and HMAC-SHA-512 PRFs, including cipher-specific optional keyLength validation and bounded salt, iteration, IV, and padding checks while retaining AES-256-CBC and HMAC-SHA-1 / SHA-256 compatibility

Version 2.697.0

Added

  • Added specification-conforming XPS and OpenXPS Canvas FixedPage.NavigateUri inheritance so descendant Path, Glyphs, and nested Canvas visuals receive the scoped URI unless they override it, preserving external, mail, package-page, and percent-decoded LinkTarget actions through transforms, nested clips, isolated opacity groups, reusable-visual suppression, restoration after nested overrides, and existing link, URI, cancellation, and unsafe-scheme limits

Version 2.696.0

Added

  • Added bounded native XPS and OpenXPS Canvas transparency groups so Opacity and solid, gradient, or image Canvas.OpacityMask values composite overlapping child visuals once through isolated DeviceRGB Form XObjects, with folded uniform alpha, shared variable-alpha soft masks, nested groups, transformed clips, resource transfer, preserved links, and fail-closed malformed, unsupported, singular, or oversized content

Version 2.695.0

Added

  • Added bounded native XPS and OpenXPS Canvas.Clip conversion for abbreviated geometry, local or remote StaticResource PathGeometry values, direct property elements, structured line, Bézier, quadratic, and arc figures, geometry transforms, empty clips, and nested EvenOdd or NonZero clipping through PDF W* or W, with clipped navigation bounds, 100,000-value parsing limits, and fail-closed malformed or singular transforms

Version 2.694.0

Added

  • Added bounded native XPS and OpenXPS navigation for transformed Path and Glyphs visuals, preserving HTTP, HTTPS, and mail links as PDF URI annotations and resolving package-relative pages plus percent-decoded LinkTarget fragments as forward or backward PDF GoTo actions after all pages exist, with metric-aware click bounds, 65,536-link and 8,192-character limits, VisualBrush capture suppression, cancellation, and fail-closed unsafe-scheme diagnostics

Version 2.693.0

Added

  • Added bounded native XPS and OpenXPS VisualBrush conversion for inline or resource-backed Canvas, Path, and Glyphs visuals, hierarchical and remote ResourceDictionary lookup, absolute Viewbox, absolute or relative Viewport, None, Tile, and reflected tile modes, transforms, opacity, reusable Form XObjects, shared tiling patterns, token-aware resource transfer, and fail-closed cycle, malformed-input, recursion, content, cache, and placement budgets

Version 2.692.0

Added

  • Added native XPS and OpenXPS package-font embedding for TrueType and OpenType programs, TTC member fragments, GUID-obfuscated resources, direct or cmap-derived glyph IDs, one-to-many Unicode clusters, explicit advances and offsets, width-correct RTL origins, shared font resources, embedding and no-subsetting permissions, optional glyph subsetting, bounded ToUnicode maps, and amortised-linear positioned-run output without GDI face substitution

Version 2.691.0

Added

  • Added bounded OpenXPS Glyphs Indices layout for strict cluster code-unit and glyph counts, explicit hundredths-of-em advances, horizontal and vertical offsets, odd BidiLevel reverse progression, solid attribute or property-element fills, opacity, native PDF TJ batching, positioned Unicode cluster fallback, preserved text extraction, fail-closed malformed-input diagnostics, and amortised-linear buffers capped at 65,536 mappings

Version 2.690.0

Added

  • Added OpenXPS Path.OpacityMask support for solid, variable-alpha multi-stop linear and elliptical radial gradient, and ordinary, tiled, or reflected PNG ImageBrush masks through folded uniform alpha, bounded native DeviceGray transparency groups, shared shading patterns and image soft-mask streams, fail-closed unsupported-content handling, and the reusable RegisterLuminositySoftMaskState builder with alpha-image resource binding

Version 2.689.0

Added

  • Added OpenXPS ImageBrush Tile, FlipX, FlipY, and FlipXY modes through native PDF tiling patterns with one, two, or four independently clipped placements, shared image and PNG soft-mask resources, composed fixed-page, path, and brush matrices, and the bounded RegisterImageTilingPattern API for reusable image-backed patterns

Version 2.688.0

Added

  • Added OpenXPS ImageBrush.Transform support for finite six-parameter attribute matrices and MatrixTransform property elements, concatenated after native Path clipping and before viewport clipping and image placement so the brush can rotate, scale, skew, or translate without changing its containing vector geometry; non-standard RelativeTransform and unresolved matrix resources remain explicit diagnostics

Version 2.687.0

Added

  • Added matrix-controlled image XObject placement through THPDFPage.ShowImageMatrix and extended XPS fixed-page import with package JPEG, PNG, TIFF, and JPEG XR ImageBrush fills, absolute or bounds-relative Viewbox and Viewport mapping, native path and single-viewport clipping, image and path opacity, PNG soft-mask alpha, DPI-aware 96-DPI sizing, shared decoded-resource caching, and fail-safe diagnostics for unsupported tiling, transforms, colour conversion, and image strokes

Version 2.686.0

Changed

  • Added reusable bounded multi-stop radial gradient registration and extended native-vector XPS path import with property-element elliptical RadialGradientBrush values, Pad spread, uniform stop alpha, brush opacity, relative or absolute center, origin and radius mapping, native Type 3 PDF shading, and coordinate restoration that leaves path geometry unchanged

Version 2.685.0

Changed

  • Extended ordered native-vector XPS path import with quote-aware and bounded property-element parsing, solid and multi-stop linear gradient brushes, native PDF shading patterns, brush and stop alpha, default relative-to-bounds or explicit absolute gradient coordinates, out-of-range stop interpolation, and fail-safe diagnostics for unsupported transforms, spread modes, colour interpolation, variable alpha, and degenerate axes

Version 2.684.0

Changed

  • Added ordered native-vector XPS path import with bounded abbreviated geometry, fill rules, solid RGB and ARGB fills and strokes, path opacity, stroke width, six-parameter transforms, and fail-safe diagnostics for unsupported drawing features

Version 2.683.0

Changed

  • Strengthened actual-painted-content PDF/X-6 validation with definition-time shading-pattern graphics state, nonstroking pattern ExtGState semantics, fail-closed soft-mask subtype and backdrop checks, exact Type 3 glyph metrics and inherited-colour rules, strict combined-paint alpha classification, bounded JPX colour inference, and appearance-aware annotation compositing

Version 2.682.0

Added

  • Added producer and verifier support for brainpoolP256r1, brainpoolP384r1, and brainpoolP512r1 ECDSA signatures, including the curve-specific SHA-2 and SHA3 digest matrix, fail-before-provider signing validation, strict named-curve certificate parameters, parameter-free ECDSA algorithm identifiers, canonical DER signature values, Windows CNG named-curve import, and deterministic diagnostics for explicit, trailing, unknown, or mismatched parameters

Version 2.681.0

Changed

  • Unified non-progressive bitmap, direct-DC, Form and display-list content execution through HPDFInterpretContentTokensDevice and the optional complete IHPDFContentOperatorDevice extension, with one cancellation checkpoint per operator, compile-time operator-index caching for operand-scan-free display-list replay, public OperatorCount metrics, preserved semantic-device compatibility, corrected ", v and y operator semantics, and legal EI terminator handling without false fallback diagnostics

Version 2.680.0

Added

  • Added bounded transactional RepairPDFA4 overloads with typed options, detailed repair reports, shared finding provenance, safe PDF 2.0 header, trailer ID, metadata, Catalog and presentation normalisation, namespace-aware PDF/A identification repair, configurable partial or full-conformance commit policy, error-regression detection, byte-exact graph and XMP rollback, and a strict boundary that preserves page content, fonts, colour, transparency, images, graphics operators, and extracted text

Version 2.679.0

Added

  • Added actual-painted-content PDF/X-6 validation with selectable ISO 15930-9:2020 or resolved-errata 2025 rules, actual ICC header and channel checks, resource-aware traversal of content arrays, Form XObjects, tiling and shading patterns, images, Type 3 glyphs, soft masks and annotation appearances, overprint-mode and combined-paint transparency diagnostics, stable rule provenance, and bounded decoded-byte, token, object, issue, recursion and graphics-state work

Version 2.678.0

Added

  • Deepened bounded PDF/A-4 validation with cached ICC header and component checks, document and page output-intent consistency, actual painted device-colour and transparency analysis across content arrays, nested Form XObjects, images, image masks, shadings and annotation appearances, inherited graphics state, rendering-font embedding, CIDFont and CMap relationships, strict annotation flags and appearance states, UTF-8 XMP packet and namespace validation, logical page-tree locations, stable clause-aware diagnostics, and configurable decoded-byte and content-token ceilings

Version 2.677.0

Added

  • Completed bounded PDF/UA-2 document, human-readable string, optional-content, annotation, AcroForm, structure-destination, outline, embedded-file, and nested page-label validation, including physical ParentTree ownership, scalar structure children, appearance-stream restrictions, namespace-URI-based XMP properties, Unicode private-use detection, and clause-aware diagnostics; structured HTML, XHTML, XML, and JSON export now share a tagged-first accessible reading model with language, title, navigation, page labels, safe links, annotations, non-sensitive form controls, marked-content replacements, artifacts, image alternatives, geometric fallback, independent limits, cancellation, and atomic publication

Version 2.676.0

Added

  • Added bounded minimal byte-range planning for every page in a linearized PDF through PlanProgressiveLinearizedPageRanges, with raw and Flate primary or overflow hint decoding, interoperable byte-aligned combined and Annex F continuous split hint layouts, exact bootstrap, page, shared-group, and LF- or CRLF-prefixed traditional or stream cross-reference dependencies, legal short-read accumulation, a 256 MiB default planner-memory ceiling with fail-closed encoding disambiguation, overlap-aware merging, strict structural cross-checks, typed limits and availability diagnostics, and a unified [0, /E) first-page path

Version 2.675.0

Added

  • Added independent standards-conformant crypt-filter policies for strings, normal streams, and embedded files through ConfigureCryptFilterDefaults and SetStreamCryptFilter, including password and public-key reserved filters, /Identity, writer-correct password-security /EFF and leading /Crypt pipelines, fail-closed public-key stream-specific recipient boundaries, case-sensitive external named-filter loading and inspection, /CFM /None, V2 key-length reporting, mixed-policy Direct File fallback, split object-stream container and member-string policies, and policy-preserving encrypted incremental updates

Version 2.674.0

Added

  • Added credential-preserving Standard and public-key encrypted incremental updates through a password-aware BeginIncrementalUpdate overload and assigned recipient key material, with securely retained file keys or FEKs, separate string, stream, metadata, and Identity crypt-filter policies, generation-aware legacy object-key derivation, exact inherited /Encrypt references, byte-identical source revisions, original user, owner, or recipient access, and fail-closed rejection of encryption changes or unsupported heterogeneous filters

Version 2.673.0

Security

  • Added bounded JBIG2 segment-graph validation before full-page, region, native, or external decoding and before global-dictionary sharing, with indexed duplicate and missing-reference checks, iterative cycle and dependency-depth detection, embedded-stream page-association enforcement, forbidden segment rejection, long-reference and aggregate-edge budgets, symbol-dictionary allocation guards, and precise failure telemetry

Version 2.672.0

Added

  • Added PAdES E-EPES signature-policy-identifier generation and strict validation with explicit policy OIDs, known or ETSI unknown hashes, SPuri, SPUserNotice, and SPDocSpecification qualifiers, bounded Unicode and collection parsing, policy-document hashing, primary-signer OID and hash pinning before cryptographic work, dedicated mismatch statuses, and complete JSON reporting

Version 2.671.0

Added

  • Added deterministic RFC 5652 containers with up to 256 independent primary SignerInfo records through HPDFCMSBuildMultiSignedData and HPDFCMSMergeSignedData, including whole-batch prevalidation before signer side effects, per-signer attributes, algorithms, certificates and providers, strict definite-length container validation, DER-sorted and deduplicated sets, independent verification results, single-signer byte compatibility, and side-effect-free aggregate placeholder sizing

Version 2.670.0

Added

  • Added optional RFC 5652 SubjectKeyIdentifier signer identities through THPDFCMSSignOptions.SignerIdentifier, including compact IMPLICIT SID encoding, automatic SignerInfo and SignedData version selection, strict X.509 extension extraction, provider and placeholder-sizing support, and fail-closed SID, certificate, and version matching during verification

Version 2.669.0

Security

  • Added fail-fast CMS digest-algorithm consistency diagnostics across SignedData.digestAlgorithms, SignerInfo, signature mechanism parameters, and RFC 6211 CMSAlgorithmProtection, with dedicated verification status, validation failure code, timestamp propagation, detailed issue reasons, and JSON output

Version 2.668.0

Added

  • Added SHA3-256, SHA3-384, and SHA3-512 generation and verification across detached CMS, RSA PKCS#1 v1.5, RSA-PSS, ECDSA provider contracts, RFC 3161 content and signature timestamps, PAdES-LTA renewal, Seed Value dictionaries, and ISO 32001 PDF 2.0 developer-extension declarations, with bounded one-pass byte-range hashing shared with matching PDF MAC policies

Version 2.667.0

Added

  • Added THotPDF.ValidatePDFMACChain with oldest-to-newest incremental-revision validation, cumulative classic or xref-stream indexing, exact revision and xref failure locations, historical MAC replacement detection, stable KDFSalt enforcement, digest-strength downgrade rejection, authenticated /P and /Perms checks, preflight reporting, and bounded revision parsing without temporary PDF copies

Version 2.666.0

Added

  • Added THotPDF.SignPDFWithPFXAndAttachedPDFMAC and signature-attached validation with direct active-trailer AuthCode, indirect SigObjRef, complete signed-revision coverage, raw signature-value digest binding, SHA-2 or SHA-3 PDF MAC policies, one-pass signing and MAC range hashing, preflight reporting, and atomic output replacement

Version 2.665.0

Fixed

  • Corrected THotPDF.RegisterNChannelColorSpace to emit the ISO 32000-2 five-element DeviceN form with /Subtype /NChannel and process-component metadata, raised its minimum PDF version to 1.6, and made luminosity soft masks resolve NChannel paint through its alternate space while retaining read compatibility with legacy /NChannel family tokens

Version 2.664.0

Added

  • Completed PDF blend-mode rendering with integer hot-path implementations for Hue, Saturation, Color, and Luminosity, and corrected the full-opacity fast path so every active separable or non-separable blend mode composites against its backdrop

Version 2.663.0

Security

  • Authenticated PKCS#12 containers before exposing encrypted safe contents by verifying optional outer MacData with bounded PKCS#12 KDF iterations, SHA-1 or SHA-256 HMAC, constant-time digest comparison, and fail-closed wrong-password and tamper handling

Version 2.662.0

Added

  • Added three HotPDFCLI commands: render rasterises each selected page to <prefix>-page<N>.png through the loaded-page bitmap pipeline (--pages range, --dpi 10..2400, default 150), tables extracts typed tables to CSV or JSON via ExportLoadedTypedTables (--json, -o file or console) and compare prints the JSON comparison report of two documents through HPDFDocCompareDocuments (--mode 0..5 covering page-count, page-text, object-count, rendered-image, full and structural)

Fixed

  • Fixed the Win64 ICC transform pipeline producing all-zero output from 8-bit batch transforms (TransformBytes): the optimised 1D-LUT fast path inside the Win64 lcms2 objects returns zeroes while the generic resampling pipeline is correct, so the 8-bit transform now builds with cmsFLAGS_NOOPTIMIZE on Win64 only; the 16-bit single-colour path and all Win32 transforms keep the optimised fast path (batch sRGB primaries now round-trip on both platforms)

Version 2.661.0

Added

  • Added genuine budgeted Zopfli high-ratio Flate compression after the existing four-strategy zlib baseline, with strict no-growth selection, input, iteration, block, output, and elapsed-time limits, detailed stream and parallel-image telemetry, and deterministic fixed-corpus savings gates

Version 2.660.0

Added

  • Added deterministic XML machine-readable preflight reports and ABI-versioned trusted plugins for feature extraction and custom validation rules, with stable ordering, policy-bundle integration, cancellation propagation, fail-closed capability checks, and finite plugin, finding, feature, string, output, and elapsed-time budgets

Version 2.659.0

Added

  • Extended bounded XFA FormCalc with conditional logic, repeated numeric aggregates, and validated dynamic-instance callbacks, and added default-off sandboxed QuickJS form scripts with full control flow, native typed arrays, isolated data access, finite instruction, time, memory, stack, value, and instance-operation budgets, and execution telemetry

Version 2.658.0

Added

  • Added bounded editable XFA packet DOMs for complete XDP streams and ordered packet arrays with local-name path queries, packet and node mutation, exact untouched-byte preservation, per-packet selective rewriting, deterministic namespace and attribute output, safe CDATA splitting, entity escaping, and finite input, output, packet, node, depth, attribute, text, and query budgets

Version 2.657.0

Added

  • Added CSC API v2 remote signing through the existing CMS provider pipeline with application-owned transport, OAuth token refresh, bounded credential-chain discovery, explicit authorization and SAD handling, synchronous or asynchronous digest signing, RSA-PSS parameters, polling, RFC 3161 timestamps, cancellation, stable idempotency keys, and a finite completed-operation cache

Version 2.656.0

Added

  • Added optional content-scored XPS, EPUB, and CBZ document handlers with replaceable thread-safe registration, one validated archive scan, fixed-page, spine, and natural image ordering, immutable PDF conversion caching, shared archive, resource, reflow, page, pixel, DPI, output, and cancellation budgets, and rollback-safe PDF publication

Version 2.655.0

Added

  • Added bounded typed-table extraction and atomic CSV or JSON export with canonical columns, same-page fragment and consecutive-page merging, merged-cell spans, repeated headers, page geometry, confidence, provenance, and locale-controlled integer, number, boolean, date, date-time, currency, and percentage inference

Version 2.654.0

Added

  • Added atomic structured export of loaded pages to HTML, XHTML, XML, and JSON through one reading-order model with blocks, styled spans, detected tables, coordinates, source order, optional bounded PNG images, Unicode-safe escaping, cancellation, and finite resource budgets

Version 2.653.0

Added

  • Added atomic loaded-page colour rewrite to DeviceGray, DeviceRGB, or DeviceCMYK with searchable vector preservation, lossless colour-managed raster conversion for images and complex resources, rotation-safe output, explicit render fidelity and resource budgets, and preserve, process-convert, or reject policies for spot plates

Version 2.652.0

Added

  • Added review-first loaded-page redaction detection with checksum-aware PII patterns, pluggable entity and face detectors, confidence-scored page-space findings, bounded work telemetry, mandatory reviewer identity, atomic approved-annotation staging, and a separate explicit burn-in boundary

Version 2.651.0

Added

  • Added bounded loaded-page and region barcode decoding with pluggable engines, progressive low-resolution rendering, fallback quarter-turn scans, validated text and raw payloads, PDF-space bounds and orientation, confidence filtering, overlap deduplication, cancellation, and resource telemetry

Version 2.650.0

Added

  • Added bounded cancellable searchable OCR text layers with pluggable recognition engines, confidence and geometry validation, rotation-aligned invisible Unicode text, optional-content grouping, resource telemetry, and atomic multi-page publication

Version 2.649.0

Added

  • Added complete object graph round trips through versioned JSON with streaming snapshot and incremental exports, raw or decoded embedded and atomic sidecar payloads, bounded schema-compatible import, structural and stream-length validation, and transactional publication

Version 2.648.0

Added

  • Added bounded repair for hand-edited QDF diagnostic documents that preserves object and stream bytes, fixes direct, indirect, missing, or stale stream lengths, rebuilds classic cross-reference offsets and trailers, rejects unsafe structure, and verifies output through the normal loader

Version 2.647.0

Added

  • Added a thread-safe custom stream filter registry with bounded push and pull contracts, shared decode budgets, cooperative cancellation, explicit seek requirements, isolated custom failures, and execution telemetry

Version 2.646.0

Added

  • Added bounded content-operator visitor and event APIs with read-only operand views, deterministic state callbacks, inspect, measure, replace, delete, stop, and reject actions, cooperative cancellation, validated output, and atomic loaded-page updates

Version 2.645.0

Added

  • Added a pluggable loaded-page render backend contract with compiled display-list access, native GDI implementation, thread-safe parallel dispatch, deterministic fallback policy, cache invalidation, and execution telemetry

Version 2.644.0

Added

  • Added bounded layout overlap detection, element paths, opt-in source mapping, native vector overflow and overlap overlays, live diagnostic callbacks, and work statistics

Version 2.643.0

Added

  • Added native bounded vector charts with line, bar, area, pie, and scatter series, automatic or manual axes, themes, legends, labels, PDF/UA Figure alternatives, and render statistics

Version 2.642.0

Added

  • Added bounded GUI-thread RichEdit and RTF pagination with vector EMF output, images, opt-in supported OLE presentations, cancellation, stream-position preservation, and explicit input, character, page, and output budgets

Version 2.641.0

Added

  • Added bounded SVG 2 import as reusable PDF Form XObjects with native geometry and arcs, CSS cascade, vector gradients, clip and mask support, Base 14 text, opacity resources, placement-aware link annotations, and import statistics

Version 2.640.0

Added

  • Added a versioned HTML5 paged-media import profile with tolerant DOM parsing, print CSS cascade, paginated block and table layout, optional AcroForm controls, bounded callback-driven resources, and per-operation statistics

Version 2.639.0

Changed

  • Large local-file mappings now adapt the configured mapped-byte cap between larger sequential windows and up to 16 smaller MRU random-access windows, retain an explicit fixed-geometry option, and report active geometry, transitions, access-pattern counts, and peak mapped bytes

Version 2.638.0

Added

  • Added bounded cross-page JBIG2 symbol training with external and native backends, one shared global dictionary, exact duplicate-page reuse, direct PDF image-batch insertion, backend and size telemetry, and measured 78.8 percent compression savings on the 100-page regression corpus

Version 2.637.0

Changed

  • Parallel loaded-page rendering now reduces requested workers from the process-wide memory budget, reserves every claimed page, retains ordered-output reservations through callback delivery, wakes budget waiters on cancellation or failure, and reports concurrency, reservation, admission, delay, and wait telemetry

Version 2.636.0

Changed

  • Loaded-page prefetch now compiles and renders outside the cache lock, cancels cooperatively through tokenization and playback, yields to foreground page rendering, and exposes progress, failure, preemption, and cancellation-latency telemetry

Version 2.635.0

Added

  • Added ordered streaming parallel page rendering with calling-thread callbacks, a bounded completed-bitmap queue, producer backpressure, cooperative cancellation, borrowed bitmap lifetimes, and queue, byte, wait, completion, and delivery telemetry

Version 2.634.0

Added

  • Added a two-stage parallel loaded-page pipeline that compiles display lists outside the render-cache lock, starts playback before the full page set is compiled, dynamically balances bounded workers, preserves input order, reduces content-token allocation, and exposes stage, cache, completion, and latency telemetry

Version 2.633.0

Added

  • Added immutable reference-counted decoded bitmap handles with copy-free cache hits, direct thread-safe renderer drawing, isolated mutable copies on demand, eviction-independent lifetimes, and cumulative handle and copy telemetry

Version 2.632.0

Changed

  • QuickJS execution now works through both static objects and an ABI-neutral bridge DLL on Win32 and Win64, with Unicode-safe values, deterministic status reporting, configurable memory, stack, script, time, and interrupt limits, secure DLL discovery, recovery after rejected scripts, and reproducible cross-platform runtime builds

Version 2.631.0

Changed

  • Factur-X and ZUGFeRD business-rule validation now executes the complete reviewed XPath 2 Schematron surface with external code databases, sequential bindings, quantifiers, FLWOR sums, stable fallback rule identifiers, secure bounded XML parsing, explicit evaluation-error findings, zero silent skips, and fail-closed combined validation

Version 2.630.0

Added

  • Added built-in TrueType variable-font instancing with mapped axes, shared and private gvar tuples, IUP interpolation, simple and composite outline updates, phantom-point metrics, HVAR, VVAR, and MVAR baking, compact static glyph rebuilding, checksum-correct output, and callback-free Unicode font registration

Version 2.629.0

Added

  • Added side-effect-free CMS placeholder estimation from explicit, provider, or RSA certificate signature sizes, exact static container shaping, conservative dynamic payload reserves, pre-sign rebuilds, capability-gated provider retries, strict external-signer single-invocation guarantees, bounded sizing, and detailed attempt diagnostics

Version 2.628.0

Added

  • Added reachability-based subsetting of fonts embedded in loaded PDFs, including page content, nested Form XObjects, annotation appearance states, shared font programs, TrueType and CFF formats, encoded-size selection, stable CID and ToUnicode mappings, detailed results, and default refusal when signatures are present

Version 2.627.0

Added

  • Added automatic PDF/UA structure generation for declarative layout trees, including headings, lists, tables, figures, language and alternate-text metadata, pagination artifacts, continuation-safe marked-content references, reading-order preservation, semantic validation, and structure statistics

Version 2.626.0

Added

  • Added a declarative document DOM with inheritable styles, reusable component factories, text, spacers, stacks, containers, sections, repeated headers and footers, weighted tables with repeating header rows, bounded continuation depth, pagination statistics, non-copying text and table fragments, linear top-level traversal, immediate page flushing, and matching Delphi and C++Builder surfaces

Version 2.625.0

Added

  • Added a repeatable Win32 and Win64 statistical performance gate that isolates load, save, render, and text extraction, records warmups and 30 raw samples with p50, p95, sample variance, RSS, process I/O, environment, and deterministic fixture identity, then evaluates stable JSON thresholds and returns a failing exit code on regression