PDFium Delphi Component Release Notes
Version history for PDFium Delphi Component user-visible features, fixes, viewer improvements, document generation, PDF/A output, rendering, and documentation updates
Note: Only the change records of the latest 2000 versions are kept
Last release
- Latest version: 3.434.24; Released on:
Version 3.434.24
Fixed
- The C++Builder
ExtractTextdemo now closes the temporary UTF-8 output stream before callingMoveFileExto replace the target.txtfile, preventing a sharing violation on extraction - C++Builder demos now compile with the classic
bcc32compilers:try/__finallyblocks in value-returning helpers give way to RAII guards, local C++98 structs inMergePDFandSplitPDFno longer reach private host members, the C++11 lambda inAccessibilityLabhas been replaced, andTPdf.RenderPageresults are checked fornil/NULLacrossAccessibilityLab,BatchExportandPDFtoJpg - GUI demo interactions now work as intended across Delphi, Lazarus and C++Builder:
SplitViewzooms View 1 independently of the active-view toolbar zoom, offsets views when the bookmark tree is visible, switches focus to View 2 when View 3 is hidden and syncs bookmark selection on page navigation;MultiPageViewerresets active search highlights when loading a new file;FormFillclears the field editor when opening a document without AcroForm fields;SearchAndSelectclears stale matches when the case or whole-word checkboxes are toggled;PrintPDFrestores the previewed page after printing and clamps copy counts; andContentExtractionLab,MultiPageViewerandSearchAndSelectfall back to generated samples shouldPDFiumDemoShowcase.pdffail to open PreflightReportCli,AccessibilityWorkbenchCliandIntakeWorkbenchClinow reject therecursiveoption in list-filebatch=mode and accept-valongsideversionand--versionwhen invoked as a single argument, across Delphi, Lazarus and C++Builder
Version 3.434.23
Fixed
- PAdES signature transform parsing now decodes
#xxhex escapes in transform method and action names and scansFieldMDP/Fieldsarrays on the string-masked image so field names containing]no longer truncate the array, whilst LTV evidence collection now advances past inline/VRIdictionaries and reads trailer references before expanding object streams - PDF/E, PDF/X, PDF/VT and PDF/VT-2s MIME XMP property readers now recognise XMP element tags that carry inline XML or namespace attributes on the opening tag, and PDF/E annotation flag validation now matches compact
/Type/Annotentries - PDF/VT validation now resolves indirect
/DPMdictionaries and skips string literals and comments inside DPM payloads, uses top-level dictionary key lookup across DPart and Info dictionaries (including hex-encoded/ModDatestrings and#xx-escaped/Trappednames), and expands object streams when inspecting PDF/VT-2s external file references regardless of/FSand/Fkey order - Tagged redaction MCID rewriting now skips string literals, hex strings and comments in content streams; PDF/R validation now detects
/Previn compact/Type/XRefcross-reference streams and uses top-level key lookup on/Encryptand/Metadata; and static XFA flattening now resolves indirect/XFApacket arrays and ignores trailing text after the root XML element closes
Version 3.434.22
Fixed
- PDF/A validation now recognises compact dictionary name pairs (including
/Type/Page,/Type/Filespec,/Type/FontDescriptor,/Subtype/Image,/Subtype/Form,/Subtype/TrueType,/Subtype/Type0and/S/Trans) and leading PDF comments on PDF/A-4 objects so page-level, font, image, embedded-file and action checks are no longer skipped when dictionaries omit optional spaces before slash-delimited values - PDF/UA validation now locates
/ParentTreebefore scanning/Numsarrays and accepts compact/Nums[,/Differences[,/Subtype/TrueType,/Type/FontDescriptor,/Type/MediaClipand action/Sentries
Version 3.434.21
Fixed
ReadPdfPortfolioandWritePdfPortfolionow verify that every column listed in a multi-columnSortFieldsarray is defined in the portfolio collection schema instead of checking only the primary sort column or accepting a sort array when only one of its columns exists- Document asset stream reading now verifies that a valid
endstreamdelimiter follows the declared/Lengthspan before staging stream bytes - Structure editing, document asset inspection, text repair, font subsetting and colour conversion now skip PDF comments (
%...) before object dictionaries and between dictionary closing>>tokens andstreamkeywords so commented indirect objects no longer shift dictionary or stream offsets
Version 3.434.20
Fixed
- Saving an unencrypted PDF 1.x document or removing document security via
TPdf.SaveAsno longer rewrites the file header to%PDF-2.0when an uncompressed stream or metadata string happens to contain the literal text/AESV4, and header scanning now operates directly on raw bytes without code-page conversion TPdf.GenerateFormAppearancesandTPdf.FlattenAllPagesnow suppress intermediate page-change notifications and page open/close actions whilst iterating across pages, andFlattenAllPagesnow invalidates cached page scenes and link caches on every flattened pageTPdf.ValidatePdfUanow detects Link annotations written with compact/Subtype/Linksyntax or non-space whitespace delimiters when checking whether document links are represented in the structure tree- Optional-content group names, outline titles and merged form choice options now decode BOM-less PDF text strings through
PDFDocEncodinginstead of the active system ANSI code page and support UTF-16LE BOM strings - Promoting a chained
/Nextaction during PDF merge now strips action-specific keys belonging to the dropped primary action (such as a dangling/Ddestination array when promoting a/URI,/Launchor/Namedaction), and structure-node semantic replacement now accepts valid tagged structure elements that omit the optional/Type /StructElementry
Version 3.434.19
Added
- PDF/UA-1 validation now checks table-of-contents containment: a
TOCIoutside aTOC, aTOCholding a child other thanTOC,TOCIorCaption, and aCaptionthat is not the first child of itsTOCare all reported underpvuaiListStructureInvalid. The three tests read the active structure tree, so aCaptioncarrying no page content is judged as well
Fixed
- PDF/UA-1 validation no longer reports a conformant document whose
Lblstructure element sits outside anLIitem: ISO 14289-1 lays down no parent requirement for aLbl, since its onlyLblrule constrains what anLImay contain, so a label nested under aLinkinside a table-of-contents entry was rejected.Lblplacement is still judged for PDF/UA-2
Version 3.434.18
Fixed
- PDF/UA-1 validation no longer reports a conformant Figure or Formula whose replacement text is an empty
/ActualText ()string: ISO 14289-1 §7.3/1 and §7.7/1 testActualTextfor presence but requireAltto be non-empty, whilst the structure-element snapshot reads both through text getters that return an empty string for an absent key and for a present-but-empty one alike. The finding is now confirmed against the element dictionaries, so an empty/ActualText ()conforms whilst an empty/Alt ()is still reported. PDF/UA-2 §8.2.5.28.2/1 tests presence of either key and is unchanged
Version 3.434.17
Fixed
- PDF/UA-1 validation now judges annotations in documents that use the compact name spellings ISO 32000-1 permits: the §7.18.5 Link check and the §7.18.1 general-annotation check searched for the literal
/Subtype /Linkand/Subtype /forms, so a document writing/Subtype/Linkwas skipped and its annotations went unreported. This reached every document saved by the component, because the engine writes name tokens with no separating space. Both scans now read the/Subtypekey token and its value name, and the PDF/UA-2 §8.9.2.4.10/1 file-attachment check reads its subtype in the same way - PDF/UA-1 validation now treats an empty
/Contents ()as a missing alternate description: §7.18.1/2 and §7.18.5/2 require the decoded string to be non-empty, so a Link or any other annotation carrying only an empty/Contentsis reported rather than passed. The PDF/UA-2 §8.10.2.3/1 widget rule tests key presence only and is unchanged
Version 3.434.16
Fixed
- PDF/UA-2 validation now also judges widget annotations written with the compact name spellings ISO 32000-1 permits, in both directions: the §8.10.2.3/1 check looked for the literal
/Subtype /Widget, so a file writing/Subtype/Widgetwas skipped outright and an unlabelled widget lacking/Contentswent unreported, whilst its label exemption looked for the literal/S /Lbl, so a label written/S/Lblwas not recognised and a labelled widget could be reported. Both now read the key token and its value name, so two documents differing only in name spelling no longer receive different verdicts
Version 3.434.15
Fixed
- PDF/UA-2 validation now also judges documents using the compact name spellings ISO 32000-1 permits: the §8.2.5.20/2 Link-target check looked for the literal
/Subtype /Linkand/Nums [, so a file writing/Subtype/Linkor/Nums[was skipped outright and its Link annotations were never compared. The scan now reads the/Subtypekey token and its value name, anchored on the key so that a structure element’s/S /Linkis still not mistaken for an annotation
Version 3.434.14
Fixed
- PDF/UA-2 validation no longer reports a conformant document whose Link annotations reach a single structure destination by way of different action objects: the §8.2.5.20/2 check compares the structure destination itself — taking a
GoToaction’s/SD(or its/Dwhere no/SDis present) and resolving the destination array to the structure element it names — in place of comparing the object number of the action that carries it. A destination naming a page rather than a structure element plays no part in the comparison, and an inline action dictionary is read alongside an indirect one
Version 3.434.13
Fixed
- PDF/A-1 validation now judges camera raw settings (
crs), Exif auxiliary (aux) and dynamic media (xmpDM) properties against the XMP 2004 schema set that ISO 19005-1 builds on, so such a property needs its own extension schema description even when the packet already describes other schemas such aspdfaid, and is reported as undeclared when it has none; PDF/A-2 and PDF/A-3 keep treating these schemas as predefined
Version 3.434.12
Fixed
- PDF/A validation now reads extension schema descriptions written in the
rdf:parseType="Resource"short form after an XMP read-modify-write round trip, recognising field elements whose start tags carry attributes such as namespace declarations, so the custom properties a schema declares (for example a Factur-Xfxschema) remain recognised as declared
Version 3.434.11
Fixed
- XMP packets now keep the source
rdf:parseTypeof every value through a read-modify-write round trip:LiteralandCollectionare no longer rewritten toResource, and an emptyResourceitem no longer degrades to a plain literal; values without the attribute still get the inferredrdf:parseType="Resource"short form
Version 3.434.10
Fixed
- The
PrintPageRangesproperty now returns the page numbers exactly as authored in/PrintPageRange: ISO 32000-1 Table 150 numbers the first page 1, so spec-compliant files no longer come back one page too high - PDF/A validation now matches an extension schema declaration whose
namespaceURIis written without the trailing#against a property namespace URI that carries it, the same tolerance already applied toxmlnsbindings
Version 3.434.9
Fixed
- PDF/UA validation now reports a text-showing operator that references the .notdef glyph in a CID-keyed font, for both PDF/UA-2 and PDF/UA-1, by inspecting the decoded /Contents streams of every page
- Fixed a compile error in the Delphi Win64 build: the shared PdfSkipWsAndComments helper used by the production unit is exported from FPdfPdfCommon again
Version 3.434.8
Fixed
- Fixed GUI demo edge cases across Delphi, Lazarus, and C++Builder:
TableExtractionLabnow falls back cleanly to paragraph extraction when no table is detected on a page;ContentExtractionLabvalidates custom search queries against actual page hits before advancing to a fallback query;SecurityAuditandViewerInteractionLabinitialise password state, form fill callbacks, and search/viewer synchronisation consistently across toolchains;XfdfLabandXfaLabvalidate temporary workspace paths and reset preview/export controls on reload; andSplitView,PDFViewer,MultiPageViewer,AccessibilityReader,BatchExport,Attachment,ImageToPDF,ExtractImages,ExtractText, andPDFtoJpgguard page bounds, password retry loops, and empty document states
Version 3.434.7
Fixed
- Three-platform CLI workbenches (
PreflightReportCli,AccessibilityWorkbenchCli, andIntakeWorkbenchCliacross Delphi, Lazarus, and C++Builder) now track explicit password assignment sopassword=is not overwritten by subsequent positional arguments and reject the batch-onlyrecursiveflag in single-file mode instead of treating it as a password IntakeWorkbenchClinow clears any previously loaded candidate list before reading a newpasswords=file and resetscopyto=state on C++Builder entry- C++Builder
AccessibilityWorkbenchCliandIntakeWorkbenchClinow match the Delphi and Lazarus implementations for detail-list truncation markers, form-field and standards labels, thumbnail width rounding, full HTML/text report sections, canonical path deduplication, and zero-argument sample generation
Version 3.434.6
Fixed
- Fixed
ValidatePadesComplianceandPadesEsicExtensionLevelinFPdfPadesandFPdfPadesLtvso indirect/Extensionsand/ESICdictionaries or arrays stored inside compressed object streams are resolved through the object-stream-expanded lookup buffer rather than the raw byte stream, top-level dictionary key scanning inExtractArrayBodyFromDictandExtractOptionalDictionaryno longer matches identically named keys inside nested sub-dictionaries, andPadesDictValueNonEmpty/PadesDictIntegerValueinspect values starting immediately after the key token without skipping adjacent delimiter characters - Fixed
ValidatePadesTrustandInjectPadesDssMarkersinFPdfPadesLtvso structural integrity failures detected during compliance pre-checks and invalid/ByteRangespans on document timestamps whenCheckTimeStampsis disabled are preserved inResult.IntegrityStatus, and DSS marker injection preserves non-/ESICcatalog developer extensions and existing higher/ExtensionLevelvalues - Fixed
ParseTsaUrlinFPdfTsaWinto reject URLs exceeding 8,192 characters, URLs containing control characters, spaces, backslashes, or fragments, and authority components containing userinfo (@), matching the FPC and POSIX TSA URL parsers
Version 3.434.5
Fixed
- Merged source
/Infotext fields and calendar-validated literal or hexadecimal dates intoTPdfASaveOptionsbefore building XMP packets for PDF/A-1, PDF/A-2, and PDF/A-3 inFPdfPdfa, appliedPdfApplyInfoTextEntrieswhen writing PDF/VT/Infodictionaries inFPdfPdfvtEngine, continued scanning past self-closing tags inFPdfPdfrEngine.XmpElementText, and resolved indirect/XFApacket arrays inFPdfProduction
Version 3.434.4
Fixed
- Preserve raw UTF-8 octets in
StringToUtf8,TDerWriter.Utf8String,FPdfXfdf, andFPdfCompress.OcBytesToWideStringon Delphi Unicode without ANSI codepage narrowing, reject unpaired UTF-16 surrogates inTDerWriter.Utf8String, avoid matchingxmlns:*declarations inXfdfFindAttr, emit standard/OCGsand/CreatorInfokeys inCreateOptionalContentPdfStream, follow indirect/APstate subdictionaries inFPdfRedaction, and check source widget child counts inFPdfFormGraft
Version 3.434.3
Fixed
- Deduplicate staged object updates and preserve structure-element generation numbers in
FPdfDocumentAssets, propagate inherited active fonts into Form XObjects duringFPdfDocumentFontSubsetusage collection, and validate converted inline-image buffer geometry and outline item generations inFPdfDocumentColour
Version 3.434.2
Fixed
- Resolve indirect
/Contentsarrays inFPdfDocumentTextRepairandFPdfDocumentStructure, walk inherited/Resourcesand indirect/XObjectdictionaries inPageIndexOfResource, and ignore non-target or/OCnamedBDCoperators duringActualTextcontent stream repair
Version 3.434.1
Fixed
- PDF/UA validation now checks the glyph names in a TrueType font's Differences array against the Adobe Glyph List and the embedded font program's Microsoft Unicode cmap subtable, so a font using an unknown glyph name is reported instead of accepted. The shared Adobe Glyph List now includes the reserved .notdef name
Version 3.434.0
Added
- On OpenBSD, FPC now accepts fixed IPv4 and IPv6 addresses for retrieving LDAPS and StartTLS certificates and CRLs. Before a bind or a search is sent, the client verifies the original LDAP host name and the certificate chain
Version 3.433.0
Added
- On NetBSD and DragonFly BSD, FPC now accepts fixed IPv4 and IPv6 addresses for retrieving LDAPS and StartTLS certificates and CRLs. Before a bind or a search is sent, the client verifies the certificate chain and the original LDAP host name
Version 3.432.1
Fixed
- PDF/UA-2 validation now reports destinations that are not structure destinations, Invisible annotations that are not artefacts, and Form elements that carry more than one widget annotation
Version 3.432.0
Added
- On FreeBSD, FPC now accepts fixed IPv4 and IPv6 addresses for retrieving LDAPS and StartTLS certificates and CRLs. Before binding or searching, the client checks the certificate chain and the original LDAP host name
Version 3.431.90
Fixed
- PDF/UA-2 validation now reports widget annotations that carry neither a label structure element nor a Contents entry, as well as file attachment annotations whose file specification carries no AFRelationship entry
Version 3.431.89
Fixed
- PDF/UA validation now applies the language-tag grammar of ISO 14289-2 8.4.4 and ISO 14289-1 7.2 to /Lang entries, so an overlong or malformed tag such as portugues-pt is reported rather than accepted
Version 3.431.88
Fixed
- PDF/UA-2 table regularity is now judged against ISO 14289-2 8.2.5.26 from the active structure tree, so an empty cell that carries ColSpan or RowSpan attributes no longer makes a conformant table look irregular
Version 3.431.87
Fixed
- PDF/UA-2 validation now enforces ISO 14289-2 8.2.5.2 from the active structure tree: the StructTreeRoot must hold exactly one root-level Document child in the PDF 2.0 namespace
- PDF/UA-2 Link annotations that point at different locations yet share one Link or Reference structure element are now reported against ISO 14289-2 8.2.5.20/2
Version 3.431.86
Fixed
- PDF/UA-2 Formula validation no longer demands that a Formula element carry Alt, ActualText or an associated file, and now applies the ISO 14289-2 8.2.5.29 parent rule to math structure elements identified by their /S /Math role
Version 3.431.85
Fixed
- PDF/UA-2 table grid validation no longer rejects a conformant table over a single dangling Headers reference while other header IDs are defined; pvuaiTableHeadersUndefinedId still covers that condition
Version 3.431.84
Fixed
- PDF/UA-2 validation no longer applies the PDF/UA-1 Link annotation /Contents requirement of ISO 14289-1 7.18.5, which ISO 14289-2 does not impose; PDF/UA-1 validation still reports a Link annotation without /Contents
Version 3.431.83
Fixed
- PDF/UA-2 Figure validation follows ISO 14289-2 8.2.5.28.2: a Figure that carries an /Alt or /ActualText key is accepted even where the value is empty, whilst a Figure with neither key is still reported
Version 3.431.82
Fixed
- PDF/UA-2 validation no longer raises namespace findings on conformant documents that combine the default and the PDF 2.0 structure namespaces, whilst still checking the ISO 14289-2 8.2.4 role-mapping rules
Version 3.431.81
Fixed
- PDF/UA-2 validation uses the active structure tree to check declared namespaces and to follow role mappings across namespaces, including mappings that pass through intermediate roles. Where the tree cannot be read within the inspection limits, validation falls back to the page snapshot
Version 3.431.80
Fixed
- PDF/UA-2 namespace validation accepts standalone PDF 1.7 structure types in the default namespace, and checks shared types once explicit namespace evidence establishes mixed use
Version 3.431.79
Added
- Detailed vector redaction can preserve unaffected pattern fills and strokes even where both occur in one isolated graphics state. The retained paths keep their separate fill and stroke patterns
Version 3.431.78
Added
- Detailed vector redaction can keep consecutive unaffected pattern strokes that share an isolated graphics state. Supported pattern switches between those strokes survive into the output
Version 3.431.77
Added
- Detailed vector redaction can retain unaffected pattern fills in isolated page content where their paths combine straight segments and cubic Bézier curves. The surviving fill keeps its original path and pattern
Version 3.431.76
Added
- Detailed vector redaction can retain eligible dashed pattern strokes built from several subpaths in isolated page content. The preserved strokes keep their dash settings across the retained subpaths
Version 3.431.75
Added
- Detailed vector redaction can retain eligible, disjoint pattern strokes made of lines and cubic Bézier curves in isolated page content. The surviving paths keep their original shape and stroke pattern
Version 3.431.74
Added
- Detailed vector redaction can retain disjoint rectangular pattern strokes in isolated page content. Rectangles that can be retained keep their patterned outlines
Version 3.431.73
Added
- Detailed vector redaction can retain clipping paths whose line or cubic Bézier subpaths the PDF fill rule closes implicitly. Surviving content stays inside the clip even where the source path carries no explicit closing operator
Version 3.431.72
Added
- Detailed vector redaction can retain clips with an explicit line or cubic Bézier segment that returns to the start of the contour
Version 3.431.71
Added
- Detailed vector redaction can retain pattern fills under cubic Bézier clips where the original filled area contains every redaction region
Version 3.431.70
Added
- Detailed vector redaction can retain pattern fills under self-crossing straight-line clips where the filled area covers each redaction region
Version 3.431.69
Added
- Detailed vector redaction can retain pattern fills under intersecting straight-line clipping contours where the combined fill covers each redaction region
Version 3.431.68
Added
- Detailed vector redaction can retain eligible pattern fills beneath concave or multi-contour clips formed from straight segments. The output respects the original clipping contours
Version 3.431.67
Added
- Detailed vector redaction can retain pattern fills under persistent convex polygon clips, including clips that inherit an affine transform that replays exactly
Version 3.431.66
Added
- Detailed vector redaction can retain pattern fills under rectangular clips with an inherited affine transform that can be reproduced exactly. The clip keeps its transformed position in the output
Version 3.431.65
Added
- Detailed vector redaction can retain pattern fills in a later page content stream whilst a rectangular clip established in an earlier stream is still active. The retained fill stays clipped to that rectangle
Version 3.431.64
Added
- Detailed vector redaction can retain rectangular pattern fills across stream boundaries with exactly replayable affine transforms, including supported scaling and rotation
Version 3.431.63
Added
- Detailed vector redaction can retain rectangular pattern fills that inherit bounded fractional translations in sixteenths of a PDF user-space unit
Version 3.431.62
Added
- Detailed vector redaction can retain eligible rectangular pattern fills where a preceding content stream establishes a bounded integer translation. The surviving fill keeps its translated page position
Version 3.431.61
Added
- Detailed vector redaction can retain disjoint rectangular shading or tiling pattern fills across several isolated page content streams
Version 3.431.60
Added
- Detailed vector redaction can retain disjoint rectangular shading or tiling pattern fills in a later content stream once preceding streams restore their graphics state
Version 3.431.59
Added
- Detailed vector redaction can retain several disjoint rectangular shading or tiling pattern fills in the first isolated content stream of a redacted page, given the matching native module
Version 3.431.58
Added
- Detailed vector redaction can retain a disjoint rectangular pattern fill in the first isolated content stream of a redacted page, given the matching native module
Version 3.431.57
Added
- Detailed vector redaction can preserve pattern paint on eligible unmodified pages whilst pruning Type 3 glyphs on other pages
Version 3.431.56
Added
- Detailed vector redaction preserves eligible tiling patterns in annotation-only appearances whilst checking their Type 3 glyph references
Version 3.431.55
Added
- Detailed vector redaction can prune eligible Type 3 glyphs whilst preserving shading patterns in annotation-only appearances
Version 3.431.54
Added
- Detailed vector redaction prunes font-level colour and alpha entries that only removed glyphs use, in eligible shared Type 3 fonts
Version 3.431.53
Added
- Detailed vector redaction prunes eligible shared Type 3 fonts whose glyphs rely on font-level device colour and constant alpha resources
Version 3.431.52
Added
- Detailed vector redaction strips glyph-local device colour and constant alpha resources when it prunes eligible shared Type 3 fonts
Version 3.431.51
Added
- Detailed vector redaction removes unused CharProc streams from eligible shared Type 3 fonts whilst retaining the other glyphs
Version 3.431.50
Added
- Detailed vector redaction can remove several intersecting Type 3 text objects that share a font or glyph resources
Version 3.431.49
Added
- Detailed vector redaction preserves qualified Type 3 glyph paths that carry font-local or glyph-local constant alpha graphics states
Version 3.431.48
Added
- Detailed vector redaction preserves character spacing, word spacing and kerning in supported Type 3 text. Retained glyphs keep their spacing in the output
Version 3.431.47
Added
- Detailed redaction can retain or remove supported Type 3 text in vector documents where the text uses no glyph clipping. Text outside the redaction can stay in the vector output
Version 3.431.46
Added
- Detailed redaction supports device colour aliases in Type 3 glyph stream resources, including aliases that override a font-local definition
Version 3.431.45
Added
- Detailed redaction supports Type 3 glyphs whose font-local device colour aliases sit in indirect resource dictionaries
Version 3.431.44
Added
- Detailed redaction supports filled Type 3 glyph paths that use inline font-local device colour aliases during glyph clip rewrites
Version 3.431.43
Added
- Detailed redaction preserves or removes qualified Type 3 text in expanded nested Form XObjects during glyph clip rewrites
Version 3.431.42
Added
- Detailed redaction can remove an intersecting Type 3 text show and revoke its font and glyph programs during a supported glyph clip rewrite
Version 3.431.41
Added
- Detailed redaction retains qualified Type 3 text outside redaction regions on the same page as supported glyph clip and Form rewrites
Version 3.431.40
Added
- Detailed redaction preserves separate Type 3 text pages whilst rewriting supported glyph clips in nested and reused Form XObjects on other pages
Version 3.431.39
Added
- Detailed redaction can preserve separate Type 3 text pages when supported glyph clips elsewhere in a document without Form XObjects are rewritten
Version 3.431.38
Added
- Detailed redaction handles hexadecimal strings and
TJspacing arrays in supported glyph-clipping text. Both PDF text forms can keep their clipping behaviour through vector redaction
Version 3.431.37
Added
- Detailed redaction retains qualified stroked text with glyph clipping, fill-and-stroke text included, and trims the saved clip around the redaction
Version 3.431.36
Added
- Detailed redaction supports qualified fill-and-clip text, preserving visible glyphs outside the cut and removing sensitive geometry from the saved glyph clip
Version 3.431.35
Added
- Detailed redaction preserves supported glyph clips in nested and reused Form XObjects, trimming each instance in page coordinates
Version 3.431.34
Added
- Detailed redaction supports qualified page-local clip-only text with the matching native module, replacing source text with path clips trimmed around redaction regions
Version 3.431.33
Added
- Detailed redaction accepts an unused text clipping mode where a local graphics-state restore returns to a nonclipping mode before any glyph is shown
Version 3.431.32
Added
- Detailed redaction accepts unused text clipping modes where a verified reset in the same content stream happens before any glyph is shown
Version 3.431.31
Added
- Detailed redaction preserves more of a supported solid straight stroke that carries no source path clip by cutting its painted outline, transformed width, caps and joins included
Version 3.431.30
Added
- Detailed redaction preserves supported paths that combine opaque fill and stroke. The retained fill keeps its original rule and paints beneath the rebuilt stroke
Version 3.431.29
Added
- Detailed redaction preserves butt and projecting square caps on supported solid and dashed cubic Bézier strokes
Version 3.431.28
Added
- Detailed redaction preserves bevel and supported mitre joins at the original vertices of qualified cubic Bézier strokes
Version 3.431.27
Added
- Detailed redaction preserves supported dashed cubic Bézier strokes with round caps and joins, strokes under a path clip included
Version 3.431.26
Added
- Detailed redaction preserves supported solid cubic Bézier strokes with round caps and joins, strokes under a path clip included
Version 3.431.25
Added
- Detailed redaction preserves supported opaque cubic Bézier fills under path clips. It subtracts the redaction area from the rebuilt paint and retains the original clip where supported
Version 3.431.24
Added
- FPC on macOS supports pinned LDAPS and StartTLS certificate and CRL retrieval with a compatible OpenLDAP dylib, validating the original origin name
Version 3.431.23
Added
- FPC on macOS supports plain LDAP certificate and CRL retrieval through explicitly pinned IPv4 or IPv6 origins
Version 3.431.22
Added
- Detailed redaction preserves supported path-clipped Indexed images whose complete palette is stored as an indirect string
Version 3.431.21
Added
- Detailed redaction preserves supported path-clipped Indexed images with explicit Decode endpoints inside the palette index range
Version 3.431.20
Added
- Detailed redaction preserves supported path-clipped Indexed images where the complete palette stream is unfiltered or Flate-compressed. Retained pixels keep the colours that palette supplies
Version 3.431.19
Added
- Detailed redaction preserves supported path-clipped Indexed images with inline DeviceGray or DeviceRGB palettes whilst clearing their redacted colour and alpha samples
Version 3.431.18
Added
- Detailed redaction preserves supported path-clipped DeviceRGB images at 1, 2 or 4 bits per component and clears their redacted colour and alpha samples
Version 3.431.17
Added
- Detailed redaction preserves decoded colours in supported path-clipped DeviceGray and DeviceRGB images with explicit Decode arrays
Version 3.431.16
Added
- Detailed redaction preserves supported path-clipped 1-, 2- and 4-bit DeviceGray images whilst clearing the original colour and alpha samples in the redaction area
Version 3.431.15
Added
- Detailed redaction preserves supported horizontal invisible and stroked text that carries no path clip, using the original glyph codes and positions
Version 3.431.14
Added
- Detailed redaction retains supported clipped horizontal stroke and fill-and-stroke text, allowing for stroke extents when it removes glyphs
Version 3.431.13
Added
- Detailed redaction retains supported clipped horizontal invisible text whilst removing the original codes of redacted glyphs
Version 3.431.12
Added
- Detailed redaction retains supported clipped polyline miter joins with the original miter limit, provided the native module exports the limit reader
Version 3.431.11
Added
- Detailed redaction preserves eligible strokes whose even-length dash arrays contain zero-length gaps. Retained portions keep their original dash pattern
Version 3.431.10
Added
- Detailed redaction preserves supported dashed strokes with a negative dash phase by resolving it to the equivalent position in the dash cycle
Version 3.431.9
Added
- Detailed redaction preserves supported closed dashed polylines, the closing edge and the dash caps at the closure included
Version 3.431.8
Added
- Detailed redaction preserves supported dashed open polylines, including joins that a dash crosses and caps where a dash ends at a vertex
Version 3.431.7
Added
- Detailed redaction retains supported dashed straight subpaths that carry no cropping clip, preserving the original phase and caps outside the redaction area
Version 3.431.6
Added
- Detailed redaction retains several supported subpaths in a clipped stroke object and restarts the dash phase for each independent dashed straight subpath
Version 3.431.5
Added
- Detailed redaction retains supported clipped single-segment dashed strokes with the original dash phase and end caps
Version 3.431.4
Added
- Detailed redaction retains clipped closed polylines with solid, opaque bevel or round joins, the join at the closing vertex included
Version 3.431.3
Added
- Detailed redaction retains round joins and round caps on supported clipped open polylines within the configured curve tolerance and geometry budgets
Version 3.431.2
Added
- Detailed redaction retains clipped open polylines with solid, opaque bevel joins and butt or projecting square caps
Version 3.431.1
Added
- Detailed redaction retains round caps on supported clipped single-segment strokes within the configured curve tolerance and geometry budgets
Version 3.431.0
Added
- FPC LDAP retrieval on Linux can connect to a pinned IPv4 or IPv6 address whilst validating LDAPS and StartTLS certificates against the original origin
Version 3.430.0
Added
- Certificate retrieval on Windows supports LDAP and LDAPS origins with explicit IPv4 or IPv6 connection addresses, and preserves the original hostname for certificate validation
Version 3.429.0
Added
- Certificate retrieval on Windows can pin HTTP(S) origins to explicit IPv4 or IPv6 addresses through WinHTTP whilst retaining the original request hostname
Version 3.428.0
Added
- Certificate retrieval on Unix with FPC can bind allowed HTTP(S) origins to explicit IPv4 or IPv6 addresses whilst retaining the original HTTP and TLS hostname
Version 3.427.0
Added
- Certificate retrieval accepts bracketed IPv6 origins and matches equivalent address spellings. LDAPS on Windows verifies IPv6 subject alternative names against the configured address
Version 3.426.0
Added
- Online certificate retrieval can require explicitly allowed numeric IPv4 origins, binding requests to the configured address and port without resolving a host name
Version 3.425.0
Added
- Online certificate retrieval supports HTTP(S) and LDAP origins configured by the caller. An empty list denies requests. Native system verification needs explicit unrestricted mode before it can fetch online
Version 3.424.35
Added
- Detailed redaction retains path clips on supported horizontal fill text, using the original codes and positions of the retained glyphs
Version 3.424.34
Added
- Detailed redaction retains original path clips on supported straight strokes with butt or projecting square caps. It subtracts redaction regions from the painted outline before restoring the clip
Version 3.424.33
Added
- Detailed redaction retains path clips on supported affine images with the matching native DLL, clears the original RGB and alpha samples in the cut area, and removes private references to the original image stream
Version 3.424.32
Added
- Detailed redaction carries original path clips through nested Form expansion with the matching native DLL, preserving ancestor clips and Form bounding boxes on retained fill fragments
Version 3.424.31
Added
- Detailed redaction retains supported opaque line-only fills under curved and multi-contour path clips with the matching native DLL. It removes the intersecting paint geometry and preserves the original clip and fill rule
Version 3.424.30
Fixed
- The Intake and Accessibility workbench CLIs show the same run settings, findings and per-file results in HTML and text batch summaries across Delphi, Lazarus and C++Builder
Version 3.424.29
Fixed
- IntakeWorkbenchCli uses the same single-file JSON structure across compilers and reports SHA-256 on Lazarus and older Delphi compilers
Version 3.424.28
Fixed
- AccessibilityWorkbenchCli aligns C++Builder finding identifiers and standards references with Delphi and Lazarus, and records missing inputs and failed report writes as unscored items for manual review
Version 3.424.27
Fixed
- AccessibilityWorkbenchCli, IntakeWorkbenchCli and PreflightReportCli keep the original absolute or UNC path in a batch report when an input is missing. The report names the location that was requested
Version 3.424.26
Fixed
- AccessibilityWorkbenchCli aligns JSON and CSV reports and batch summaries across Delphi, Lazarus and C++Builder, page details and minimum-score results included
Version 3.424.25
Fixed
- IntakeWorkbenchCli aligns CSV reports and JSON and CSV batch summaries across Delphi, Lazarus and C++Builder, SHA-256 and routing details included
Version 3.424.24
Fixed
- Trial saves recognise the watermarks they already generated, so repeated saves and reopened documents keep a single trial watermark per page
Version 3.424.23
Fixed
- LDAP retrieval with Free Pascal on macOS returns a transport failure when a socket write fails, instead of letting SIGPIPE terminate the host process
Version 3.424.22
Fixed
- Concurrent first calls to the macOS Keychain backend wait for framework symbol binding before they report signing or verification availability
Version 3.424.21
Fixed
- Detailed redaction preserves supported content marks on clipped fills and writes valid content streams and structure entries when it renumbers surviving marked content
- SplitView shows search highlights in all panes and clears them on page and pane changes. AccessibilityReader fits bitmap exports to the page aspect ratio, TableExtractionLab filters actual PDF filenames and prompts for sample CSV output, and SearchAndSelect identifies the double-click action
Version 3.424.20
Fixed
- Detailed redaction retains supported solid fills clipped by convex polygons, triangles and pentagons included. The surviving fill stays inside the original polygon
Version 3.424.19
Fixed
- Detailed redaction keeps eligible solid fills visible through supported convex four-sided clips. The surviving fill stays within the original clip
Version 3.424.18
Fixed
- Detailed redaction respects the actual edges of convex clipping quadrilaterals, so retained fragments cannot expose paint that was previously clipped
Version 3.424.17
Fixed
- PDF/UA-2 validation checks the original
pdfuaidprefixes and requires the2024revision for ISO 14289-2:2024. Incorrect identification metadata produces a conformance finding
Version 3.424.16
Fixed
- PDF/UA validation reads the identification and title metadata from the active document catalogue. It can use that metadata where the XMP stream is compressed or encoded in UTF-16
Version 3.424.15
Fixed
- PDF/UA-2 checks the effective PDF version from the file header and the active catalogue, using the original PDF where one is available
Version 3.424.14
Fixed
- PDF/A validation checks
/XFAin the active AcroForm and/NeedsRenderingin the active catalogue. Occurrences of those names anywhere else do not trigger the same document-level findings
Version 3.424.13
Fixed
- PDF/A validation resolves
/NeedAppearancesfrom the active AcroForm, indirect booleans included. PDF/UA no longer reports this PDF/A diagnostic
Version 3.424.12
Fixed
- PDF/UA validation requires the active catalogue's
/StructTreeRootto resolve to a dictionary. A missing reference, an unresolved reference or a reference to the wrong object type cannot satisfy the check
Version 3.424.11
Fixed
- When it reads a stream from the active revision, the reader resolves indirect
/Lengthvalues and verifies the declared boundary before decoding. A valid indirect length can then be used without guessing where the payload ends
Version 3.424.10
Fixed
- PDF/UA-1 detects dynamic XFA from the active form configuration, compressed packets and XDP streams included. PDF/UA-2 checks for XFA in the active AcroForm
Version 3.424.9
Fixed
- PDF/UA validation resolves
/Marked,/Suspectsand/DisplayDocTitlefrom the active catalogue and applies the/Suspectsrule to PDF/UA-1
Version 3.424.8
Fixed
- PDF/UA validation checks names and
/ASin the active optional-content configurations, and applies the PDF/UA-2 name requirement only where an alternate configuration exists
Version 3.424.7
Fixed
- PDF/UA-1 detects Reference XObjects from the top-level
/Refentry of Form XObject streams, escaped names included
Version 3.424.6
Fixed
- PDF/UA validation reads tab order from each active annotated page and handles indirect annotation arrays and escaped PDF names
Version 3.424.5
Fixed
- The Delphi PrintPDF demo honours the page range confirmed in the system dialog and saves settings in the user profile
Version 3.424.4
Fixed
- Page scene and thumbnail eviction now shares the document render lock when callers change the cache budget or drive the cache governor directly
Version 3.424.3
Fixed
- Document demos clear stale results and controls when a replacement PDF fails to open. SplitPDF keeps the form open until the active split has finished cleaning up
Version 3.424.2
Fixed
- Simple vector redaction inserts retained path and image fragments in their original paint order and carries their content marks forward. Intersecting clipped paths and images are removed whole
Version 3.424.1
Fixed
- The C++Builder workbench CLI demos accept the missing command aliases and document their available summary and scoring options. Intake CSV protects cells that begin with a tab
Version 3.424.0
Fixed
- Intake text and Markdown reports render embedded line breaks and control characters as visible escapes, keeping document fields on their original report lines
Version 3.423.0
Fixed
- Report file links and SARIF artefact URIs preserve spaces, reserved characters and Unicode names through UTF-8 percent encoding
Version 3.422.0
Fixed
- PDF/VT-2s inspection compares decoded hierarchy names, reports missing or unsupported PDF dispositions and bounds MIME input to 256 MiB. The writer rejects blank attachment filenames before writing
Version 3.421.6
Fixed
- Two-page continuous text selection includes the text on intervening pages where the selection spans more than one spread
Version 3.421.5
Fixed
- On Windows, OCSP POST request data stays valid while cancellation completes asynchronously after a timeout. A timed-out lookup can be cancelled without invalidating data still in use
Version 3.421.4
Fixed
- Rebuilding named destinations retains matching legacy keys in the catalogue. Existing references that use those keys can still reach their destinations after the rebuild
Version 3.421.3
Fixed
- Free Pascal on Windows honours the path string code page for native-worker staging and output, and preserves Unicode system paths during cleanup
Version 3.421.2
Fixed
- On Linux, native-worker cleanup uses the retained process descriptor where the supervisor exits first. A surviving worker can still be terminated
Version 3.421.1
Fixed
- A closed Linux worker authorisation pipe returns a bootstrap failure and keeps the caller process running
Version 3.421.0
Fixed
- Intake Workbench caps link annotation and text URL scans per page and flags incomplete pages for review. The new
ReadCurrentPageLinksAPI returns bounded link arrays
Version 3.420.124
Fixed
- XFA dataset merges preserve Unicode packet text and support non-ASCII XML element names in SOM bindings
Version 3.420.123
Fixed
- Associated-file reads and writes find XObjects through inherited page resources. A page-local resource override takes precedence where the page supplies one
Version 3.420.122
Fixed
- XMP serialisation preserves a qualifier’s namespace URI when prefixes are aliased, rebound in a nested scope or inherited from a default namespace. The serialised qualifier still belongs to the same namespace
Version 3.420.121
Fixed
- Redaction removes embedded and related file references from dictionaries nested in indirect arrays and recognises escaped key names
Version 3.420.120
Fixed
- Static XFA flattening limits repeat analysis to each subform and counts field growth checks for every instance against its work budget
Version 3.420.119
Fixed
- PDF/A-2 through PDF/A-4 validation checks the active normal appearance of annotations. Ordinary annotations must use an appearance stream, whilst button widgets must supply a nonempty dictionary of appearance states
Version 3.420.118
Fixed
- Relative entries in a
batch=list given without a folder are now resolved next to the list file instead of at the drive root
Version 3.420.117
Fixed
- The C++Builder Intake and Accessibility CLI demos stop with an error when their sample PDF cannot be written
Version 3.420.116
Fixed
- The Preflight, Intake and Accessibility CLI demos no longer pick up files such as
.pdfxor.pdf_bakwhen scanning a folder
Version 3.420.115
Fixed
- The Lazarus SearchAndSelect demo positions its previews using the same UTF-16 text offsets as the search results. A match after non-ASCII text now appears at the correct location in the preview
Version 3.420.114
Fixed
- The Lazarus ViewerInteractionLab shortens long selection previews at UTF-8 character boundaries. A preview that ends in a non-ASCII character no longer displays a broken character at the cutoff
Version 3.420.113
Fixed
- The MultiPageViewer demos no longer draw the search highlight on unrelated text after you turn the page
Version 3.420.112
Fixed
- The SplitView demo's Save as image context command on an empty view now asks you to open a PDF instead of raising an error
Version 3.420.111
Fixed
- The Attachment demo's Save Document dialog no longer reuses the title, file name and filter of a previous attachment extraction
Version 3.420.110
Fixed
- The affected demo save dialogs prompt before replacing an existing file. Users can cancel at the prompt and keep the original file
Version 3.420.109
Fixed
- The viewer demos now report a failed Save As instead of opening the file anyway, add the .pdf extension automatically and ask before overwriting an existing file
Version 3.420.108
Fixed
- Preflight Markdown reports now show
*,_, backticks and<in file names and messages literally, and XML reports replace control characters that XML 1.0 does not allow
Version 3.420.107
Fixed
StreamPdfRasterStripnow accepts source streams that deliver a chunk over several reads, instead of reporting that the source ended before the declared height
Version 3.420.106
Fixed
- Preflight reports now write their generation time as an ISO 8601 timestamp with fixed separators and the local UTC offset in every format, whatever the regional time separator
Version 3.420.105
Fixed
- Enterprise redaction now removes every popup and reply linked to a removed annotation, however long the reply chain, instead of stopping after eight levels
Version 3.420.104
Fixed
SHA256Bytesnow hashes buffers of 4 GiB and more completely instead of only a prefix, which also affects remote-signing fingerprints of very large documents
Version 3.420.103
Fixed
- OCSP freshness checks in Delphi Windows builds now read the current UTC time directly from the system, so they are no longer an hour out during the repeated hour when daylight saving time ends
Version 3.420.102
Fixed
- The Free Pascal timestamp-authority HTTP client now loads libcurl once under a lock, so concurrent first requests can no longer see a half-bound library
Version 3.420.101
Fixed
- AES-256 encryption and decryption now erase the expanded round keys and intermediate blocks from memory after use, and likewise when decryption fails
Version 3.420.100
Fixed
- The XMP parser no longer treats an element as RDF syntax just because its prefix is
rdfwhere that prefix is bound to another namespace
Version 3.420.99
Fixed
- OCSP responses that carry a
nextUpdateare now accepted until that time, as RFC 6960 intends, instead of being rejected oncethisUpdateis more than 24 hours old; the 24-hour limit still applies to responses withoutnextUpdate
Version 3.420.98
Fixed
- Native worker runtime file names that contain a forward slash are now rejected on Windows, so a crafted name cannot stage a file outside the worker's private folder
Version 3.420.97
Fixed
SortPdfPortfolionow orders number and size fields by value (9 before 10) instead of as text
Version 3.420.96
Fixed
- Rewriting XFA packet streams now replaces the destination stream's previous content instead of appending to it or leaving old bytes behind the new document
Version 3.420.95
Fixed
- Reading RichMedia, associated files and portfolio folders of large documents no longer fails with "Document asset work budget exceeded" at around 5800 pages; the work budget now counts visited nodes rather than repeat-check comparisons
Version 3.420.94
Fixed
- Portfolio, RichMedia and associated-file readers now decode UTF-8 text strings (PDF 2.0, with the UTF-8 byte order mark) in file names, descriptions and folder names instead of showing them as Latin characters
Version 3.420.93
Fixed
- Document colour conversion no longer reads past the content stream for an inline image mask whose declared width and height overflow its data length
Version 3.420.92
Fixed
- Document colour conversion reports a malformed indexed colour space as unconvertible instead of failing with an access violation
Version 3.420.91
Fixed
- Document colour conversion reports a colour-provider failure on a colour-space selection or an uncoloured pattern colour as an issue for that operator instead of aborting the whole conversion
Version 3.420.90
Fixed
- Document colour conversion now converts the initial colour that a colour-space selection sets: black for DeviceCMYK even where a
/DefaultCMYKspace replaces it, and a*, b* of zero for Lab
Version 3.420.89
Fixed
InsertFormObjectFromXObjectnow returns nil when PDFium refuses to insert the form object instead of returning a handle to an object that no longer exists; paragraph and object editing report such failures
Version 3.420.88
Fixed
- Justified right-to-left paragraphs in paragraph editing now place the last line of each paragraph at the right edge instead of the left
Version 3.420.87
Fixed
RenderVerticalParagraphnow lays out up toMaxColumnscolumns; previously one fewer fitted, andMaxColumns = 1rejected every non-empty text
Version 3.420.86
Fixed
RenderVerticalParagraphnow reports one page for text made only of line breaks instead of an undefined page count
Version 3.420.85
Fixed
- Layout tables with a
ContinuationAfterlabel now move to the next region before starting where the label would not fit after the first rows, instead of failing with "Table continuation label cannot fit" depending on where the table starts
Version 3.420.84
Fixed
- Link annotations on justified layout lines now cover the whole stretched line instead of only its natural width
Version 3.420.83
Fixed
- Content normalisation now externalises inline images in content streams that hold comments before the first image, and keeps two closely spaced inline images apart instead of treating them as one
Version 3.420.82
Fixed
- Workflow reports built with Free Pascal outside the LCL now keep non-ASCII characters in JSON and HTML output and in the buffered report text instead of turning them into question marks
Version 3.420.81
Fixed
TPdfLayoutDocument.AddSpacernow rejects heights above 100000 points instead of producing hundreds of thousands of pages or looping forever on extreme values
Version 3.420.80
Fixed
- Document colour conversion now writes valid colour operands under every regional setting, not only where the decimal separator is a period or comma
Version 3.420.79
Fixed
- Bitmap fonts built from colour glyph fonts now write valid numbers under every regional setting, not only where the decimal separator is a period or comma
Version 3.420.78
Fixed
- Object-graph dictionary lookups used by form grafting and document patching now recognise keys written with
#xxescapes, such as/Subt#79peor/Wid#67et
Version 3.420.77
Fixed
- Form grafting no longer copies a source widget's
/StructParentinto the destination, where it would point at an unrelated structure element, and splitting a combined field and widget leaves/StructParentonly on the widget
Version 3.420.76
Fixed
RenderPageThumbnailnow returns the rendered thumbnail even where storing it in the thumbnail cache fails, instead of failing the call and leaking the bitmap
Version 3.420.75
Fixed
- The render tile cache and the page-scene cache no longer start raising integer overflow errors after about four billion lookups in builds with overflow checking
Version 3.420.74
Fixed
LoadCustomDocumentwithAOwnsStream = Truenow frees the stream on every failure, an active document, a missing DLL or invalid load options included, so the caller never has to guess whether the stream still exists
Version 3.420.73
Fixed
- Text page loading for document search, PDF/A and PDF/UA validation, web-link listing, read-aloud word caches and readable content now always runs with floating-point exceptions masked, so malformed pages cannot raise floating-point errors there
Version 3.420.72
Fixed
- Readable-content margin filtering and the reported page bounds now work for pages whose
/MediaBoxis inherited from the page tree, so running headers and footers are filtered and paragraphs continue across such pages
Version 3.420.71
Fixed
TPdfView.HighlightSearchTextandAddSearchTextHighlightno longer replace or exhaust aFindFirst/FindNextsearch that the host is iterating on the same view
Version 3.420.70
Fixed
ExtractDocumentTablesandBuildReflowDocumentno longer run page Open/Close actions or fireOnPageChangefor every page they visit; the active page is left as it was
Version 3.420.69
Fixed
- The Delphi CreatePDF demo's extra Unicode text page shows its Czech, Polish and Turkish samples correctly when built in the IDE
Version 3.420.68
Fixed
- Repeating a search in the PDFViewer demos now moves on to the next page with a match and wraps at the end of the document, instead of staying on the current page
Version 3.420.67
Fixed
- The Lazarus MultiPageViewer and SplitView demos highlight exactly the matched text where the search term contains non-ASCII characters
Version 3.420.66
Fixed
- The C++Builder and Lazarus SplitView demos print rotated views with correct proportions and honour the page range chosen in the print dialog
Version 3.420.65
Fixed
- The C++Builder PDFViewer print dialog offers a page-range option. Users can specify which pages to print instead of sending the whole document
Version 3.420.64
Fixed
- The C++Builder AccessibilityWorkbenchCli demo judges alt text with the same rules as the Delphi and Lazarus versions, so every edition scores a file alike
Version 3.420.63
Fixed
- The C++Builder IntakeWorkbenchCli demo reports an error where the
copyto=routing folder cannot be created, as the Delphi and Lazarus versions do, instead of silently skipping the copy
Version 3.420.62
Fixed
- The Preflight, Intake and Accessibility CLI demos accept
password=valuefor passwords that contain=, begin with-or match a report format name
Version 3.420.61
Fixed
- The C++Builder Preflight, Intake and Accessibility CLI demos print file names and messages with non-ASCII characters instead of cutting the line off
Version 3.420.60
Fixed
- The Intake, Accessibility and Preflight CLI demos now write JSON and SARIF reports without a UTF-8 byte order mark, so standard JSON parsers read them
Version 3.420.59
Fixed
- The IntakeWorkbenchCli demo rates a file it could not scan completely (a failed page,
maxpages=or the annotation cap) as review rather than clean
Version 3.420.58
Fixed
- The AccessibilityWorkbenchCli demo now counts and names the PDF/UA issues for ToUnicode maps to U+0000, embedded files without a description and Private Use Area text strings in every edition
Version 3.420.57
Fixed
- The AccessibilityWorkbenchCli demo no longer merges same-shaped structure elements on different pages, so figures without alt text, tables without header cells and headings on later pages are reported
Version 3.420.56
Fixed
- The TableExtractionLab demo disables its buttons while a folder batch runs, so a second batch or an export can no longer start halfway through one
Version 3.420.55
Fixed
- The ExtractImages demo now skips an image it cannot read or save, keeps listing the images already extracted, and reports how many failed
Version 3.420.54
Fixed
- The ExtractImages demo now falls back to Documents where the folder beside the PDF cannot be created, and choosing another output folder re-enables the Extract button
Version 3.420.53
Fixed
- The accessibility reader demos no longer fall silent after Stop or a jump to another reading unit whilst SAPI speech is paused
Version 3.420.52
Fixed
- The ExtractText demo keeps the custom page range you entered for the next extraction instead of resetting the end page to the last page
Version 3.420.51
Fixed
- The SplitPDF demo now gives split files a .pdf extension where the source file name contains extra dots, such as report.v2.pdf
Version 3.420.50
Fixed
- The viewer demos' Save bitmap buttons write the page with its own proportions instead of the view's shape, and SplitView saves PNG or JPEG files in the format their extension names
Version 3.420.49
Fixed
- The PrintPreferences demo's 2-up, 4-up and 9-up printing keeps each page's proportions and centres it in its cell instead of stretching it
Version 3.420.48
Fixed
- The PrintPDF demo's custom page range fields accept multi-digit page numbers; the range is checked when printing rather than on every keystroke
Version 3.420.47
Fixed
- The PrintPDF demo now renders at the selected quality preset or DPI (capped at the printer resolution) and keeps page bitmaps within a size that a 32-bit build can allocate
Version 3.420.46
Fixed
- The print, viewer and split-view demos no longer risk printing the square of the requested copy count on drivers that also apply the dialog copy count
Version 3.420.45
Fixed
- The Delphi SplitView demo now opens with its two generated sample documents side by side and starts with no text selected, as the Lazarus and C++Builder versions do
Version 3.420.44
Fixed
- PDF/X-1a and PDF/X-3 validation now also flag transparency from graphics-state constant alpha (
/CA,/cabelow 1) and from non-normal blend modes (/BM), not only transparency groups and soft masks
Version 3.420.43
Fixed
- PDF/X validation now checks the nesting of the page boxes more completely: an
/ArtBoxoutside the/MediaBox, or a/TrimBoxor/ArtBoxoutside the/BleedBox, is reported, and every page must carry its own/TrimBoxor/ArtBoxrather than one page anywhere in the file
Version 3.420.42
Fixed
- Document repair and batch validation no longer run document-level JavaScript or OpenAction actions of the files they process when the V8 PDFium build is used; every internally created document now disables lifecycle actions
Version 3.420.41
Fixed
- Validation rules that require a standard to pass are now reported as Skipped rather than Fail when that standard was not validated, and batch validation with an explicit rule registry is narrowed to the requested standards like the default registry
Version 3.420.40
Fixed
- PDF/VT MIME package validation now detects forward references from the
/Reffile specifications of reference XObjects, and no longer reports embedded files as external references; the scan is linear in the part size
Version 3.420.39
Fixed
- Vector redaction (
SaveAsRedacted) now also removes page/AAactions, article beads, the catalogue/PieceInfoprivate data and the catalogue/Threads; the documentation states that bookmark titles are not redacted
Version 3.420.38
Fixed
- Detailed enterprise redaction no longer keeps clipped text or image data that lies under a redaction but outside the object's visible clip: such text objects are removed and such image samples are masked, so the hidden text cannot be extracted afterwards
Version 3.420.37
Fixed
- Enterprise redaction now removes the content under each quadrilateral of a redaction annotation's
/QuadPoints, as the PDF specification requires, instead of the whole/Rect; multi-line text selections no longer over-redact and quads wider than/Rectare no longer under-redacted
Version 3.420.36
Fixed
BuildPdfXProductionPreflightno longer reports transparency, overprint or separation counts left over from a previous document when the same result variable is reused, which could misjudgeIsProductionReady
Version 3.420.35
Fixed
- On Linux, plain
ldap://certificate and CRL retrieval now blocks SIGPIPE for the duration of the request as the TLS path does, so a server that resets the connection cannot terminate the host process
Version 3.420.34
Fixed
CompletePadesRemoteSignaturenow rejects a remote CMS whose signer digest algorithm differs from the one the request was prepared for (SHA-256 returned for a SHA3-256 request, for example), instead of embedding a signature no verifier accepts
Version 3.420.33
Fixed
- Certificate checks no longer reject third-party certificates whose PrintableString names contain
*,&,@or_, so LDAPS servers with wildcard certificates and valid macOS RSA-PSS signatures are accepted
Version 3.420.32
Fixed
- Parsing crafted XMP metadata (during
ValidatePdfAorReadXmpPacket, for example) can no longer occupy the CPU for hours through deeply nested namespace declarations or a very large number of namespaces; namespace lookups are indexed and resolution work is bounded
Version 3.420.31
Fixed
- Extracting a face from a TrueType collection font now rejects crafted collections whose face tables repeat or overlap, instead of overflowing the computed size and writing past the extracted buffer
Version 3.420.30
Fixed
- Where the PDFium DLL and the default HarfBuzz libraries are not found in the application's layouts, they are no longer loaded from the current directory or
PATH; the system directory is taken from Windows rather than from theSystemRootenvironment variable
Version 3.420.29
Fixed
TPdfThumbnailViewnow updates its scroll range when the linkedTPdfis activated after design time, opens another document, or gains or loses pages, so the scroll bar andCurrentPageIndexcan reach every page
Version 3.420.28
Fixed
- Under Lazarus on Windows,
SaveAsto a file name and the other atomically replaced outputs, temporary storage files and the isolated PDFium copies used by parallel rendering now work where the path contains characters outside the system ANSI code page
Version 3.420.27
Fixed
- Reading portfolio folders no longer fails with "Portfolio folder depth exceeded" where a folder holds more than 64 subfolders; only real folder nesting counts against the depth limit
Version 3.420.26
Fixed
- Document colour conversion to a CMYK or grey target now leaves bookmark colours as three DeviceRGB values, as the PDF specification requires, instead of writing four components or one
Version 3.420.25
Fixed
- Document colour conversion now converts content colours and shading backgrounds in an indexed colour space with a Lab base correctly, instead of turning them nearly black
Version 3.420.24
Fixed
- Writing RichMedia annotations into a source document that is already PDF 1.7 or later no longer fails with "Cannot append RichMedia document objects"
Version 3.420.23
Fixed
- Where
RenderVerticalParagraphfails or is cancelled while writing columns, it now removes the columns and continuation pages it had already added, so the document matches the failed report
Version 3.420.22
Fixed
- Bidirectional paragraph editing accepts a line that holds only direction-control characters. Editing can carry on even though that line has no visible glyphs
Version 3.420.21
Fixed
RenderVerticalParagraphwithColumnsPerPagenow starts on the active page and inserts continuation pages directly after it, instead of always writing the first columns to page 1 and overprinting the existing pages that follow; the active page is restored afterwards
Version 3.420.20
Fixed
- Justified Arabic paragraphs in paragraph editing are now actually justified: the widened word spaces are kept when the line is emitted, instead of being lost to a second shaping pass that used the width of a different line
Version 3.420.19
Fixed
- Promoting inline images to image XObjects in styled content editing now replaces a colour space given by page resource name (for example
/CS /Cs1, also as the base of an indexed space) with the resource's colour space, so the promoted image is valid for every PDF reader
Version 3.420.18
Fixed
- Under Free Pascal on Windows, the Little CMS colour engine and the MuPDF redaction backend now load from folders whose path contains non-ASCII characters
Version 3.420.17
Fixed
- Under Free Pascal on Windows, the ZXing barcode bridge and the HarfBuzz shaping libraries now load from folders whose path contains non-ASCII characters
Version 3.420.16
Fixed
- Tagged layout output now nests links in table cells, headings and other non-link elements in their own
Linkstructure element, which holds the link text and its annotation reference as ISO 14289-1 (PDF/UA) requires
Version 3.420.15
Fixed
LoadMarkupno longer fails on an ampersand followed by a semicolon (for exampleR&D; QA) or on unknown entities, which are now kept literally; common HTML entities such as©,—and…are decoded, and�is rejected
Version 3.420.14
Fixed
- Rich-text table cells in the layout engine keep visible spaces between words; the space advance is now measured from the surrounding text because the native measurer reports a lone space as zero width
Version 3.420.13
Fixed
- Layout tables whose split row has a single text line taller than a continuation region now raise
EPdfLayoutErrorinstead of looping forever and, with repeated header rows, exhausting memory
Version 3.420.12
Fixed
- Grafting form fields with
GraftPdfAcroFormandMergeFilesWithFormsno longer changes the alignment of the destination's existing text fields through the source form's/Q, and no longer imposes the source's append-only signature flag on the destination
Version 3.420.11
Fixed
- Merged tagged documents keep their link annotations reachable from the structure tree: the navigation writer now updates each link annotation under its original object number instead of a new one, so
/OBJRreferences stay valid
Version 3.420.10
Fixed
- Merging with navigation preservation no longer fails on links whose remote GoTo uses a named destination, whose Named action is viewer specific (such as
/Print), or on pages whose/Annotsarray holds null entries; such actions are kept unchanged
Version 3.420.9
Fixed
- Writing form fields with
SetFormFieldValue(s)now accepts signature fields whose/Lockdictionary or signature/Referenceentries are indirect objects, as ISO 32000-1 requires for/Lock, and enforces their field locks instead of rejecting the document
Version 3.420.8
Fixed
RenderPagesParallelnow reports every queued page as failed where a worker cannot load its isolated document copy, instead of leaving them pending and the worker module loaded; worker document loads and page-scene cache page loads run with floating-point exceptions masked
Version 3.420.7
Fixed
- Under Lazarus, system colours such as
clWindowandclBtnFacepassed as render background, text, path or annotation colours are now resolved to their actual RGB value instead of rendering nearly black
Version 3.420.6
Fixed
TPdf.AddPicture,AddImageand theAddJpegImage*methods now refresh the page's cached render scene, thumbnail and page-object snapshot, so later thumbnails and object listings include the inserted image
Version 3.420.5
Fixed
- Whitespace word boxes (
PageWordBoxes, word selection, the read-aloud word cursor and table extraction) no longer drift after control characters that the page text buffer skips; word positions are now true character indices
Version 3.420.4
Fixed
- Triple-click line selection and Shift+Home/End in
TPdfViewnow select the whole visual line where the click lands on punctuation, a hyphen or a quote, instead of stopping at that single character
Version 3.420.3
Fixed
GetTextInReadingOrder(roPhysicalLayout)now groups characters into lines before ordering them left to right, so mixed-height glyphs on one baseline (for example "Hello") keep their order, and lines are separated by CR LF
Version 3.420.2
Fixed
- The Delphi PrintPDF demo prints at the right size with No scaling, Shrink to fit and Custom scale; these modes used page points as printer pixels and produced a stamp-sized page on a 600 dpi printer
Version 3.420.1
Fixed
- The MultiPageViewer demos (Delphi, C++Builder, Lazarus) and the Delphi SplitView demo no longer pass link targets from a PDF to the shell themselves. Links are handled by TPdfView, which opens only http, https and mailto targets and no longer opens ordinary links twice
Version 3.420.0
Added
- TPdf.CreateAttachment has an overload that takes the file content and stores it with the new entry. Attachments are kept in name order, so writing to Attachment[AttachmentCount - 1] after CreateAttachment could overwrite an existing attachment; the Attachment, PDFViewer, ContentExtractionLab, SecurityAudit, IntakeWorkbenchCli and PreflightReportCli demos now use the overload
Version 3.419.183
Fixed
- Rewriting XMP metadata keeps structured values valid: NormalizePdfAMetadata, SaveAsWithXmpPacket and TPdfXmpPacket.ToXml write rdf:parseType="Resource" back on structure values such as xmpMM:History entries and PDF/A extension schemas
Version 3.419.182
Fixed
- The PDFium DLL search checks the application's own folder, in all three supported layouts, before any parent folder, and never loads from a DLLs folder at the root of a drive or network share. A DLL shipped with the application can no longer be overridden from a parent folder
Version 3.419.181
Fixed
- Document colour conversion honours the Decode array of inline images: inline stencil masks keep their polarity, converted inline images are no longer inverted, and preserved spot-colour inline images keep their filter and Decode entries
Version 3.419.180
Fixed
- Writing a portfolio, rich media assets or associated files keeps the document information dictionary and file identifier in the saved revision, so title and author stay visible in every reader and PDF/A-3 output keeps its /ID
Version 3.419.179
Fixed
- GenerateTaggedLayout no longer fails on multi-page documents that contain an empty line or an empty table cell; empty lines keep their space on the page without creating an empty text object
Version 3.419.178
Fixed
- SetFormFieldValue and SetFormFieldValues work on forms that contain an unsigned signature field instead of failing with a malformed signature value error
Version 3.419.177
Fixed
- Merging with forms keeps the fields of pages whose /Annots is an indirect array, and no longer hides the existing annotations and fields of a target document whose /Annots or AcroForm /Fields is stored as a separate array object
Version 3.419.176
Fixed
- TPdf.DetectPageSkew no longer writes past its row buffer, or fails with a range error, on pages with dark pixels along the bottom edge such as scans with a black border
Version 3.419.175
Fixed
- TPdf.RectangleCount and TPdfView.RectangleCount no longer crash the process when called with a start index and the default count; the count is now clamped to the characters that remain on the page
Version 3.419.174
Fixed
- On Windows, Tesseract OCR can load language data from folders whose paths contain non-ASCII characters where those characters are representable in the system code page. The path is passed in the encoding that Tesseract uses to open the files
Version 3.419.173
Fixed
- Detailed redaction checks blend modes in an annotation appearance stream that a page also paints as an XObject
Version 3.419.172
Security
- Detailed redaction refuses Form XObjects that belong to an optional-content layer, instead of expanding them and making hidden layer content visible
Version 3.419.171
Fixed
- Saving a document keeps the text the user is still typing in a focused form field of TPdfView
Version 3.419.170
Fixed
- TPdf.OptimizeImages leaves images with soft masks or CMYK, spot or Lab colour unchanged instead of making them opaque or converting them to RGB
Version 3.419.169
Fixed
- XFA flattening keeps check boxes checked where the form defines its own on value, such as Y or true, rather than only 1
Version 3.419.168
Fixed
- PDF/A validation no longer reports a document information /Trapped /True entry, which PDF/A does not restrict
Version 3.419.167
Fixed
- PDF/A-1 validation checks that output intents with a destination ICC profile refer to the same profile. An input with conflicting profile references now gets a conformance finding
Version 3.419.166
Fixed
- PDF/A-1 validation rejects an output intent whose ICC profile is version 4, which PDF/A-1 does not allow
Version 3.419.165
Fixed
- PDF/A Level A validation treats only H1 to H6 as standard heading types and requires a RoleMap entry for H7 and above
Version 3.419.164
Fixed
- If one requested change fails,
TPdf.UpdatePageObjectrestores the object’s previous properties. An update does not leave the object partially modified
Version 3.419.163
Fixed
- Timeout cancellation sources release their timer thread soon after the caller drops the source, instead of keeping it until the timeout expires
Version 3.419.162
Security
- Detailed redaction checks every page content stream before redacting, streams whose dictionary carries an extra /Type entry included
Version 3.419.161
Fixed
- Compressing an incrementally updated PDF respects deletions in later revisions. Objects removed by a later revision do not reappear in the compressed output
Version 3.419.160
Fixed
- PDF/A-4f conversion of a document without embedded files writes a valid PDF/A-4 file instead of a 4f claim that fails validation
Version 3.419.159
Fixed
- PDF/A-4 conversion accepts source XMP timestamps with fractional seconds. The dates remain in the converted document instead of preventing the save
Version 3.419.158
Fixed
- PDF/A validation detects forbidden Named actions written without a space after /S, and ignores the same text inside strings and content streams
Version 3.419.157
Fixed
- PDF/A validation treats the XMP conformance identifier as case-sensitive. A lowercase value such as b now produces an invalid-identifier finding
Version 3.419.156
Fixed
- PDF/A Level A validation and conversion recognise a /MarkInfo dictionary stored as an indirect object or with different spacing
Version 3.419.155
Fixed
- InjectPdfAMarkers raises an exception for an encrypted or unreadable source instead of copying it through without PDF/A markers
Version 3.419.154
Fixed
- Resource pruning keeps the fonts and images that form XObjects, patterns and Type 3 glyphs use, which rely on the page's resources
Version 3.419.153
Fixed
- Redaction of a path that is both filled and stroked no longer adds stroked lines along the redaction edges
Version 3.419.152
Security
- Redaction removes files embedded through annotations, associated-file arrays and action file specifications, not only the document's attachment list
Version 3.419.151
Fixed
- XFA flattening embeds grayscale and CMYK JPEG images with a matching colour space instead of DeviceRGB
Version 3.419.150
Fixed
- XFA flattening can read compressed packets whose stream length is stored in a separate PDF object, as can happen after incremental saves. Those packets are available to flattening instead of being treated as missing
Version 3.419.149
Fixed
- OCR semantic review no longer fails with a sort depth error on pages whose word heights split unevenly
Version 3.419.148
Fixed
- Semantic PDF comparison in Lazarus preserves non-ASCII text when it reads XMP metadata. A change to that text appears in the comparison results
Version 3.419.147
Fixed
- OCR reports give the page number of every page that was not processed after a cancellation or a stopping error, instead of 0
Version 3.419.146
Fixed
- The scan workflow reports an explicit size-limit error if the output PDF would exceed 2 GB. The diagnostic identifies the output limit as the cause of failure
Version 3.419.145
Fixed
- Semantic review JSON reports a page index of -1 for the missing side of an added or removed item instead of 0
Version 3.419.144
Fixed
- XFA flattening parses large XFA packets and forms with many repeated subforms in linear time instead of slowing down quadratically
Version 3.419.143
Fixed
- Tesseract OCR in Lazarus builds loads the Tesseract library from folders whose path contains non-ASCII characters
Version 3.419.142
Fixed
- Semantic PDF comparison reads the structure tree of both documents the same way where one cannot be read directly, and reports an error for unreadable optional-content properties instead of listing every layer as changed
Version 3.419.141
Fixed
- Semantic PDF comparison reports an error where a document's link destinations cannot be read, instead of listing every link destination as changed
Version 3.419.140
Fixed
- Redaction of tagged documents no longer fails where a page stores its content as a /Contents array, and keeps the structure of pages whose content array is an indirect object
Version 3.419.139
Fixed
- Redaction structure repair keeps marked-content ids per page, so a redacted element on one page is no longer kept alive by an id that only another page still uses
Version 3.419.138
Fixed
- XFA flattening rejects a truncated or malformed TrueType appearance font with a clear error instead of reading past the font data
Version 3.419.137
Fixed
- Check boxes in flattened XFA forms show their checked state and can be toggled, because they now have separate checked and unchecked appearances
Version 3.419.136
Fixed
- Form field appearances written by XFA flattening now list their fonts, so field text, the text in the embedded Unicode font included, displays correctly in every viewer
Version 3.419.135
Fixed
- XFA flattening keeps a page's existing content, links, annotations and inherited resources where they are stored as separate objects or inherited from the page tree, and isolates the graphics state of the original content from the flattened form
Version 3.419.134
Fixed
- XFA flattening writes coordinates as plain PDF numbers, independent of locale, and rejects out-of-range geometry instead of writing numbers in exponent form that PDF readers cannot parse
Version 3.419.133
Fixed
- Saving as PDF/R now fails with an error where the markers cannot be added (an unreadable or encrypted source, or an update that cannot be written) instead of reporting success for a copy of the source without PDF/R markers
Version 3.419.132
Fixed
- Saving as PDF/R raises a PDF 1.0 to 1.3 header to 1.7 as the standard requires, so output made from old scans no longer fails its own header check
Version 3.419.131
Fixed
- PDF/R validation no longer accepts a page as raster-only where its content stream holds an operand it cannot read past, behind which other drawing could hide
Version 3.419.130
Fixed
- XFA flattening binds repeated data values to the right field instances where different data paths and field names would otherwise run together
Version 3.419.129
Fixed
- XFA flattening decodes embedded base64 images when runtime range checking is enabled. The images can appear in the flattened output without triggering a range error
Version 3.419.128
Fixed
- XFA flattening keeps text written in CDATA sections instead of dropping or garbling it, or failing where the CDATA holds markup
Version 3.419.127
Fixed
TPdf.SetAttachmentreports an error where the attachment handle is unavailable or the replacement write is rejected. The caller can tell when the original attachment data was left in place
Version 3.419.126
Fixed
SaveAsEncryptedToStreamreplaces the content of the destination stream instead of writing after it, so reusing a stream no longer leaves stale bytes after the encrypted document
Version 3.419.125
Fixed
- Adding, importing or moving pages during a page-object edit transaction now fails before anything changes, as deleting a page already did, instead of half-applying the change or discarding the transaction's edits
Version 3.419.124
Fixed
- Reading bookmarks no longer fails on an outline item whose colour components are out of range; they are clamped to the valid range
Version 3.419.123
Fixed
TPdf.PdfVersionreports the version of the document actually loaded from a stream or memory, instead of the version of an older file still named byFileName
Version 3.419.122
Fixed
- Validating a page plan no longer overflows the stack on a malformed outline nested thousands of levels deep; the outline is reported as over its scan limit
Version 3.419.121
Fixed
FlattenPageRotationkeeps the page layout of pages whose media box does not start at the origin or whose crop box is offset, and now also maps the bleed, trim and art boxes
Version 3.419.120
Fixed
- Where
MergeFilesrolls back pages after a failed or cancelled source, an attachedTPdfViewfollows the restored page tree instead of keeping a page that was removed
Version 3.419.119
Fixed
- Incremental saves stay append-only revisions of the source file even with
Compressedon, instead of being rewritten into a single new revision
Version 3.419.118
Fixed
- Content mark parameters such as
ActualTextkeep non-ASCII text intact: they are written as UTF-16 PDF text strings instead of being converted through the system code page
Version 3.419.117
Fixed
- Adding text with the standard PDF fonts, and laying out text, no longer leaks a font reference on every call; the font is loaded once per document and released when the document closes
Version 3.419.116
Fixed
TPdf.SetAnnotationFontColorwrites the colour you pass instead of swapping its red and blue channels, and resolves system colours
Version 3.419.115
Fixed
- PDF/A validation finds the file, destination or URI of a GoToR, URI or SubmitForm action wherever it appears in the action dictionary, so actions that list those keys before
/Sare no longer reported as missing their target
Version 3.419.114
Fixed
- PDF/A validation reports an unembedded font only for fonts the page content uses, instead of counting font descriptors against font programs across the file, which failed files with shared descriptors, Type 3 fonts or unused fonts
Version 3.419.113
Fixed
- PDF/A validation accepts a PDF/A output intent that is not the first entry of
/OutputIntents, as in combined PDF/X and PDF/A files, and checks the profile of that entry
Version 3.419.112
Fixed
- PDF/A validation no longer flags an article thread or a Thread action merely for being present. Documents that use article navigation avoid that false forbidden-action finding
Version 3.419.111
Fixed
- PDF/A validation no longer reports JavaScript, launch actions or forbidden filters because such a name appears inside a text string or a comment, in a bookmark title for example
Version 3.419.110
Fixed
- PDF/A validation no longer requires both XMP creation and modification dates where the Info dictionary has no such dates; it checks that each Info date present has its XMP counterpart
Version 3.419.109
Fixed
- PDF/A Level A validation no longer reports an unresolved class map because an annotation has a colour; only class names given by structure elements are checked
Version 3.419.108
Fixed
- PDF/A Level A validation reports a missing role map only where the document uses non-standard structure types, and now recognises those types however the
/Sentry is spaced
Version 3.419.107
Fixed
- Saving as PDF/A-1, -2 or -3 now writes the title, author, subject, keywords, creator, producer and dates you pass in to the Info dictionary as well as to the XMP metadata, so the output no longer fails the Info/XMP equivalence rule of ISO 19005-1 6.7.3
Version 3.419.106
Fixed
- Saving as PDF/A, PDF/UA, PDF/E, PDF/R, PDF/VT, PDF/X or encrypted, and signing to a file name, now write a temporary file and replace the target only on success, so a failed save no longer leaves an existing file empty or destroys the source being overwritten
Version 3.419.105
Fixed
- Redacting a tagged PDF now rebuilds the structure parent tree with references to the surviving structure elements, as the PDF specification requires, and keeps the entries of annotations, so assistive technology can still map content to structure
Version 3.419.104
Fixed
- Redaction removes page thumbnails, page-level application data (
/PieceInfo), page metadata and page-level associated files, which could still show or contain the unredacted page
Version 3.419.103
Fixed
- Redaction now also removes the popup and the replies of each annotation it removes, so the removed note, its text and any attached file can no longer be reached through them in the output
Version 3.419.102
Fixed
- Pruning unused resources, which redaction also performs, no longer deletes fonts and images from a resource dictionary that several pages share; names used by any of the pages are kept
Version 3.419.101
Fixed
- PDF/R validation no longer hangs on files whose trailer claims a huge object count or whose page tree lists the same page many times
Version 3.419.100
Fixed
- XFA flattening stops with an error on form data nested more than 64 levels deep instead of overflowing the stack and terminating the application
Version 3.419.99
Fixed
- XFA flattening no longer reads far past an XFA packet stream whose
/Lengthis close to the 32-bit limit; such a length is treated as invalid
Version 3.419.98
Fixed
- XFA flattening rejects malformed page rectangles instead of writing past a buffer for a
/MediaBoxwith extra numbers or hanging on one that holds a name or a nested array
Version 3.419.97
Fixed
- Semantic PDF comparison compares attachments that reference an external file or lack their embedded data, marking the payload as unavailable, instead of failing the comparison
Version 3.419.96
Fixed
- Semantic PDF comparison reports bookmarks, links and named destinations whose target page no longer exists as changed to an unresolved target, instead of failing when a page was deleted between the two versions
Version 3.419.95
Fixed
- Semantic PDF comparison skips null or dangling entries in a page's
/Annotsarray, which deleted annotations often leave behind, instead of failing the whole comparison
Version 3.419.94
Fixed
- OCR search layers and
ProcessPdfScanno longer treat words belowMinConfidenceas rejected, so ordinary scans with a few low-confidence words complete and publish their output;RejectedWordCountnow counts only invalid words
Version 3.419.93
Fixed
- The visible page area reported to the form engine now comes from the view that hosts the form, and only for the page it shows, so XFA popups and scrolled fields are placed correctly with several views or multi-page layouts
Version 3.419.92
Fixed
- In
TPdfView's two-page modes, clicking a form field or link on the page that is not current now makes that page current and activates the field or link, instead of doing nothing
Version 3.419.91
Fixed
- In
TPdfView's two-page modes, drag panning and auto-scroll now cover the whole spread, and Fit Width, Fit Height and Fit Page fit both pages in the window instead of one
Version 3.419.90
Fixed
TPdfView.Zoomis now kept between 1% and 6400% and ignores NaN or infinite values, so a zero, negative or huge zoom no longer blanks the page or makes painting fail
Version 3.419.89
Fixed
TPdfViewno longer reports a phantom Alt key toOnKeyDownandOnKeyUpfor the arrow, Home, End and Delete keys whilst a form is loaded
Version 3.419.88
Fixed
- Search highlights in a rotated
TPdfVieware drawn and cleared at once, instead of only when something else repaints the view
Version 3.419.87
Fixed
- Form buttons that run the named actions NextPage, PrevPage, FirstPage or LastPage now turn the page of the
TPdfViewshowing the form, instead of the document's hidden current page
Version 3.419.86
Fixed
- After annotations are added, changed or deleted, or a page is flattened,
TPdfandTPdfViewread the page's links again, so deleted links no longer react to clicks and new links work without reloading the page
Version 3.419.85
Fixed
TPdfView.LinkAnnotationToAnnotationIndexuses the annotation index on the page shown by the view. Where the document's current page differs, the link still resolves against the visible page
Version 3.419.84
Fixed
TPdfView.AddJpegImageDeferredandAddJpegImageFileinsert the JPEG on the page shown by the view. Changing the document's current page independently no longer sends the image to a different page
Version 3.419.83
Fixed
- A
TPdfViewshowing a document now follows page additions, deletions, imports and moves made throughTPdf: it reloads a page that still exists and drops its stale selection and link data instead of rendering and hit-testing the wrong page
Version 3.419.82
Fixed
TPdfView's scroll bars now move with the page: the thumb at the top shows the top of a zoomed page, and the arrows, PageDown and thumb dragging scroll in the expected direction
Version 3.419.81
Fixed
- Hit testing, page-indexed link queries and per-page zoom calculations in
TPdfandTPdfViewno longer switch the current page behind the scenes, so moving the mouse over the second page of a spread no longer runs page actions, clears the selection or fires page-change events
Version 3.419.80
Fixed
GenerateFormAppearancesno longer changes the appearance state of checkboxes and radio buttons, which made the unselected options of radio groups disappear after rendering or flattening
Version 3.419.79
Fixed
- Clicking a link that names its target with
/Destinstead of a GoTo action, as many tables of contents do, now goes to that page inTPdfViewwhenloAutoGotois set
Version 3.419.78
Fixed
- Security:
TPdfViewnow opens links automatically only forhttp,httpsandmailtoaddresses; a document link to a local program, network share or other protocol is no longer passed to the shell and reaches only the link click events
Version 3.419.77
Fixed
- Font subsetting no longer drops glyphs of Identity-encoded CID fonts that have no CIDSet: without content-stream usage such fonts are kept whole, and with it the glyphs used in the page content are kept even where the width array does not list them
Version 3.419.76
Fixed
- Font subsetting limited to content-stream usage no longer drops glyphs of CID fonts that use a non-Identity CMap such as UniGB-UCS2-H together with an explicit CIDToGIDMap
Version 3.419.75
Fixed
- Font subsetting keeps simple Type 1 (CFF) fonts whole instead of guessing glyph positions from character codes, which could blank accented and other glyphs reached through the font's encoding
Version 3.419.74
Fixed
- Font subsetting keeps CID-keyed CFF fonts, typical for embedded Chinese, Japanese and Korean fonts, whole instead of producing a subset with missing or wrong glyphs and broken private dictionaries; the font is listed as preserved in the report
Version 3.419.73
Fixed
- XFDF import accepts rich-text field values and annotation contents written as XHTML, as Acrobat exports them, instead of failing the whole import, and export writes rich-text markup as XHTML rather than escaped text
Version 3.419.72
Fixed
- FDF import reads field names and values written as PDF 2.0 UTF-8 text strings, so non-ASCII names match their fields instead of being decoded as garbled PDFDocEncoding text
Version 3.419.71
Fixed
- The stream inspector decodes ASCII85 and LZW streams that end without their end-of-data marker, as PDFium does, instead of reporting them as malformed; strict termination checks still reject them
Version 3.419.70
Fixed
- SHA-1 and SHA-384/512 hashing no longer raise overflow or range errors in builds with those checks enabled, so Debug builds can again open and encrypt AES-256 (revision 6) PDFs and compute certificate identifiers
Version 3.419.69
Fixed
- Writing a PDF portfolio no longer silently replaces the catalogue's existing associated-file array; as for associated files, that now requires
ReplaceExistingAssets
Version 3.419.68
Fixed
- Text repair no longer copies a named marked-content property list that holds indirect references, an optional-content reference for example, inline into the page content; such lists are refused instead of producing invalid content
Version 3.419.67
Fixed
TPdfDocumentCore.GetAttachmentInforeturns the name and dates of an attachment that references an external file, with empty data, instead of raising an error
Version 3.419.66
Fixed
RemovePdfPageAnnotationsremoves annotations that omit the optional/Type /Annotentry. An otherwise removable annotation no longer survives cleanup simply because the marker is absent
Version 3.419.65
Fixed
- Adding marked content to a structure element no longer nests existing marked content, splits a text object or cuts into inline image data; streams without unmarked content after their marked content are refused with
EPdfStructureEdit
Version 3.419.64
Fixed
- Colour conversion reads Indexed colour space lookup tables written as multi-line hex strings, literal strings with line breaks or ignored escapes, or indirect string objects, instead of treating the colour space as invalid
Version 3.419.63
Fixed
InjectAssociateFilesnow rejects an encrypted source PDF withEPdfAssocFilesErrorinstead of appending plaintext file attachments that readers would decrypt into garbage
Version 3.419.62
Fixed
- Structure editing no longer corrupts a multi-level
/IDTree: setting an element ID in a tree whose root has/Kidsis refused withEPdfStructureEditinstead of writing an invalid root node
Version 3.419.61
Fixed
- Setting a structure element's layout bounding box now accepts only plain PDF numbers for its four coordinates and rejects values such as
1.5e3or text that would break the attribute dictionary
Version 3.419.60
Fixed
TPdf.InsertObjectAtIndexnow owns the page object whether it succeeds or raises, and paragraph and styled text editing no longer destroy an object the page already holds when an insertion step fails
Version 3.419.59
Fixed
- In Lazarus/FPC builds, text repair writes non-ASCII characters correctly into repaired ToUnicode maps and ActualText, instead of encoding each UTF-8 byte as a separate character
Version 3.419.58
Fixed
- Calling
InjectPdfVTMarkerswithout creation and modification dates keeps the source document's dates in the Info dictionary and XMP metadata instead of deleting them and stamping the current time
Version 3.419.57
Fixed
- Saving as PDF/X or PDF/E keeps the Info markers readable where the source file's Info reference pointed at a missing object with a non-zero generation number
Version 3.419.56
Fixed
- Saving as PDF/X or PDF/E now writes the title, author, subject, keywords, creator and producer you pass in to the Info dictionary as well as to the XMP metadata, so the two agree and the file passes the library's own PDF/X title check
Version 3.419.55
Fixed
- Tagging a reflowed layout no longer drops page annotations that were written directly inside the page's
/Annotsarray and are not tagged as links; they are kept as their own objects
Version 3.419.54
Fixed
- PDF/VT-3 validation accepts an output intent that references its ICC profile externally where the file is based on PDF/X-6p or PDF/X-6n, instead of reporting a missing ICC profile
Version 3.419.53
Fixed
- PDF/X validation reads the
/Trappedvalue itself, so an Info dictionary with/Trapped /Trueis no longer reported as not set because another entry or string contains/Unknown
Version 3.419.52
Fixed
- PDF/UA validation no longer reports media clip sections (
/S /MCS) as media clips missing/CTand/Alt; the requirement applies to media clip data dictionaries
Version 3.419.51
Fixed
- PDF/UA validation no longer aborts with an integer overflow in builds with overflow checking when a structure type is a heading with a very long number, such as
/H123456789012
Version 3.419.50
Fixed
- PDF/UA validation does not report a missing
/Tabsentry where a page has an explicitly empty annotation array. The tab-order requirement still applies to pages that hold annotations
Version 3.419.49
Fixed
- PDF/UA validation no longer reports an optional-content configuration without a name where an inline configuration in
/Configsholds arrays such as/OFFor/Order
Version 3.419.48
Fixed
- PDF/UA validation reads an indirect
/Langstring or indirect boolean from the referenced object itself, instead of from an object whose number merely ends with the same digits
Version 3.419.47
Fixed
- PDF/UA validation accepts
/DisplayDocTitle truewritten with any whitespace before the value or as an indirect boolean, instead of reporting the viewer preference as missing
Version 3.419.46
Fixed
- PDF/UA validation finds the target of a URI, GoToR or SubmitForm action wherever it appears in the action dictionary, so actions that list
/URIor/Fbefore/Sare no longer reported as missing their target
Version 3.419.45
Fixed
- PDF/VT validation reads document part metadata (DPM) as key/value pairs, so URLs, name values and nested dictionaries no longer produce invalid or duplicate DPM key reports
Version 3.419.44
Fixed
- PDF/UA, PDF/X, PDF/VT and PDF/E validation no longer report forbidden JavaScript, reference XObjects or deprecated annotations because such a name appears inside a text string or comment, in a URI, title or document subject for example
Version 3.419.43
Fixed
- PDF/UA validation no longer reports a reference XObject for PDF 2.0 structure elements that carry a
/Refarray; only a form XObject with a/Refdictionary is reported, as ISO 14289 §7.20 intends
Version 3.419.42
Fixed
- PDF/UA-2 validation no longer reports a missing role map for documents that use the structure types PDF 2.0 adds, such as
Title,Aside,FENote,EmandStrong
Version 3.419.41
Fixed
- PDF/X and PDF/VT validation and the production preflight report accept pages that define an
/ArtBoxinstead of a/TrimBox, as ISO 15930 allows, instead of reporting a missing TrimBox
Version 3.419.40
Fixed
- PDF/VT validation no longer reports a forbidden reference XObject for every file saved with a cross-reference stream; reference XObjects are now recognised by their
/Refdictionary as ISO 32000-1 §8.10.4 defines them
Version 3.419.39
Fixed
- Signature verification started from several threads at once no longer reports OpenSSL or the Windows crypto backend as unavailable whilst the first thread is still loading it; the backend libraries are now loaded once under a lock
Version 3.419.38
Fixed
- Error messages from the MuPDF composite rasterizer bridge are read only within their fixed buffer, so a message that fills the buffer without a terminator no longer reads past it
Version 3.419.37
Fixed
- Windows certificate-store signing keeps the certificate alive when its private key handle is cached on the certificate, so signing no longer uses a key handle that was released with the certificate context
Version 3.419.36
Fixed
- Applications and runtime packages that include the isolated native worker load again on Windows 7: the Windows 8 AppContainer profile functions are resolved when a worker starts, and
RunPdfNativeWorkerreportsnwsUnavailablewhere they do not exist
Version 3.419.35
Fixed
- PKCS#11 slot descriptions and token labels that contain non-ASCII characters are now decoded as UTF-8, so
EnumerateSlotsreturns readable names that match the labels shown by the token vendor's tools
Version 3.419.34
Fixed
- PKCS#11 signing no longer picks an arbitrary private key where the certificate has no
CKA_IDand the token holds several keys; it reports that the signing key cannot be determined instead of producing a signature that fails verification
Version 3.419.33
Fixed
- A PKCS#11 signer provider can now be used from several threads: module loading, session handling, token enumeration and each signing operation are serialised, and the token module is told to use operating-system locking
Version 3.419.32
Fixed
- A PKCS#11 module that another component of the application had already initialised is now used instead of being reported as unavailable, and the provider leaves finalising it to that component
Version 3.419.31
Fixed
- A PKCS#11 module that failed to load or initialise, because its driver was installed later or the token reported a transient device error for example, is loaded again on the next request instead of staying unavailable until the application restarts
Version 3.419.30
Fixed
- An application that installed a PKCS#11 signer provider no longer reloads and re-initialises the token module whilst it shuts down; the provider's sessions are dropped with the module that was already finalised
Version 3.419.29
Fixed
- PKCS#11 signing no longer logs out a token session the host application had already logged in, and a session reopened after the PIN was consumed now reports that the provider must be created again with the PIN instead of claiming the key is missing
Version 3.419.28
Fixed
- PKCS#11 signing now passes the signing mechanism to
C_SignInitby pointer as the standard requires, so hardware-token signatures work on Win32 and 64-bit Unix builds instead of failing inside the token module
Version 3.419.27
Fixed
- OCSP revocation checks through the OpenSSL backend no longer post a released request body or reuse a freed certificate ID where a responder URL is long enough to need an HTTP POST; the request is sent intact and the response is matched safely
Version 3.419.26
Fixed
- Compressed saves and the ToUnicode repair locate a stream’s dictionary correctly even where it holds strings with
<<or>>characters, instead of rewriting a damaged dictionary
Version 3.419.25
Fixed
- Free Pascal console programs write non-ASCII document information and other PDF text strings correctly. The text was assumed to be UTF-8, so characters from the system code page could be lost or written as invalid bytes
Version 3.419.24
Fixed
- Trusted-list evaluation no longer reports a signature as qualified where the matching trust service carries the ETSI
NotQualifiedqualifier; the result is reported as undecided, since the qualifier’s certificate criteria are not evaluated
Version 3.419.23
Fixed
- Adding a signature time-stamp to an existing CMS signature keeps the unsigned attributes it already had, such as a counter-signature or an earlier time-stamp, and signatures that embed certificate revocation lists are now accepted instead of failing
Version 3.419.22
Fixed
- Encrypted documents whose crypt filter states the key length in bits, such as
/Length 128for AES-128 or/Length 256for AES-256, open normally instead of being rejected as malformed
Version 3.419.21
Fixed
- Text shaping can be used from several threads at once. With the HarfBuzz backend, two threads shaping different fonts could release a font another thread was still using, and the first use from two threads could create two default shapers
Version 3.419.20
Fixed
- Text shaped with the Windows Uniscribe backend gets exact glyph widths and positions. They were measured at the screen’s pixel size, so text could come out up to a few per cent too wide and line breaks and alignment differed from the HarfBuzz backend
Version 3.419.19
Fixed
- Reading the active objects of an incrementally updated document no longer brings back an object that a later update deleted when an earlier revision used a hybrid cross-reference table
Version 3.419.18
Fixed
- PDF/A validation reports trailing data when anything other than a single line break follows the final
%%EOF, as ISO 19005 requires; extra blank lines, spaces or zero padding at the end of a file were accepted before
Version 3.419.17
Fixed
- Password-derived keys and intermediate values used to open AES-256 encrypted documents and to run AES-GCM are now erased from memory as soon as they are no longer needed, a wrong password or a failed integrity check included
Version 3.419.16
Fixed
- Creating optional-content forms rejects a bounding box or matrix that holds NaN or infinite values instead of writing an unreadable form, and their numbers are always written with a period as the decimal separator regardless of the system locale
Version 3.419.15
Fixed
- Tagged documents produced by the layout engine no longer put
/Limitson the root of the structure parent tree and ID tree; ISO 32000-1 reserves that entry for intermediate and leaf nodes
Version 3.419.14
Fixed
- Bookmarks and links carried over by a document merge store their target positions as plain decimal numbers. Very small values were written in exponent notation, which PDF syntax does not allow, and others carried long rounding tails
Version 3.419.13
Fixed
- PDF/A font width checks find the right glyph for accented and other non-ASCII characters in TrueType fonts that only offer a Macintosh character map. The map was searched with Unicode values instead of Mac Roman codes, so such characters could be reported with width mismatches
Version 3.419.12
Fixed
- PDF/A validation recognises XMP creation and modification dates written with any prefix for the XMP basic namespace, such as the
xap:prefix used by older Acrobat versions, instead of reportingpvaiInfoXmpDateMismatch. The check for the deprecatedbytes=andencoding=packet attributes now looks only at the<?xpacket?>header, so metadata text that happens to contain those words is no longer reported
Version 3.419.11
Fixed
- The ExtractImages, ImageToPDF, SplitPDF and FontProperties demos advise copying the PDFium DLL only where the library could not be loaded, rather than after every error such as a damaged or protected file
Version 3.419.10
Fixed
- The SecurityAudit demo saves its sample document to the temporary folder and reports a failed save, instead of silently auditing a missing or outdated file when the working folder is read-only
Version 3.419.9
Fixed
- Printing from the PDFViewer, MultiPageViewer, SplitView and PrintPDF demos keeps each page’s proportions and centres it on the sheet. Pages were stretched to fill the paper, so a Letter page printed on A4 or a landscape page on portrait paper came out distorted
Version 3.419.8
Fixed
- The Delphi SplitView and Lazarus PrintPDF demos print rotated pages the way they are displayed. The page’s own rotation was applied a second time, so pages stored with a 90° rotation were printed sideways
Version 3.419.7
Fixed
- The Delphi PDFViewer, MultiPageViewer and SplitView demos skip a page that cannot be rendered when printing a form instead of crashing, and SplitView asks for a file when Print is clicked with no document open
Version 3.419.6
Fixed
- The C++Builder and Lazarus PDFViewer and MultiPageViewer demos print form field contents and annotations, values typed in during the session included, as the Delphi versions already did
Version 3.419.5
Fixed
- The Delphi and C++Builder Attachment demos keep your attachment changes when saving over the original file fails, because another program has it open, for example. The changes were discarded; they now stay open from the saved temporary copy, whose name the error message gives
Version 3.419.4
Fixed
- The TableExtractionLab demo extracts tables from page 1 of a newly opened document instead of the page the built-in sample was left on
Version 3.419.3
Fixed
- The StandardsLab demo no longer suggests save names based on a previously opened file after it builds its in-memory sample
Version 3.419.2
Fixed
- The MultiPageViewer and SplitView demos no longer show an ‘Uninitialized search’ error when searching again after moving to another page or pane; the search restarts from the current page
Version 3.419.1
Fixed
- The Lazarus PrintPDF demo shows the page preview after a document is opened. The preview control was never activated, so it stayed blank
Version 3.419.0
Fixed
- PAdES validation reports
ppeiTooManySignatureswhen a document holds more than 32 signature dictionaries, and trust validation then reports the overall integrity as indeterminate. Signatures beyond the first 32 were dropped without notice, so a document whose latest signature was among them could still be reported as valid
Version 3.418.0
Fixed
- PAdES trust validation and evidence reports accept document and signature time-stamps whose message imprint uses SHA-384, SHA-512 or SHA3. Only SHA-256 imprints were accepted, so a valid long-term (B-LTA) document time-stamped with SHA-512 was reported as invalid.
FPdfTsaaddsValidateTimeStampTokenImprintandTimeStampTokenImprintOidfor validating such tokens directly; MD5 and SHA-1 imprints are still rejected
Version 3.417.62
Fixed
- Stream inspection decodes RunLength-encoded streams that end without the end-of-data marker, as it already did for ASCIIHex and LZW data. Such streams, which PDF readers display normally, were reported as malformed even where no terminator was required
Version 3.417.61
Fixed
- Time-stamp requests on Windows no longer follow HTTP redirects from the time-stamp server, matching the other platforms. A redirect could send the request to an address the application never configured; it is now reported as a failed request
Version 3.417.60
Fixed
- PAdES validation takes the ESIC extension level from the
/ESICentry of the catalogue’s/Extensionsdictionary. Another vendor’s extension level, an Adobe level 11 for example, could be mistaken for ESIC level 1, and an ESIC entry laid out with different spacing was missed, which changed the reported B-LT and B-LTA levels
Version 3.417.59
Fixed
- PAdES validation decodes object identifiers in signatures strictly. Identifiers with very large components, non-minimal encodings, a truncated last component, or a first component of 2.48 or higher could be read as a different identifier and recognised as an attribute they are not
Version 3.417.58
Fixed
- PAdES validation reads signature values whose hexadecimal
/Contentsis split across lines, and rejects values that hold anything other than hex digits and white space. A/ByteRangeentry too large for a 64-bit integer is now reported as malformed instead of being read as a different, wrapped value
Version 3.417.57
Fixed
- Grayscale PNG images with 1, 2 or 4 bits per pixel keep their transparent colour when placed through XFA templates or bitmap fonts. The transparency value was compared with the brightness-scaled pixel, so only pure black could ever become transparent
Version 3.417.56
Fixed
- A failed insertion of a page object during redaction, paragraph editing or
TPdf.InsertObjectAtIndexno longer corrupts memory. The engine releases an object it could not insert, and the library then released it a second time;InsertObjectAtIndexnow rejects an out-of-range index before handing the object over
Version 3.417.55
Fixed
- Detailed redaction no longer reveals content hidden by a clipping path around a form XObject. Expanding the form moved its contents onto the page without the clip that applied to the form as a whole, so parts of an image or text that were cropped out became visible after redaction; a form whose own clip actually crops its content is now refused and the redaction reports an error instead
Version 3.417.54
Fixed
TPdfThumbnailViewshows an empty frame for a page that cannot be rendered instead of raising an error on every repaint. A single damaged page used to produce repeated error messages whilst the mouse moved over the control and stopped the following thumbnails from being drawn
Version 3.417.53
Fixed
- Text shaping with the HarfBuzz backend raises the same ‘Text exceeds the shaping run limit’ error as the Uniscribe backend when text needs more runs than
MaxRunsallows. It used to report success whilst dropping the rest of the text
Version 3.417.52
Fixed
WaitForCancellationon the token returned byPdfNoCancellationTokennow waits for the requested time before returningFalse, like any token that is never cancelled. It returned at once, so loops that used it as a cancellable pause ran at full CPU
Version 3.417.51
Fixed
- A task that fails with an unexpected exception no longer stalls
TPdfAsyncExecutor. The executor lost track of the running task, so waiting for idle or shutting down hung and the worker thread stopped; the task is now counted as failed and the worker keeps running
Version 3.417.50
Fixed
- Shutting down or freeing a
TPdfAsyncExecutorwith several workers can no longer hang. A worker that was about to wait for work could miss the shutdown signal because another worker cleared it, leavingShutdownwaiting forever
Version 3.417.49
Fixed
- PAdES trust validation reports a signature as qualified only when its CMS signature and certificate path are both valid. A forged signature that simply included a qualified authority’s public certificate could be reported with
QualifiedTrustStatusvalid whilst its certificate trust was invalid; such signatures are now indeterminate
Version 3.417.48
Fixed
- PDF/A-2, PDF/A-3 and PDF/A-4 validation no longer applies the PDF/A-1 limits on array size, dictionary size and container nesting. Those limits come from the PDF Reference 1.4 table that only ISO 19005-1 uses, so
pvaiArrayOverLimit,pvaiDictOverLimitandpvaiNestingOverLimitcould be reported for conforming files of later parts
Version 3.417.47
Fixed
- PDF/A validation counts an indirect reference such as
12 0 Ras one array element or one dictionary value. It was counted as three tokens, so large page trees, annotation and field arrays were reported withpvaiArrayOverLimitlong before the 8191-element limit, and dictionaries with reference values could triggerpvaiDictOverLimit
Version 3.417.46
Fixed
- PDF/A font width checks look up the right glyph in TrueType fonts that carry only a one-byte (format 0) character map. The lookup took the glyph of the following character code, so
ValidatePdfAcould report width mismatches for fonts whose widths were correct
Version 3.417.45
Fixed
- Font checks during PDF/A and PDF/UA validation no longer read past the end of a file that is truncated directly after a
/FontDescriptorkey, which could raise a range error
Version 3.417.44
Fixed
InjectPdfAMarkersno longer leaves old bytes at the end of a reused destination stream when it copies a document through unchanged, an encrypted one for example. The leftover tail made readers pick up an outdated cross-reference table
Version 3.417.43
Fixed
- Compressed saves keep objects whose header does not begin a new line, such as
endobj 12 0 objor an indented header. The rebuilt cross-reference table marked those objects as free, so every reference to them broke in the saved file
Version 3.417.42
Fixed
- Compressed saves and the automatic ToUnicode repair no longer drop objects from documents whose stream lengths are wrong. Where a stream ended with a bare line feed, the end of the stream could be taken from a later object, so everything between the two was folded into one stream and lost from the saved file
Version 3.417.41
Fixed
- Saving an encrypted or signed document with
Compressedenabled keeps it intact. The extra compression pass treated encrypted stream data as plain bytes and compressed it again, so the saved file opened with blank or broken pages, and it also rewrote bytes a signature covers; such documents are now written exactly as PDFium produced them
Version 3.417.40
Fixed
- PDF/A, PDF/UA and signature validation, and the PDF rewriting functions, work in applications compiled with overflow checking enabled, such as Debug builds that compile the library from source. Their internal object lookup raised an integer overflow error on the first object
Version 3.417.39
Fixed
- Lazarus applications that exit whilst a
TPdfon a form still has a document open shut down cleanly. The library was unloaded before the forms were destroyed, so closing that document at exit could crash; open documents are now closed before the library is released
Version 3.417.38
Fixed
- Adding a 32-bit bitmap whose pixels need more than 2 GB is refused with an error instead of risking a write past the end of an undersized buffer
Version 3.417.37
Fixed
OnUnsupportedFeatureno longer receives reports about a document opened by anotherTPdfcomponent that has no handler of its own
Version 3.417.36
Fixed
- A document search created with
CreateDocumentSearchfinishes safely when pages are added, deleted, imported or moved. It used to carry on with the old page numbering, so later results could name the wrong page or read a page that had been removed
Version 3.417.35
Fixed
- Where the PDFium library cannot be loaded, because the deployed DLL is missing a required function for example, it is unloaded again and the library configuration can still be changed. The partly loaded library used to stay in place, so later calls crashed instead of reporting the problem, and
ConfigurePdfLibraryrefused to run
Version 3.417.34
Fixed
TPdf.AddJpegImagereports a JPEG stream larger than 4 GB with a clear size-limit error instead of passing a truncated length to the engine and failing with an unrelated message
Version 3.417.33
Fixed
- Form JavaScript reading
doc.pathon a document opened from memory or a stream gets an empty path. The callback dereferenced an empty file name, failed with an access violation internally and reported an error to the script instead
Version 3.417.32
Fixed
- A long answer returned to the JavaScript
app.responseprompt, fromOnJavaScriptResponseor the default input box, reaches the script truncated to the space PDFium provides instead of arriving as an empty string of zero characters
Version 3.417.31
Fixed
AddJpegImageDeferredandAddJpegImageFilereport a JPEG stream larger than 4 GB as an error without corrupting memory. A stream handed over with ownership was released twice when it was rejected for its size
Version 3.417.30
Fixed
- Several
TPdfcomponents with interactive forms open at once keep their form timers apart. Each component numbered its timers from 1 whilst PDFium routes timer callbacks by number for the whole process, so a blinking caret or a JavaScript interval in one document could run the other document’s timer or stop it
Version 3.417.29
Fixed
TPdf.FocusedFormFieldIndexno longer reports a stale field after focus moves inside a dynamic XFA form. The XFA focus page was recorded zero-based against one-based page numbers, so the previous page could still claim the old focused field; the XFA page is now tracked correctly and the unrelated AcroForm index is cleared
Version 3.417.28
Fixed
- Form JavaScript that sets
this.pageNumopens the requested page. The zero-based page index was used as a one-based page number, so scripts landed one page early, page 0 cleared the current page and the last page was unreachable; the hostingTPdfViewnow follows the jump as it does for GoTo actions
Version 3.417.27
Fixed
- Setting
TPdf.ActivetoTrueloads the current page once. The page was loaded a second time directly after the document opened, so a page open action, its JavaScript included, ran twice andOnPageChangefired twice
Version 3.417.26
Fixed
- A document that fails whilst its first page or form environment is being prepared no longer leaves that form environment alive. The file and memory loaders and
CreateDocumentclosed the document without shutting the form environment down first, so its JavaScript runtime and cached page handles could leak into the next document opened by the same component
Version 3.417.25
Fixed
- Opening a document that has fewer pages than the page last shown in the previous document works.
TPdfandTPdfViewkept the old page number and tried to load that page from the new file, so activation failed and a valid PDF was reported as damaged or encrypted; an out-of-range page number now falls back to page 1, andCreateDocumentstarts with no page selected
Version 3.417.24
Fixed
- AES-256 encrypted documents (revisions 5, 6 and 7) whose
/Ppermissions are written as an unsigned number, such as4294967292, open normally. Only the signed form was accepted for these revisions, so such files were rejected as malformed even though older revisions already took both forms
Version 3.417.23
Fixed
- AES-GCM (AESV4) documents that keep their metadata stream unencrypted open no matter how
/EncryptMetadata falseis spaced or broken across lines. The setting was found by matching one exact spelling, so other valid layouts sent the plain metadata through decryption and the whole document failed to open with a stream authentication error
Version 3.417.22
Fixed
- Decrypting an AES-GCM (AESV4) document now fails when its MAC has been removed. The permissions value authenticated by
/Permsstates whether an ISO/TS 32004 integrity code is required, but the code was only checked where the unauthenticated trailer still listed/AuthCode, so deleting that entry silently disabled whole-document integrity. Encryption without integrity protection now always sets permission bit 13, so its output never announces a MAC it lacks
Version 3.417.21
Fixed
TPdfEncryptOptions.Defaultnow really allows every operation. Its permission value$FFFFFFF0cleared the print and modify-contents bits of ISO 32000-1 Table 22, so documents saved with the default options could not be printed or edited in a conforming reader; the default is now$FFFFFFFC, which leaves only the two reserved low bits clear. Code that setsPermissionsexplicitly is unaffected
Version 3.417.20
Fixed
- Decoding a PNG image, one placed by an XFA template or a bitmap font for example, rejects a chunk whose declared length runs past the end of the data. A length close to 2 GB used to wrap the bounds check around, so a crafted file could make the decoder read outside its buffer instead of failing cleanly
Version 3.417.19
Fixed
- PDF/A validation reports
pvaiNotdefGlyphShownwhen a text showing operator passes a string that ends with a lone byte to a font using anIdentity-HorIdentity-VCMap. Such a byte cannot form a two-byte CID and the reader resolves it to .notdef, which the full PDF/A-4 profile reports at 6.2.10.9/1. Fonts with custom CMaps are unchanged, and a complete two-byte code stays clean
Version 3.417.18
Fixed
- PDF/A-4 validation no longer reports
pvaiExtensionSchemaPrefixorpvaiExtensionSchemaEntryMissingfor an extension schema description with a renamed prefix or a missing field. ISO 19005-4 6.7.2.1 judges the XMP packet itself and has no rule for the shape of such a description, so those packets are compliant under the full PDF/A-4 profile. Parts 1 to 3 keep both findings
Version 3.417.17
Fixed
- PDF/A-4 validation no longer reports
pvaiMissingExtensionSchemafor a metadata packet that uses a property from a custom namespace. ISO 19005-4 6.7.2.1 asks only for a well-formed UTF-8 XMP packet and does not require an extension schema description, so such a file is compliant under the full PDF/A-4 profile. Parts 1, 2 and 3 keep the requirement, and the PDF/A-4 identification findings are unchanged
Version 3.417.16
Added
- PDF/A validation reports
pvaiXmpPropertyUndeclaredwhen a metadata packet uses a property from a namespace that no extension schema in the same file declares, which ISO 19005-1 6.7.2 and ISO 19005-2 6.6.2.3.1 require. A property an extension schema does declare stays clean, and a file without any extension schema keeps its existingpvaiMissingExtensionSchemafinding instead of gaining a second one
Version 3.417.15
Fixed
- PDF/A-1 validation accepts
pdfaid:amdin the PDF/A identification schema, so a part 1 file that records the 2007 amendment is no longer reported as carrying a property the schema does not define.pdfaid:corrandpdfaid:revstay reported for part 1, and parts 2, 3 and 4 are unchanged
Version 3.417.14
Fixed
- PDF/A validation no longer reports
pvaiForbiddenRenderingIntentfor a permitted rendering intent. A content stream that set one of the four standard intents and then named another resource, as in/RelativeColorimetric ri /T1_0 1 Tf, was flagged because the name after the operator was read as the intent. An intent outside the four values is still reported
Version 3.417.13
Fixed
- PDF/A validation follows the
/Parentchain of a widget annotation to find its field type, so the button normal-appearance rule also covers a widget that is a separate object from its field. A button whose/FTsits on the parent field and whose/APholds a plain/Nstream is now reported
Version 3.417.12
Fixed
- PDF/A validation decides the widget action rule (
pvaiWidgetActionForbidden) on the active annotation, so a private object carrying/Subtype /Widgetand/Ais no longer reported. A real widget with/A, or with/AAbefore part 4, is still reported, and a file whose active revision cannot be read keeps the byte-level scan
Version 3.417.11
Fixed
- PDF/A validation decides the button normal-appearance rule on the active annotation itself, so a
/FT /Btnwidget whose/APholds a plain/Nstream is reported whilst an object carrying the same keys outside/Annotsis not. This removes the last file-wide annotation byte scan; a file whose active revision cannot be read keeps it as a fallback
Version 3.417.10
Fixed
- PDF/A validation judges annotation dictionaries, flags and appearance streams through the active page
/Annotsgraph. A private object that merely looks like an annotation no longer producespvaiAnnotationFlagsViolationorpvaiAnnotationApDictViolation, whilst a real annotation with a bad/F,/CAor/APis still reported. A file with no readable active revision keeps the conservative byte-level checks
Version 3.417.9
Fixed
- PDF/A-3 validation classifies marked content in annotation appearance streams that omit
/Resourcesagainst the page resource dictionary, instead of leaving the associated-file candidate unverified
Version 3.417.8
Fixed
- PDF/A-3 validation resolves the inherited page resources for a Form XObject or Type 3 font that omits
/Resources. Associated-file candidates in those streams are classified instead of being left unverified
Version 3.417.7
Fixed
- PDF/A validation now checks annotation subtypes against the correct list for every part, PDF/A-1 included, whose PDF 1.4 table is shorter than the ISO 32000-1 table used by parts 2 and 3. An undefined subtype in a PDF/A-1 file with an unreadable active revision is no longer missed; the six part-profile tables were verified against the rules shipped with veraPDF
Version 3.417.6
Fixed
- PDF/A validation reads annotation subtypes from the active page tree rather than scanning the file for
/Subtypenames. Indirect and escaped subtype values, an omitted/Type, object-stream members and superseded revisions are resolved correctly, whilst private dictionaries, lookalike keys and detached pages no longer produce false findings. A page tree that cannot be walked completely now reportspvaiAnnotationSubtypeUnchecked, and a file with an unreadable active revision keeps conservative byte-level checks
Version 3.417.5
Fixed
- PDF/A-2 and PDF/A-3 validation accepts
FileAttachmentandRedactas annotation types. Attachment content, appearance and associated-file rules still apply
Version 3.417.4
Fixed
- PDF/A-3 validation follows active embedded-file name trees, associated-file arrays and file attachment references to find malformed file specifications. It validates
Type,F,UFandAFRelationship, indirect values included
Version 3.417.3
Fixed
- PDF/A-3 validation checks related file arrays in
RF, their matching filename andEFentries, name/stream pairs and active object generations included. Related streams receive the same MIME andParamschecks as directly embedded streams
Version 3.417.2
Fixed
- PDF/A-3 validation follows the named
Propertiesarray selected by a balanced/AFmarked-content sequence. It reports a file association used by theDPpoint operator as invalid
Version 3.417.1
Added
- PDF/A-3 validation includes the
pvaiEmbeddedFileUnassociateddiagnostic for embedded files without a verified association
Fixed
- PDF/A-3 validation resolves indirect
/AFarrays and checks file specification generations in reachable catalogues, pages, annotations, structure elements and Form or Image XObjects. Superseded arrays and unrelated private dictionaries no longer satisfy the association check
Version 3.417.0
Fixed
- PDF/A-3 validation reports an invalid embedded file
Paramsdictionary or an absent or invalidModDatewithin it. An omitted or nullParamsentry remains allowed
Version 3.416.1
Fixed
- PDF/A-3 validation reports missing or invalid MIME declarations on active embedded file streams, indirect names and streams in incremental revisions included
Version 3.416.0
Added
- Source-preserving transactions automatically review ordinary Form edits when the runtime exposes the optional edit query, retaining proven exclusive source identities and preserving compatibility with older runtimes
Version 3.415.3
Fixed
- Reviewed source generation preserves uniquely owned ordinary Form streams and ordinary ancestors of tagged content, preventing repeated private invocation aliases whilst keeping shared resource-fallback consumers isolated
Version 3.415.2
Fixed
- Preserving source generation accepts empty path painting and closing operators without inventing graphics objects, cleared paths, split content streams and empty Form metadata edits included
Version 3.415.1
Fixed
- Form ownership review no longer treats invisible text or ordinary colour images as Pattern paint consumers; stencil images use only the fill channel, with native text-mode rounding and saved graphics-state restoration preserved
Version 3.415.0
Added
- Source-event preserving transactions now replay qualified coloured and shading Patterns and retain uncoloured Pattern colour-space components, original resource definitions and Form anchoring through checked saves
Version 3.414.6
Fixed
- Form usage review now distinguishes unpainted, overwritten and restored Pattern colours, tracks fill and stroke separately, and retains safe private-reference handling; native preserving generation keeps its independent Pattern replay restrictions
Version 3.414.5
Fixed
- Shared Type3 fonts now retain separate selection contexts, allowing unrelated unselected pages to keep exclusive Form ownership whilst preserving cached-glyph, private-reference and native resource-fallback safety checks
Version 3.414.4
Fixed
- Pattern selection stays within its effective, parser-page and renderer-page resource context instead of activating unselected pages; private references still restore complete nested resource checks, references discovered after a parent was scanned included
Version 3.414.3
Fixed
- Unused indirect tiling and shading Pattern definitions no longer block independent Form edits; fill/stroke selections, nested calls, private aliases and alternate consumer roles retain conservative ownership checks
Version 3.414.2
Fixed
- Windows native rendering uses the font dictionary referenced by an ExtGState Font array instead of substituting the default font, Type3 glyphs and their inherited resources included
Version 3.414.1
Fixed
- Unused indirect Type3 font definitions no longer prevent exclusive Form edits; selected fonts, nested font calls and opaque font or glyph references retain conservative sharing checks
Version 3.414.0
Added
- Source-bound reviews can split selected whole-object Form invocations into independent scalar structure bindings, with explicit logical insertion positions, private ancestor cloning and per-page retirement of original OBJR references
Fixed
- Preserving native edits accept Image and Form XObjects whose Subtype is an indirect name, whilst continuing to reject string substitutes
Version 3.413.4
Fixed
- Structure binding validation accepts per-page OBJR references to a shared object when they agree on one scalar ParentTree owner, and removing one reference retains that inverse binding until the final reference is removed
Version 3.413.3
Fixed
- Form ownership review follows inherited soft-mask, nested Form and Type3 XObject calls in their actual resource context, allowing unrelated aliases whilst rejecting real shared calls, missing names in an existing category and oversized decoded auxiliary content
Version 3.413.2
Fixed
- Exclusive tagged Form edits can ignore unused XObject aliases in explicit auxiliary drawing-resource tables, whilst actual nested calls, private references and uncertain inherited-resource paths retain ownership safeguards
Version 3.413.1
Fixed
- Preserving edits to an independently owned tagged Form no longer mistake unrelated image, font-program or function data for drawing resources; soft masks, Type3 glyphs and patterns retain context-specific sharing safeguards
Version 3.413.0
Added
- Bundled Windows native modules now provide reviewed structured Form generation for checked preserving transactions, retaining exclusive MCID/OBJR stream identities and private unbound calls under original/current snapshot ownership checks
Version 3.412.0
Added
- Checked source-event preserving commits use original and current document snapshots to review exclusive tagged Form ownership, preserve original structured stream identities or private unbound calls, and restore the complete batch after review or generation failures when the optional native Form extension is available
Fixed
- Form usage review now counts direct annotation dictionaries emitted by native annotation creation, appearance references introduced during an active edit batch included
Version 3.411.0
Added
- Snapshot-bound Form usage review counts every page call and all annotation appearance states, preserves stream generations and separately excludes ancillary soft-mask, Pattern and Type3 resource graphs from exclusive ownership decisions
Version 3.410.0
Added
- Revision-checked page content-event rebinding moves an existing MCID to an explicitly reviewed structure element, optionally renumbers it and updates the physical declaration, structure K and ParentTree together, with shared-page isolation, retained paragraph maps and whole-transaction recovery after later failures
Version 3.409.1
Fixed
- Structure binding inspection accepts valid zero-length content streams in page Contents arrays
- Preserving tagged-page edits keep explicit MCR/Stm references linked to the current page streams, isolate shared MCR declarations for unedited pages and avoid content-stream cloning caused only by structural back-references
Version 3.409.0
Added
- Content-event tag and typed parameter editors now support represented page and private Form declarations, with exact member ownership, isolated named dictionaries and recursive paragraph-map invalidation when ActualText is added, changed or removed; stable tagged-page metadata retains existing ParentTree/MCID bindings
Version 3.408.0
Added
- Removing an ActualText declaration can invalidate paragraph coordinate maps throughout affected nested Form branches, preserving unrelated invocation tables and restoring the entire transaction on metadata failure
Fixed
- Horizontal PCM1 maps for several glyphs in one text object are retained when an unrelated neighbouring ActualText declaration is removed
Version 3.407.0
Added
- Revisioned page and nested Form content-event edit views and transaction-bound cursors support inserting paired scopes or marked points and removing declarations whilst retaining their content; affected direct-container paragraph maps are invalidated when ActualText is removed, with snapshot rollback on failure
Fixed
- Successfully decoded empty content streams remain empty after save or transaction rollback, so compressed empty stream slots can be edited again
Version 3.406.0
Added
TPdf.SetContentEventTag,SetContentEventParamandRemoveContentEventParamedit empty source declarations and marked points inside preserving transactions, private nested Form invocations included; a new optional PDF text-parameter reader decodes PDFDocEncoding and Unicode values without changing the legacy UTF-8 reader, and supported 255-byte tags and keys survive PDF name escaping and reload
Version 3.405.0
Added
- Source-event preserving transactions now support paths, named images and Form invocation geometry, with private dirty untagged Form subtrees, nested removal, preserved Matrix/BBox behaviour and reusable resource names; unsupported inherited-state or tagged-Form edits fail before anything is written
Version 3.404.0
Added
TPdf.ContentEventCountandTryGetContentEventexpose checked source declarations and marked points, empty pages and individual Form invocations included, through all four bundled Windows native variantsBeginPageObjectEditTransactionacceptsPreserveSourceEvents=Truefor supported text batches: empty/gapped-stream scopes and opaque properties survive repeated saves, whilst unsupported edits roll back without ordinary regeneration; source capture rejects truncated operands and bounds retained metadata
Version 3.403.0
Added
- Direct text, object and ActualText edits invalidate affected saved paragraph cluster tables, whilst geometry and style edits preserve them through shared marked-content scopes across adjacent content streams; declaration-local parameter isolation keeps independent named-property users separate
Version 3.402.0
Added
- Native character association supports legacy PCM1 vertical columns with distinct per-glyph ActualText owners, reports the saved format through
TPdfParagraphNativeMap.FormatVersionand invalidates the complete declared column after supported member or ActualText edits
Version 3.401.0
Added
- The bundled Win32/Win64 ordinary and V8/XFA DLLs provide native character provenance for saved paragraph cluster association and cluster-safe selection; every variant preserves its existing exports, and V8/XFA builds also expose original structure role names before RoleMap resolution
Version 3.400.0
Added
ReadPdfParagraphNativeMap,ReadPdfVerticalNativeMapandPdfParagraphSelectionFromNativeassociate saved clusters with exact native character indices through the optional provenance extension, distinguishing physical glyphs from ActualText sources and keeping repeated Form invocations independent
Version 3.399.0
Added
TPdf.TryGetCharacterSourcereads optional native glyph ordinals, Form invocation paths and exact ActualText declaration offsets, checking owner identity and path bounds; standard DLLs without the extension return unavailable whilst ordinary text extraction carries on
Version 3.398.0
Added
- A Form-path overload of
ReadPdfVerticalClusterMapreads a saved column inside a nested Form or repeated invocation, validating its complete membership within that Form and keeping page-level and legacy PCM1 compatibility
Version 3.397.0
Added
- A Form-path overload of
ReadPdfParagraphClusterMapselects one saved paragraph line inside a nested or owned container, preserving the caller's current page and rejecting invalid or ambiguous selections
Version 3.396.3
Fixed
- Vertical paragraph cluster maps now persist as one shared logical scope across every glyph in a column, survive native saves and page continuation, and invalidate after a member or its ActualText is edited; column reads reject incomplete membership and interior glyph handles
Version 3.396.2
Fixed
- Saved horizontal paragraph selections accept several glyphs sharing one cluster and reject overflow, partial overlaps and logical gaps; new line maps bind to their ActualText, and batch edits discard affected maps whilst preserving maps outside the changed text or declaration scope
Version 3.396.1
Fixed
- PDF/UA-2 validation follows the active catalogue EmbeddedFiles name tree when it checks required descriptions, indirect Kids and Names arrays, compressed dictionaries and optional or space-free Type entries included. Only a top-level Desc key counts, so nested keys do not hide a missing description and unrelated AF-only file specifications do not cause this finding; PDF/UA-1 retains its recommendation-only policy
Version 3.396.0
Added
- PDF/A font encodings and glyph mapping. Validation checks the encoding and glyph names of non-symbolic TrueType fonts, including the Adobe Glyph List exception for
/Differencesin later parts. PDF/A-1 still prohibits that entry. It also checks composite-font CMap embedding and predefined exceptions, writing modes, CID registry and ordering compatibility, supplements, CID-to-glyph mappings, forbiddenToUnicodevalues, and references to.notdefregardless of rendering mode - PDF/A font metrics and subsets. Report mismatches between declared glyph widths and embedded TrueType, CFF or Type 3 glyph widths. Check
/CharSetfor Type 1 subsets and/CIDSetfor CIDFont subsets against the glyphs used. PDF/A-1 requires the applicable declaration, whilst later parts check a declaration when the applicable rule requires it - PDF/A colour, transparency and images. Validate ICCBased CMYK overprint and profile restrictions, DeviceN spot-colour definitions and limits, reachable uncalibrated DeviceRGB and DeviceCMYK, and the default blending colour space when transparency is used without a PDF/A output intent. JPEG 2000 checks read channel counts, colour specifications and sample depths from the codestream, images with no explicit
ColorSpaceincluded - PDF/A file structure and limits. Check the original file header and binary marker, indirect-object and cross-reference layout, stream separators and lengths, and trailing bytes where the claimed part forbids them. PDF/A-2 and later also check the shape of the trailer
/ID; PDF/A-4 checks the catalogue version. Apply the limits for the claimed part to numeric values, strings, graphics-state nesting, CIDs and DeviceN components - PDF/A actions, names and metadata. Apply part-specific restrictions to additional actions, permissions keys, presentation steps, requirements, halftone origins, annotation types, inline-image filters and UTF-8 names. Validate XMP identification and extension-schema prefixes, required schema fields and predefined property forms. PDF/A-4 reports non-UTF-8 metadata packets and private-use characters in
ActualText - Embedded-file validation budgets.
ValidatePdfAComplianceExaccepts caller-defined limits for recursive PDF/A-3 and PDF/A-4f attachment inspection. Attachments beyond the budget are reported as unchecked. The default overload retains its 64 MiB and 32-file limits - PDF/UA diagnostics. Report a
ToUnicodemapping to U+0000 in PDF/UA-1. PDF/UA-2 reports missing descriptions on embedded-file specifications and private-use characters in human-readable text strings,AltandActualTextincluded - PDF/VT-3 and PDF/R.
SaveAsPdfVTandSaveAsPdfVTToStreamwrite PDF/VT-3 whenpvc3is selected. Validation requires its revision identifier and accepts PDF/X-6, PDF/X-6p or PDF/X-6n as the base. PDF/R validation reports unsigned incremental updates and permits legitimate signature revisions.SaveAsPdfRwrites a single revision with a complete cross-reference table - PAdES signature validation. Check signature dictionary signing time, forbidden CMS signing-time attributes, required CMS certificates, and document timestamp keys, version and subfilter. DSS validation also checks VRI key syntax and signature matching, empty certificate or revocation arrays, conflicting timestamps, and references missing from the document-level DSS
- SHA-3 PAdES signing. Local, OpenSSL and remote/HSM signing support SHA3-256, SHA3-384 and SHA3-512 where the backend supports them. Windows callers can check availability with
WinSha3DigestAvailable. Remote signing validates the returned digest family and length. SHA-256 requests keep the original serialised format and the loader also accepts the new SHA-3 format
Changed
- Validation performance. Byte-level checks reuse a shared token index for name queries. Name lookup and counting took roughly one tenth of the previous time on the measured documents, with identical results. Inputs too large to index fall back to scanning
- PAdES diagnostic scope.
ppeiForbiddenDtsKeycontinues to report timestamp dictionary keys that should be absent. Strictly prohibited keys now have a separate diagnostic
Fixed
- PDF/A font and resource false findings. Resolve
/Differencesglyph names and count a font program as embedded only when its stream resolves. Apply embedding and CID-to-glyph requirements to painted glyphs, with the invisible-text exception. Resolve Type 3 glyph resources from their own dictionaries when present - PDF/A output intents and appearance streams. Resolve indirect catalogue output intents and apply PDF/A-4 page-level intents only to their own pages. Accept ASCIIHex-encoded ICC profiles and label saved PDF/A output intents after the actual embedded profile. Consider device colour and transparency in annotation appearances, all widget appearance states, and annotation blend modes. Isolated groups can supply the applicable colour context, and files that never paint avoid spurious output-intent findings
- PDF/A content and dictionary parsing. Use the active cross-reference chain to inherit trailer entries and ignore free objects. Keep adjacent content-stream operators separate, recognise DeviceGray operators, and skip inline image payloads whilst checking interpolation. Scope action, annotation flag, opacity and XObject checks to their actual owners or use, avoiding false findings for similarly named blend modes and transparency groups
- PDF/A XMP and attachments. Decode UTF-8, UTF-16 and UTF-32 metadata before applying the claimed part’s rules. Compare PDF/A-1 document information values with XMP and recognise predefined schemas for the applicable part. Inspect MIME types on the embedded stream, accept valid custom
AFRelationshipnames, and allow PDF/A-4 attachment streams that omit the optionalType - PDF/UA-1 conformance corrections. Check top-level file names for attachments reached through either the name tree or file attachment annotations. Resolve inherited language and indirect
Markedvalues, accept alternative descriptions on the owning structure element, and require a role map only for nonstandard tags. Honour predefined CJK and form-default font exemptions, check subset declarations only when present, and remove PDF/A-only metadata and unsupported annotation-flag findings - Hybrid-reference files and redaction. Keep objects that are active in a supplemental cross-reference stream even where the classic table lists them as free. Redaction no longer rejects a document solely because a highlight appearance uses a non-normal blend mode. Page-content blend mode restrictions still apply
- PDF/R output and input reads. The whole-file fallback also writes one revision, including where the original cross-reference pointer cannot be resolved. Eligible unencrypted PDF 2.0 input uses a PDF 1.7 header, with signed and encrypted headers preserved. Marker injection and whole-file validation read input in blocks of at most 64 KiB
- Windows signing and encryption errors. PAdES signing finds certificates by thumbprint and uses a valid private-key handle and padding configuration for PKCS#1 v1.5. Encryption requests for legacy revisions now explain that the writer supports R5, R6 and R7
Version 3.395.0
Added
- PDF/R validation also enforces reference integrity, version-marker position and signature widgets: an indirect reference carrying a non-zero generation number, or naming object 0 or one beyond the file's maximum object number, reports
pvriIndirectReferenceInvalid(§6.2.4); a%PDF-raster-1.0comment that is not the line immediately before the laststartxrefreportspvriVersionMarkerPositionInvalid(§5); and a pageAnnotsentry that is not aSigwidget, or whoseRectis missing or has non-zero width or height, reportspvriSignatureWidgetInvalid(§6.5.4). Both the xref-chain scan and the whole-file fallback report every rule
Changed
- Byte-level validators now share the two lexical views of a byte image (
PdfStructureBytesandPdfContentScanBytes) instead of rebuilding and copying the whole file at every entry point. Views are bounded by a global 32 MiB budget, copied on return and dropped together with the object index when the byte image is edited in place
Version 3.394.0
Added
TPdfXConformancegainspxc6pandpxc6nfor the ISO 15930-9:2020 partial-exchange variants:SaveAsPdfXwritesGTS_PDFXVersionasPDF/X-6porPDF/X-6n, both byte-level validation paths tell the three X-6 identifiers apart, and the output intent may reference an external profile through/DestOutputProfileRefinstead of embedding/DestOutputProfileTPdf.LinkAnnotationToAnnotationIndex, with a matchingTPdfViewwrapper, maps a link fromGetLinkAnnotationsto the index used byAnnotationandUpdateAnnotation, so the whole annotation editing API can be applied to an existing link
Changed
- CMap block emission and
TPdfView.SelectedTextnow preallocate their output instead of concatenating every fragment, removing quadratic growth on large fonts and multi-range selections; the emitted bytes are unchanged, including the separator rule for empty fragments - Byte-level validators reuse the decoded payload of each stream within one byte image instead of inflating the same ICC profile, CMap, Form or metadata object for every rule. Cached results are bounded per image, copied on return and dropped when the byte image is edited in place
Version 3.393.0
Added
- PDF/R validation enforces the PDF/raster 1.0 structural requirements that only a byte-level scan can see: a page object outside the §6.5.1 entry white list (
pvriPageDictionaryInvalid), a page tree node outside Table 29 or a root carryingParent(§6.5.2,pvriPageTreeNodeInvalid), aResourcesdictionary whoseXObjectkeys are not exactlystrip0–stripN(§6.5.5,pvriPageResourcesInvalid), aContentsthat is not a single stream drawing a strip throughqQcmDoonly (§6.5.7,pvriPageContentsInvalid), a strip image dictionary outside the §6.6.1 white list or strips of one page disagreeing onWidth,ColorSpace,BitsPerComponentorIntent(pvriImageDictionaryInvalid,pvriStripConsistencyInvalid), a colour space and sample depth that do not form a §6.6.2–§6.6.4 profile or aCalGraystrip withoutGamma2.2 (pvriStripColorSpaceInvalid), a bitonal strip settingBlackIs1or aDecodeother than [0.0 1.0] (§6.6.2,pvriStripDecodeInvalid), a stripFilterthat contradicts its sample depth or aCCITTFaxDecodewithoutK-1 (pvriStripFilterInvalid), and anICCBasedprofile declaring anAlternateother thanDeviceRGB(§6.6.4,pvriIccAlternateInvalid). Both the xref-chain scan and the whole-file fallback report every rule
Fixed
- PDF/R validation now pairs the header with the encryption profile in both directions: §6.2.2 admits
%PDF-1.4through%PDF-1.7for an unencrypted file and §6.2.3 reserves%PDF-2.0for an encrypted one, so a%PDF-2.0header without/EncryptreportspvriBadHeaderinstead of passing
Version 3.392.1
Fixed
- Saving to any of the PDF standards no longer crashes with a stack overflow: the object-number scan and object-stream expansion called each other with no terminating case, so every byte-level injector — PDF/A, PDF/X, PDF/E, PDF/VT, PDF/UA, PAdES and PDF/R — failed on any input, a minimal well-formed file included. The expansion routine now bounds its object-header table with a non-expanding scan, which leaves the shared object index and the superseded-member handling unchanged
Version 3.392.0
Added
TPdf.SetTextObjectRenderModechanges a text object's rendering mode (FPDF_TEXTRENDERMODE_*) after creation, so callers can build invisible OCR and search text layers, outlined glyphs and clipping text without rebuilding the object; it complements the existingGetTextRenderModeTPdf.FocusFormFieldAtfocuses the form field annotation at PDF user-space coordinates and clears form focus when no annotation occupies that point, exposing the nativeFORM_OnFocusinteraction to viewer codeTPdf.AnnotationSupportsAttachmentPointsreports whether an annotation type supports quadpoints (text markup and link annotations), independently of whether any points are currently stored inTPdfAnnotation.HasAttachmentPoints- AES-128-GCM and AES-256-GCM accept any non-empty IV length: non-96-bit IVs derive
J0through GHASH as NIST SP 800-38D 6.4 specifies, whilst the 96-bit IV path is unchanged. The implementation is checked against NIST test cases 13 and 15 and independent non-96-bit vectors
Changed
- Byte-level validators (PDF/A, PDF/UA, PAdES, PDF/X, PDF/E, PDF/R and PDF/VT) and object-stream expansion now share one object index per byte image instead of rescanning the whole file for each object, and keyword searches use Boyer-Moore-Horspool; large documents with many objects validate substantially faster with identical results
- CMap and ToUnicode generation and markup entity decoding preallocate their output instead of growing it one fragment at a time, removing quadratic behaviour for large fonts and long text
Fixed
- PDF/R validation no longer rejects conformant scans or accepts non-conformant ones on six counts: the catalogue
/Metadatastream and the trailer/IDarray are optional on an unencrypted file (ISO 23504-1 §6.4.1, ISO 32000-1 Table 15), a page may carry more than one raster strip (§6.5.5),JPXDecodeis outside the §6.2.2 filter white list whilstCryptis admissible only on an encrypted file (§6.2.3), the encrypted profile requires the Standard security handler with/V5 and/R6 (§6.8), and the required XMP properties follow the Info entries actually present through the §6.4.4 Table 1 mapping instead of three hard-coded dates SaveAsPdfRandSaveAsPdfRToStreamwrite an XMP packet that satisfies their own §6.4.4 parity rule: the packet is derived from the Info dictionary actually written, so a source/Creatoror/CreationDatethat no option overrides is represented instead of dropped. Info values are decoded as PDF text strings — literal or hex, UTF-16BE / UTF-8 / PDFDocEncoding — and re-encoded as UTF-8, so a non-ASCII creator no longer yields a packet holding invalid UTF-8 octets, andValidatePdfRcompares the two sides as text rather than as raw bytes
Version 3.391.0
Added
- PDF/E validation enforces the byte-level ISO 24517-1 rules it previously left to an external tool:
ValidatePdfEnow reports hexadecimal-string form (§6.6), an external stream reference in a stream dictionary (§6.7), integer, name and DeviceN implementation limits (§6.9), anNChannelDeviceN (§7.3.4), image/Interpolate true(§7.4), PostScript and Reference XObjects (§7.5–§7.7), an ExtGState transfer function (§7.9), an invalid optional-content usage category (§7.12), annotation flag violations (§9.3), anImportForm, set-state or no-op action (§11.1),bytes=orencoding=in the xpacket header (§13.4), a missing or zero-length §13.5 XMP property, an/MHmedia parameter dictionary (§15.4) and a Names/AlternatePresentationsentry (§15.5). Both scan paths see every rule, so a document with a usable xref chain and one that falls back to the whole-file scan report the same findings
Fixed
SaveAsPdfEno longer writes an XMP packet that misses the §13.5 file identifiers: the packet now carriesxmpMM:DocumentIDandxmpMM:VersionIDasuuid:strings formed from the document and instance identifiers, plusxmpMM:RenditionClass, anddc:titleis written asUntitledwhen the caller supplied no title because §13.5 forbids a zero-length value for any of them
Version 3.390.0
Added
TPdf.AddJpegImageDeferredandTPdf.AddJpegImageFile, with matchingTPdfViewoverloads, embed a JPEG as its originalDCTDecodestream without copying the whole file up front: only the first 8 KiB are read at insert time to build the image dictionary, and the remaining bytes are pulled through a stream bridge at render and save time. UnlikeAddImagethe JPEG is never decoded to a bitmap and re-encoded, and unlikeAddJpegImageit is never buffered whole in the document.AddJpegImageFileopens and owns the file;AddJpegImageDeferredtakesOwnsJpegImageto decide who closes the caller's stream
Version 3.389.2
Fixed
- Saving into a destination stream that cannot be resized no longer reports success whilst leaving that stream's previous bytes behind the new ones: the truncation is now verified, so a stream that still holds data is rejected with an error instead of yielding a file whose old trailer survives past the rewrite. A stream that is already empty is still accepted
OptimizeImagesno longer strands the source bitmap PDFium hands over when the detail measurement or the resampler fails part-way through it, which previously leaked one bitmap per failing image for the lifetime of the processLastSaveSpillCountno longer counts the same store twice whenRenderPagesParallelcaptures its source, so the reported number matches the stores that actually spilled to disk
Version 3.389.1
Fixed
- Saving no longer slows down quadratically on a document with many objects: PDF 1.3 normalisation, version-compliance validation and the byte-level structure scan resolve object references through a single-pass index instead of rescanning the whole file for each one, and a stream with an indirect
/Lengthresolves it through that index instead of a full-document search per stream. A 10,000-page fixture that previously ran for minutes now saves in about 1.4 seconds
Version 3.389.0
Added
- PDF/A-2 and later validation reports a content stream that consumes a named resource its own
Resourcesdictionary does not define aspvaiInheritedContentResource: a page, an invoked Form XObject and a Type3 font'sCharProcsare each judged against theResourcesexplicitly associated with them, so a name that only resolves through the page tree or the invoking page is a violation, whilst the built-inDeviceGray,DeviceRGB,DeviceCMYKandPatterncolour spaces stay exempt
Version 3.388.0
Added
- PDF/A-2 and later validation reports an encoding CMap that declares a CID above 65535 as
pvaiCidOverLimit, judging acidrangestart, the last CID that range maps onto, and acidchartarget;ToUnicodemappings carry Unicode values rather than CIDs and stay out of scope
Version 3.387.1
Changed
- Text snapshot reads are faster: a read of a non-current page reuses the cached page scene and its text page instead of loading and closing both on every call, and a cached snapshot is cloned with a block copy of the character array rather than an element-by-element loop
Fixed
- Reading a text snapshot no longer hangs on a page with many text objects: the text-object lookup table kept stale occupied slots when it grew, so the lookup could probe forever once the table filled; growing the table now clears the old slots before reinserting
Version 3.387.0
Added
- PDF/A content-stream validation follows
Doinvocations into Form XObjects, nested forms and inherited resources included, and reports an undefined operator inside an invoked form aspvaiUndefinedContentOperatorwhilst a declared but never invoked form stays exempt; a type 5 halftone whose non-process colorant components lackTransferFunctionreports the newpvaiHalftoneTransferFunctionMissing
Version 3.386.10
Fixed
- Rendering-intent validation now reads the operand before the
rioperator (operands precede operators), covers inline-imageIntententries and Form XObject content streams, and ICC validation checks the profile signature, version, device class and colour space
Version 3.386.9
Added
- Action and identification validation now cover the 6.5 and 6.6 corpus: Sound and Movie actions are checked in every part instead of PDF/A-1 only, a Named action outside the four page-navigation names is reported, and an invalid
pdfaidnamespace, part or conformance value reportspvaiPdfAIdentifierInvalid
Version 3.386.8
Added
- Annotation validation now reports an annotation dictionary without
F(Popup excepted) and a button widget whose/AP /Nis a stream instead of an appearance-state subdictionary
Version 3.386.7
Added
- Hex-string validation now also covers page content streams and reports non-hexadecimal characters as
pvaiHexStringInvalidChar;pvaiNameNotValidUtf8decodes#xxescapes and covers Separation and DeviceN colourant names
Version 3.386.6
Added
- An ExtGState that names a rendering intent outside
RelativeColorimetric,AbsoluteColorimetric,PerceptualandSaturationreportspvaiExtGStateRenderingIntentInvalid
Version 3.386.5
Added
- PDF/A-3 associated files are checked from end to end: an embedded file that declares
AFRelationshipbut is not referenced from any/AFarray reportspvaiEmbeddedFileUnassociated
Version 3.386.4
Fixed
- The
/ASrule no longer depends on the configuration dictionary being inline: an OCCD reached through an indirect reference, or one listed only inConfigs, is inspected as well, PDF/UA validation included - Implementation-limit validation matches the official veraPDF corpus: strings and integers inside page content streams now count toward the 32767-byte and 32-bit limits, names are measured after
#xxescape expansion instead of by raw bytes, and page boundaries are judged on the effective inherited value so a page value that overrides an invalid page-tree root is accepted
Version 3.386.3
Added
- PDF/UA-1 validation now enforces 7.10: every optional-content configuration dictionary under
/Dor/Configsmust carry a non-emptyName, reported aspvuaiOptionalContentConfigMissingNamefor inline and indirect dictionaries alike
Version 3.386.2
Added
- The PDF/A-2 and later graphics-dictionary rules report
pvaiExtGStateHtpPresent,pvaiHalftoneTypeInvalid,pvaiHalftoneNamePresentandpvaiImageBitsPerComponentInvalid, covering halftone phase, halftone type and name, and image sample depth including the image-mask rule
Version 3.386.1
Added
- PDF/A validation enforces the ISO 19005-2/3 6.9 optional-content rules on every configuration dictionary:
ValidatePdfAreports a missing, empty or duplicateName(pvaiOptionalContentNameMissing,pvaiOptionalContentNameDuplicate) and anOrderarray that omits an optional content group of the file (pvaiOptionalContentOrderIncomplete) - PDF/A validation also enforces the implementation limits shared by every part and the PDF/A-3 embedded-file MIME rule:
pvaiStringOverLimit,pvaiDeviceNOverLimit,pvaiPageBoxSizeInvalidandpvaiEmbeddedFileSubtypeInvalid
Version 3.385.0
Changed
TPdfVerticalParagraphReportnow returns the shaped record of every emitted column inSlices, so a caller can hit-test a vertical paragraph and fold the glyph indices throughPdfShapedTextSelectioninstead of losing the mapping with the column layout; each column also saves aPdfParagraphClusterMapmark on its first page object, whichReadPdfVerticalClusterMapreads back after a reopen, andColumnObjectsnames the object to pass
Version 3.384.0
Added
- Redaction accepts graphics transfer functions when the selected composite rasterizer advertises the new
PdfRedactionCompositeTransferFunctionscapability:/TRand/TR2reached the source renderer only through soft-mask states before, and custom graphics transfers were rejected outright
Changed
- The optional MuPDF composite bridge implements
/TRand/TR2for paths, text, images and axial or radial shadings, honours four-function arrays with the grey slot, and lets/TR2take precedence over/TR; a document without a transfer function still renders byte-identically - The source preparer now also recognises MuPDF 1.29.0 alongside 1.28.5 and injects the transfer support into the generated processor
Version 3.383.1
Fixed
- An XFA widget that a layout change moves or resizes now keeps its loaded edit rectangle and value: the shipped V8 library compares the widget rectangle before it recaches it, instead of letting the recache overwrite the value first, so a repeated subform that grows taller no longer loses the edited value of its moved row
Version 3.383.0
Added
- The shipped pdfium binaries read and re-encrypt ISO/TS 32003 AESV4 (V=6/R=7, AES-256-GCM) documents, so an AESV4 form can be filled and saved through the same typed form API that already handled AESV3 and the legacy handlers
- That output declares PDF 2.0, as the AESV4 profile requires, instead of inheriting a 1.x header
Changed
- Typed encrypted form writes now cover AESV4 as well: the feature limitation no longer excludes it, whilst PDF MAC and XFA transactions remain outside the profile
- The Win32 and Win64 libraries are built from a locally patched pdfium-binaries checkout;
DLLs/Readme.txtrecords the patches and their purpose
Version 3.382.4
Security
SetFormFieldValuesapplies the FieldMDP and signature-field/Lockpolicies recorded in each revision a signature covers, in addition to the current ones, so a later revision that deletes a lock dictionary or relaxes its action no longer releases a field the signer locked- Requested fields are named as the signed revision names them, so renaming a parent field afterwards cannot move a field out of a lock; for encrypted signed documents the signed revision is read through the document's own security handler
Version 3.382.3
Fixed
- An incremental save session on an unencrypted signed document appends after the original source bytes, as encrypted documents already did, instead of after a native re-save whose own revision rewrote the signature field and other covered objects
- A commit without changes now writes the signed bytes unchanged and later commits append only the objects changed in the session, so existing signatures stay cryptographically valid;
AnalyzeSignatureRevisionsreports whether those changes are permitted - After
SetFormFieldValueson a signed document, a session begun on the result appends after the published field revision
Version 3.382.2
Fixed
SetFormFieldValuesrefuses with a clear error whilst an incremental save session is open; publishing the field values reloads the document, which previously ended the session silently and discarded its baseline- Commit or end the session before writing form values, then begin a new session if later edits should be appended; the refusal leaves the session and the document unchanged
Version 3.382.1
Security
SetFormFieldValuesmatches FieldMDP and signature-field/Lockentries against the fully qualified name of the requested field; it previously compared only the partial name, so under an/Excludelock a field such asapplicant.citywas written becauseemployer.citywas listed- An
/Excludelist now releases only exactly listed fields, whilst an/Includelist locks the listed fields and the fields below a listed ancestor and no longer blocks unrelated fields that share a partial name
Version 3.382.0
Added
- Vertical paragraphs can balance:
TPdfVerticalParagraphOptions.Balancedistributes a paragraph that needs several columns with an equal glyph count per column instead of filling every column to the column height and leaving the remainder in the last one, andTPdfVerticalParagraphReport.BalancedParagraphscounts the paragraphs it balanced - A balanced paragraph justifies against its own tallest column rather than the full column height, so its columns stay level
Version 3.381.5
Fixed
AnalyzeSignatureRevisionstreats an AcroForm update that only changesNeedAppearancesas an allowed form-filling change under DocMDP P=2 and P=3, instead of an unknown change with an indeterminate result- The update must leave every other AcroForm entry unchanged and belong to the dictionary the catalogue names; it is still disallowed under DocMDP P=1, and changes to the field list or other entries keep their previous classification
Version 3.381.4
Fixed
AnalyzeSignatureRevisionsreads an indirect DocMDP or FieldMDPTransformParamsdictionary from the revision the signature covers, so a certification declared with P=1 or P=3 through an indirect object reports its real permission instead of the default 2- A later revision that redefines that parameters object can no longer relax the recorded permission: the analysis evaluates the redefinition as a change under the signed policy, and
SetFormFieldValuesrefuses to fill a document whose signed revision records DocMDP P=1 - Parameters that cannot be resolved in the signed revision, such as members of an object stream, keep the ISO 32000-1 defaults
Version 3.381.3
Fixed
- Document colour conversion turns an embedded JPEG 2000 opacity channel into a soft mask only when the image declares
SMaskInData1; withSMaskInData0 or no entry the channel is ignored as ISO 32000-1 requires, so the converted image no longer gains an/SMaskthat conforming viewers would not apply - An existing
/SMaskon such an image, or the graphics-state soft mask, keeps applying after conversion, andSMaskInDatais dropped from every converted image because the samples are no longer JPEG 2000 data
Version 3.381.2
Fixed
AnalyzeSignatureRevisionsno longer reports a later revision that re-serialises an unchanged dictionary, such as the catalogue or AcroForm dictionary written again with another key order or string escaping, as a document-structure or unknown change- A form filled through
SetFormFieldValuesunder a DocMDP P=2 certification is therefore analysed as allowed, with only the changed field value reported, instead of disallowed - Stream objects and signature dictionaries are still reported whenever they are redefined
Version 3.381.1
Fixed
SetFormFieldValuesreads certification and field-lock parameters from theTransformParamskey named by ISO 32000-1, so a standard DocMDP P=2 certified form is filled instead of being refused as having a malformed certification permission- A DocMDP signature reference without a parameters dictionary is treated as permission 2, the ISO 32000-1 default, by both
SetFormFieldValuesandAnalyzeSignatureRevisions;AnalyzeSignatureRevisionspreviously reported such a certification as unrestricted - A FieldMDP reference without its required parameters is refused by
SetFormFieldValuesand reported aspfmaUnknownbyAnalyzeSignatureRevisionsrather than read as an unlocked signature
Version 3.381.0
Added
TPdf.SaveSourceByteswrites the exact bytes the document is loaded from, to a stream or atomically to a file, so a signed PDF filled throughSetFormFieldValuescan be saved with its original signed revision byte-identical and its signatures still valid- The method refuses whilst a page-object or document edit transaction is open, and applies no compression or native re-save;
SaveAsremains the path for native edits
Version 3.380.0
Added
- Vertical paragraphs can break across pages:
TPdfVerticalParagraphOptions.ColumnsPerPagewithPageWidthandPageHeightcontinues the columns that do not fit on new pages, resetting to the same column origin, andTPdfVerticalParagraphReport.Pagesreturns the page count
Version 3.379.0
Added
- Vertical paragraphs can justify:
TPdfVerticalParagraphOptions.Justifyspreads a column that ends short of the column height between its glyphs whilst the last column of a paragraph keeps natural spacing, andTPdfVerticalParagraphReport.Justifiedcounts the columns it filled TPdf.AddVerticalShapedTextaccepts an extra advance per glyph, which is the primitive the justification uses
Version 3.378.0
Added
RenderVerticalParagraphlays a whole paragraph down vertical columns: glyphs stay upright with their vertical forms, a column breaks between clusters when the next glyph would leave the column height, and columns progress right to left by the column widthTPdfVerticalParagraphOptionsbounds the column and character budgets and carries the colour, alpha and cancellation token;TPdfVerticalParagraphReportreturns the column, glyph and break counts with the laid-out width and height- The layout is computed before anything is written, so a paragraph that exceeds its column budget writes nothing and reports
Overflow
Version 3.377.0
Added
TPdf.AddVerticalShapedTextlays a shaped run down one vertical column: it shapes top to bottom, keeps the vertical glyph forms and places each glyph by its own vertical advance, with a SpanActualTextper cluster so extraction stays in logical order- The call needs a backend that reports vertical metrics: HarfBuzz does, while the Windows Uniscribe backend refuses the request instead of laying the run out horizontally
Changed
- Each vertical glyph is one translated text object because the native position array only offsets along the baseline; a run is limited to 4096 glyphs and a saved page re-derives per-glyph baselines from the glyph ink, as PDF text objects do
Version 3.376.0
Added
RemovePdfPageAnnotationsremoves annotations from one page in a single incremental revision and can drop the structure content those annotations owned:TPdfAnnotationRemovalOptions.RemoveOwnedStructurePeersremoves the OBJR items pointing at a removed annotation together with their ParentTree entries, andRemoveEmptiedStructureNodesthen removes the element they leave without content or children, deepest firstTPdfAnnotationRemovalReportreports the removed annotations, object references and structure nodes with the source and output digests, and every surviving annotation keeps its identity, order and ParentTree key
Version 3.375.0
Changed
- Static XFA text outside the WinAnsi set now wraps and grows with the embedded appearance font's own metrics: when
AppearanceFontDataorAppearanceFontNameis set, a multi-line field breaks at its inner width between code points including inside a run without spaces, grows to the wrapped line count, and the saved appearance carries those same lines
Fixed
- A multi-line text field declared with the XFA spelling
multiLine="1"grows to its wrapped line count, matching the lowercasemultiline="1"form the released fixtures use
Version 3.374.0
Added
- Static XFA flattening can write characters outside the WinAnsi set, including CJK, Greek, Cyrillic and supplementary code points, by embedding one subset Type0/Identity-H appearance font: set
AppearanceFontDatato a TrueType program orAppearanceFontNameto an installed face, and the flattened field appearances and draw text carry real glyphs with a ToUnicode map instead of "?" substitutes - Every appearance string that needs the embedded face is reported through
UnicodeAppearanceRunsand the characters the program does not cover throughSubstitutedAppearanceGlyphs, with the embedded program size inAppearanceFontBytes GetSystemFontDataresolves one installed face to its TrueType program so callers can embed their own font resources
Changed
- Static XFA text outside the WinAnsi set keeps its explicit-line layout: the embedded face changes the saved glyphs, while wrapping and growth for that text still need the font metrics earlier in layout
Version 3.373.1
Fixed
- The opt-in joiner admission also covers ZWJ: a backend that returns no glyph for the zero-width joiner has that unit folded into the preceding saved cluster, and run or cluster boundaries next to ZWJ are accepted inside this lane, so a ZWJ paragraph now saves and reopens with a complete cluster map
Version 3.373.0
Added
- Bidirectional paragraphs can keep the ZWNJ and ZWJ shaping joiners through
TPdfParagraphOptions.AllowShapingJoiners, so the shaper applies the word-joining or word-breaking effect the joiner requests; the default keeps the released rejection
Version 3.372.1
Fixed
- The generated C++ headers compile again with the C++Builder compilers of Delphi 12, 14 and 15: a default byte-array argument that the older Delphi header generator wrote as an integer cast is now a default-constructed dynamic array, and every header set parses with its own installation's compiler
Version 3.372.0
Changed
- Vertical shaping is requested with the appended
ptdTopToBottomdirection instead of theVerticaloption field introduced in v3.371.0; the direction uses the existing single-byte enum, soTPdfTextShapingOptionskeeps its 16-byte layout and the earlier field is removed
Version 3.371.1
Fixed
- The PDF/A validator now reports
pvaiPageStructParentsMissingfor a tagged page whose marked content has no/StructParentsanchor; the diagnostic was declared in the API but never emitted
Version 3.371.0
Added
TPdfTextShaper.SupportsVerticalShapingexposes top-to-bottom glyph advances and vertical forms through the HarfBuzz backend; the Uniscribe backend reports no vertical metrics and rejects the request instead of shaping horizontally (v3.372.0 moves the request to the appendedptdTopToBottomdirection and keeps the options record at 16 bytes)
Version 3.370.0
Added
TPdfObjectEditOptions.RemoveEmptiedStructureNodesalso removes a structure element that the peer removal left without content or children, deepest first; the default keeps the emptied element so its role and values survive
Version 3.369.2
Changed
- The saved cluster map is validated against the line's ActualText before it is returned: a map whose logical spans do not fit the saved text reports unavailable rather than returning offsets that no longer describe the line
Version 3.369.1
Changed
- The Arabic paragraph lane also saves a per-glyph cluster map on its lines, so a reopened Arabic line answers a visual glyph selection through the same reader as the mixed-direction lane
Fixed
- Reading a saved cluster map also finds one that sits on a text object inside the line Form, not only on the Form itself
Version 3.369.0
Added
- Bidirectional paragraph lines save a per-glyph cluster map beside their logical text, so a reopened line can map a visual glyph selection back to the exact logical range without reshaping it;
ReadPdfParagraphClusterMapandPdfParagraphSelectionFromVisualexpose the table and the selection rule
Version 3.368.0
Added
- Batch object edits can remove the structure-tree content the deleted objects owned:
TPdfObjectEditOptions.RemoveOwnedStructurePeersremoves the owned marked-content items, theirParentTreeentries and the labelled marks from the page content, while the default keeps the previous behaviour that preserves those semantics at the removal boundary
Version 3.367.0
Added
- Bidirectional paragraphs accept a style change inside a cursive-joining word: each span is shaped with the complete word as its context, so Arabic, N'Ko and Adlam keep their initial, medial and final forms across the style split
TPdfTextShaper.ShapeSpanreturns one range of a complete-string shape andSupportsSpanShapingreports whether the backend keeps that context- The prepared
TPdf.AddShapedTextoverload emits a shape the caller has already produced instead of shaping the text again
Changed
- A backend that cannot keep span context keeps the whole-word rule and reports the refusal in the paragraph report rather than splitting the word silently
Version 3.366.17
Added
- Static XFA flow accepts a zero occurrence minimum for a growable range, so an optional repeating field disappears when the bound data has no leaf and appears once the data provides them
Version 3.366.16
Fixed
- Static XFA flow keeps a repeated subform's first sub-tree on the page its first instance actually occupies when that instance already starts a new page, instead of overlapping the previous page's content
Version 3.366.15
Fixed
- The C++Builder import libraries build again: the redaction unit in the Enterprise folder now includes the shared configuration header by its relative path
- The C++Builder samples compile again: annotation subtype names, a shadowed
Formatvariable, an ambiguous thumbnails mode and the same renamed helpers the Delphi samples carried
Version 3.366.14
Fixed
- The Lazarus Small Business package compiles again: its registration unit used
SameTextwithout importingSysUtils - The Lazarus samples build again: SplitView no longer uses an event-handler address form or a search count the API does not expose, and TableExtractionLab calls the renamed result reset
Version 3.366.13
Fixed
- The Enterprise package compiles again: the long-term-validation unit referenced a per-signature integrity field that the record does not define
- The colour conversion units no longer cast integers to floating types in a form that older Delphi compilers reject, so the library builds with every supported Delphi version
Version 3.366.12
Changed
- Static XFA flow now rejects a repeated subform only when a later instance's fields grow taller than the first instance's recorded cell, so an instance that wraps to fewer lines keeps its smaller height
Version 3.366.11
Fixed
- Arabic justify alignment no longer stretches the last line of a paragraph that ends with an explicit line break or is followed by another paragraph
Version 3.366.10
Added
- Bidirectional styled paragraphs now support justify alignment, stretching the spaces between words on every line except the last of a paragraph in both paragraph directions
Changed
- Repeated shaped spans no longer charge the whole subset font payload against the work budget each time, so word-level runs stay inside the default budgets
Version 3.366.9
Changed
- Static XFA flow now rejects a repeated subform whose descendant fields grow differently in each instance, instead of letting the taller instance overlap the following content
Version 3.366.8
Fixed
- Static XFA repeated subforms that continue onto a later declared page now keep the first instance's subtree on its own page instead of moving it to the page where the repetition ended
Version 3.366.7
Added
- Static XFA flow now repeats a fixed subform once per dataset instance when its occur element declares a range, taking the count from the leaves bound to its descendant fields and rejecting fields that disagree
Version 3.366.6
Added
- Bidirectional styled paragraphs now accept a style change inside a word for scripts that do not join cursively, provided the boundary falls on a grapheme-cluster boundary, while Arabic, Syriac, N'Ko, Mongolian, Manichaean and Psalter Pahlavi words keep the whole-word rule
Version 3.366.5
Added
- Static XFA flow now repeats an atomic field once per dataset leaf when its occur element declares a range, clamping to the declared minimum and maximum so repeated fields follow the bound data
Changed
- An automatically sized static XFA container now sums the wrapped height of every repeated instance instead of multiplying the height of the first one
Version 3.366.4
Added
- Opt-in Arabic paragraph shaping now supports justify alignment, stretching inter-word spaces on every line except the last so both edges reach the paragraph bounds
Version 3.366.3
Fixed
- Static XFA field growth now reads template values as UTF-8, so non-ASCII field text is measured instead of mojibake
Changed
- The Helvetica appearance fonts declare WinAnsiEncoding and curly quotes, dashes, the euro sign and the other WinAnsi specials render and wrap instead of turning into a question mark
Version 3.366.2
Changed
- Static XFA field wrapping now breaks a single word that is wider than the field at character boundaries, so long unbroken identifiers no longer overflow the field
Version 3.366.1
Changed
- Static XFA field wrapping now also applies to dataset-bound multi-line values and their repeated instances, so a long bound value grows its own instance instead of staying on the explicit-line behaviour
Version 3.366.0
Added
- Static XFA multi-line fields whose value comes from the template now wrap at the field's inner width using Helvetica advance widths, so long text grows the field to the wrapped line count instead of clipping; dataset-bound and instance-qualified fields keep their explicit-line behaviour
Version 3.365.11
Changed
- Static XFA repeated multi-line fields now size each instance from the dataset leaf that binds it instead of sharing the tallest bound height, so a later longer value no longer stretches earlier instances
Version 3.365.10
Added
- Opt-in Arabic paragraph shaping now accepts Arabic Supplement letters, Extended-A letters and marks, Quranic annotation marks and the Arabic end-of-ayah and rub-el-hizb separators, so text from those blocks no longer rejects before shaping
Version 3.365.9
Added
- Opt-in Arabic paragraph shaping now accepts ASCII, Arabic-Indic and Extended Arabic-Indic digits plus the Arabic percent, decimal, thousands, star and full-stop punctuation; Latin text and other scripts still reject
Version 3.365.8
Changed
- Static XFA field growth for repeated fields now uses the tallest line count among the dataset leaves that bind the first instances, so the shared cell height fits every bound value instead of the template text
Version 3.365.7
Changed
- Static XFA field growth now follows the first dataset leaf at the deepest subform path, matching how binding keeps the first instance of a repeated leaf, instead of falling back to the template text when several leaves share that path
Version 3.365.6
Changed
- Static XFA field growth now resolves dataset values by subform path, so same-named leaves under different parents no longer force the template fallback; equal-depth matches stay ambiguous and fall back
Version 3.365.5
Changed
- Static XFA multi-line field growth now follows a uniquely named root dataset value when the field is bound, falling back to the template text; ambiguous dataset names keep the template-based height
Version 3.365.4
Added
- Static XFA flow now grows a multi-line text field whose template value contains explicit line breaks, so the field and its following siblings use the height of the wrapped lines instead of the declared minimum
Version 3.365.3
Added
- Static XFA flow now sizes a flowed subform that omits
hfrom its children, so the container grows to fit nested or repeated items and following siblings move down instead of requiring a fixed height
Version 3.365.2
Fixed
- JPEG 2000 palette images now decode signed index components with the correct palette offset, so a PCLR column that carries both a colour and an opacity description converts instead of failing document colour conversion
Version 3.365.1
Fixed
- Shaped glyphs that the Uniscribe character map does not reference now inherit the nearest mapped cluster instead of the run start, so selecting such a glyph no longer widens the logical span back to the beginning of the run
Version 3.365.0
Added
PdfShapedTextSelectionmaps a visual glyph range across the returned shaped runs to the minimal logical UTF-16 span: partial cluster selections expand to the complete cluster, absolute offsets across runs are preserved and unmapped glyphs report a zero-length span at their cluster position
Version 3.364.1
Fixed
- Four-colour JPEG 2000 images that share one channel as both colour and opacity no longer drop the declared opacity: the shared channel is decoded and attached as an 8-bit DeviceGray soft mask
Version 3.364.0
Added
- Two-component JPEG 2000 images can carry one Channel Definition opacity channel over a single grey colour channel, including 8- or 16-bit sources, CMAP-mapped images and the implicit standard-grey declaration: an explicit DeviceGray colour space keeps the opacity plane, the 8-bit DeviceGray soft mask equals the source opacity channel and premultiplied grey is divided back by alpha
Version 3.363.1
Fixed
- Images with an explicit PDF colour space convert consistently in Delphi and Free Pascal builds: the per-image opacity state is now initialised, so a valid CalRGB or other explicit-space image is no longer rejected with a spurious JPEG 2000 opacity error under Free Pascal
Version 3.363.0
Added
- JPEG 2000 channel-definition lists may give one channel both a colour and an opacity description, as T.800 permits: a three-component image whose third channel is also a type 1 or type 2 opacity channel keeps three colour channels and writes that channel as a DeviceGray soft mask, with premultiplied colour divided back by the shared alpha
Fixed
- A second opacity channel description on a direct JPEG 2000 image now rejects instead of silently replacing the first; colour associations above four and an opacity-only description that leaves two colour channels still reject
Version 3.362.0
Added
- Partial JPEG 2000 channel-definition lists are accepted: channels without a description keep their identity colour association (channel i as colour i+1, skipping an opacity channel), so a list that only overrides one association resolves like the undescribed image, while colliding or out-of-range defaults still reject
Version 3.361.0
Added
- Channel-definition lists may now describe one channel several times, as T.800 permits: a grey component assigned to the red, green and blue associations is replicated into all three colour channels, with the projected colour count taken from the highest association while gaps in the association set still reject
Version 3.360.0
Fixed
- Permuted JPEG 2000 channel-definition lists apply their associations by channel or component index again; the rewritten projection introduced in v3.358.0 reordered colours by definition order, so a permuted CDEF list could swap colour components
Version 3.359.0
Added
- JPX opacity channels may resolve through a palette: when the mapped channel's CMAP entry selects a PCLR column, the soft-mask samples are that column's values for the source indices, decoded through the same source-cell grid as the colour planes
Version 3.358.0
Added
- JPX channel-mapped images may carry their opacity channel through a component mapping: when the opacity CDEF channel maps directly to a codestream component the soft mask is published as before, while palette-column opacity and non-covering channel sets stay unsupported
Version 3.357.0
Added
- JPX sources with original channel precisions above 16 bits now convert: 17- to 24-bit samples normalise to the requested 8/16-bit output by nearest rounding before colour conversion, while wider declarations stay rejected because the bundled decoder returns degenerate samples at 31-bit precision
Version 3.356.0
Changed
- JPX opacity channels may now be subsampled: each reference pixel takes the source cell that contains it, with first-source-sample extension before the first sample, matching the colour-plane reconstruction rule
Version 3.355.0
Changed
- An explicit PDF ColorSpace no longer discards an embedded JPX opacity channel: the soft mask is still published while the declared colour space keeps overriding the embedded colour declaration
Version 3.354.0
Changed
- JPX premultiplied opacity channels now convert: colour samples are divided back by the alpha plane at the same decoded depth before colour conversion, and the soft mask carries the unmodified alpha;
SMaskInData2 remains rejected
Version 3.353.0
Added
- JPX images with an embedded opacity channel now convert with a soft mask: a single full-resolution CDEF raw-opacity channel becomes an 8-bit DeviceGray
/SMaskwhose samples match the source channel, colour samples stay unchanged andSMaskInDatais dropped; premultiplied opacity channels remain rejected
Version 3.352.0
Fixed
- Shaped text added through several calls that share one font now saves correct glyphs: every call emits the same identity CID-to-glyph map sized by the font, so the content generator can merge the font resource without reusing another call's mapping and shifting saved glyph IDs
Version 3.351.0
Added
- PDFs that are already signed and encrypted with RC4 or AESV2 now accept typed form-value writes: the update is appended after the original signed bytes and every new object is re-sealed with the document key, so retained signatures keep their ByteRange segments while field values change
Version 3.350.0
Added
- JPX images with the T.801 YPbPr(1125/60) or YPbPr(1250/50) enumerated colour spaces now convert through their studio-range codes, system-specific luma coefficients and BT.709 transfer instead of falling back to device RGB; equal 8- and 10-bit unsigned channels are accepted, while signed, mixed, other-precision and non-three-channel declarations stay unavailable
Version 3.349.0
Changed
- JPX images whose codestream carries nonzero component registration (CRG) offsets are now rejected with an explicit diagnostic instead of being decoded with silently unregistered components; all-zero declarations and sources without CRG keep identical samples
Version 3.348.0
Added
- JPX CIELab images now accept T.801 colour-temperature illuminants: the
CTprefix followed by a 16-bit kelvin value resolves through the Planckian radiator integrated against the CIE 1931 2-degree observer instead of falling back to the device colour space, and zero or underflowing temperatures stay unavailable
Version 3.347.0
Fixed
- Styled paragraph boundaries additionally refuse splits directly before a combining mark or adjacent to ZWJ, so a grapheme cluster cannot be divided across styles by any run, style-segment or shaper-cluster check
Version 3.346.0
Added
- Fixed-size flowed subforms now support explicit equal occurrence counts: each repeated subform instance moves its recorded sub-tree rigidly to its own flowed cell (including page boundaries), qualifies descendant field names per instance and binds repeated same-name dataset rows to successive instances; nested repetition inside a repeated item keeps rejecting
Version 3.345.0
Added
- Static flowed XFA layout accepts explicit, equal occurrence counts on atomic items: a repeated field or drawing consumes successive flowed cells across row wrapping and page boundaries, emits instance-qualified names (
field[1]and onward) and repeated same-name dataset leaves bind successive instances; nested containers and positioned children keep rejecting repetition
Version 3.344.0
Added
- Resolved-direction shaped text now accepts the ZWNJ and ZWJ folding controls: they are Boundary Neutral for bidi purposes but valid shaping input that changes Arabic and Syriac joining, they retain zero-width logical/render mappings through saved generations and other boundary-neutral controls keep rejecting
Version 3.343.0
Added
- Unencrypted signed sources now support typed single and batch AcroForm writes under explicit signature policy: certification DocMDP permissions, FieldMDP transforms and signature-field lock dictionaries decide which fields are writable, signature dictionaries and fields stay structurally untouched, and the transaction appends one revision after the original signed bytes so every recorded ByteRange keeps verifying unchanged
Version 3.342.0
Fixed
- Standard base-14 font names in
AddTextand text-object creation now load as genuine non-embedded Type1 fonts instead of system-substituted CID programs, keeping shaped embedded CID fonts of the same family on their own page resources so saved glyph codes survive native regeneration and dirty saves unchanged
Version 3.341.0
Added
- Legacy Standard Security Handler typed AcroForm transactions: RC4 (V1/V2 and crypt-filter V2, 40-128 bit) and AESV2 sources now fill and modify forms through the encrypted transaction profile, preserving the original file key, Encrypt dictionary, credentials, permission bits, metadata-encryption policy and first file ID, with dual-compiler acceptance, independent parser inspection and the retained AESV3 controls
- Dirty encrypted incremental saves inherit legacy R2-R4 security parameters alongside the existing R5-R7 support, verified through two-generation commits with unchanged security dictionaries and first file IDs
- Static flowed XFA layout accepts validated XFA 3.3 margins on containers, atomic items and content areas (usable content rectangles re-applied on every flowed page) and distinct presence semantics, where invisible items reserve their flowed cell without painting and hidden items leave the layout entirely
Version 3.340.0
Added
- Twelve Unicode bidi formatting controls are preserved through horizontal paragraph layout, with separate glyph input and original logical UTF-16 mappings
- Control-only paragraph spans are saved and re-edited with zero glyphs and advance while the declared source typography is retained
- PdfBidiIsFormattingControl and PdfBidiRenderText are exposed with scalar-safe offsets, alias support and cleared failure outputs
Fixed
- Cross-line embedding, override and isolate context is kept while formatting controls are excluded from visible glyphs
- Missing paragraph/line bidi helper declarations and the resolved-level limit are restored in the C++ interfaces
Version 3.339.0
Added
- Visible runs that are already resolved are shaped with ptdResolvedLeftToRight and ptdResolvedRightToLeft in Uniscribe and HarfBuzz, preserving the original base-direction modes, enum ordinals and record layouts
Fixed
- Resolved run flow is kept during bidirectional paragraph measurement and emission, and custom backends with inconsistent direction metadata are rejected
- Malformed UTF-16 and direction/layout controls in resolved shaping requests are rejected before fonts are acquired, with cleared results
Version 3.338.0
Added
- Whole-paragraph bidi levels are resolved before wrapping with PdfResolveBidiParagraphLevels, then line-specific resets are applied with PdfBidiLineLevels using scalar-safe UTF-16 ranges and alias-safe output
Fixed
- Cross-line neutral, bracket and number context is preserved when wrapped bidirectional paragraph text is measured and placed
Version 3.337.0
Added
- Horizontal complete-word Unicode scalar paragraphs are shaped with explicit static fonts, covering additional scripts, supplementary characters and presentation forms, while logical line ownership and source styles are retained
- Selected Windows TTC faces are reconstructed as standalone fonts, with glyph IDs and table contents preserved and offsets plus checksums rebuilt
Fixed
- Surrogate-splitting, overlapping or incomplete shaping run/cluster mappings and inconsistent UTF-16 logical counts are rejected under the existing work budgets
- Native paragraph UTF-16 diagnostics are read without combining surrogate units across text-object owners
Version 3.336.2
Fixed
- Null Predictor, Colors, BitsPerComponent and Columns defaults are honoured in common pure-Flate reads, dictionary and single-item array parameters included, while malformed null suffixes are rejected
Version 3.336.1
Fixed
- Zero and negative Predictor values are rejected in checked LZW/Flate stream decoding and revision-aware xref/object-stream reading; only Predictor 1 selects no prediction
Version 3.336.0
Added
- TIFF Predictor 2 decodes with 1/2/4/8/16-bit components in LZW and Flate streams, including component-wise wrapping, per-row reset and preserved row padding
Fixed
- Invalid TIFF component depths and incomplete rows are rejected during single-Flate sparse reading through the shared checked decoder
Version 3.335.0
Added
- ValidatePdfStreamDictionarySyntax is introduced with byte-canonical unique dictionary keys, independent nested scopes and bounded hash workspace and comparison work
Fixed
- Escaped-equivalent source or referenced parameter keys are rejected before metadata normalisation, and decoded null bytes in PDF names are rejected while case and byte distinctions are preserved
Version 3.334.1
Fixed
- Missing token boundaries between a parameter reference generation number and R are rejected, signed generations and array values included, while valid whitespace and comments are retained
Version 3.334.0
Added
- Predictor parameters are interpreted only for LZW/Flate and EarlyChange only for LZW, preserving unused compatibility values and default filter fields
- Active filter-parameter Type references resolve as optional names, and non-name Type values or malformed opaque object syntax are rejected under bounded nesting, token and deadline limits
Version 3.333.0
Added
- Optional Crypt Name and Type references resolve through ordinary or independently compressed revision-scoped metadata, including null defaults, exact generations, escaped names and ordinary aliases
- Same-named private fields in other filter parameter dictionaries are preserved, whilst shared dependency-cycle, deadline and cumulative decoding budgets are retained
Version 3.332.0
Added
- Leading Identity Crypt object streams and supported general-filter chains decode with bounded byte-preserving pass-through, optional null/default names and escaped direct names
- psfkCryptIdentity is exposed while existing filter enum ordinals and record fields are preserved, and named-encryption and forbidden xref Crypt rejection are retained
Version 3.331.0
Added
- Revision-scoped object-stream Filter, DecodeParms and Type references are read, including complete names, arrays, dictionaries, nulls, ordinary aliases and independently compressed metadata
- A lazy revision index is shared for reference-aware graph reads, and caller stream limits are enforced on nested metadata decoding
Fixed
- Indirect-Type object-stream infrastructure is excluded from ordinary objects, null file specifications are omitted and sparse buffer ceilings are checked before allocation
Version 3.330.1
Fixed
- PDF optional parameter defaults apply to direct or revision-scoped null values and undefined references, compressed parameters included, while strict required N, First and Length checks are retained
- A direct null Filter is treated as an omitted entry, and malformed-token rejection is retained in bounded stream inspection
Version 3.330.0
Added
- Revision-scoped indirect integer DecodeParms resolve in direct object-stream parameter dictionaries and arrays, including compressed parameters, predictors and LZW EarlyChange
Fixed
- Compressed parameter dependencies are charged before the primary stream decoding allowance is calculated and its raw input window retained
Version 3.329.0
Added
- Indirect object-stream N and First metadata resolve through the requesting revision, including ordinary nonzero-generation integers and compressed integers in an independent container
- Dependency-cycle, depth, integer-read and retained-header limits apply consistently in sparse reading and active-graph rewriting
Fixed
- Revision-specific header values are preserved when object-stream metadata identities are reused across updates
Version 3.328.0
Added
- Revision-scoped cross-reference and object streams are read with ASCIIHex, ASCII85, RunLength and LZW, including supported chains with Flate, direct predictor parameters and exact filter endpoints
- Bounded filter metadata parsing and single-filter decoding are exposed with consumed-byte reporting and optional strict marker validation
Fixed
- Intermediate chain output across compressed-object dependencies is counted against cumulative decoder work limits
- Malformed decoded stream filter parameters are rejected while raw copies and established ASCIIHex EOF reads are retained
Version 3.327.0
Added
- Compressed cross-reference Length integers are read from revision-scoped unfiltered or single-Flate object streams, including compressed catalogues and ordinary indirect container lengths
- Cumulative sparse-index decoded-byte and member-header budgets apply while complete integer values and container identities are validated
Fixed
- Complete declared stream payloads containing endstream or endobj text are preserved during structural scanning, without masking following objects under an invalid overstated length
Version 3.326.2
Fixed
- Single-Flate cross-reference streams are read with ordinary indirect Length integers using exact compressed spans, complete checksum validation and bounded predictor decoding
- Length integers resolve through older revisions, and current classic, supplemental-stream and older-revision precedence is preserved consistently during sparse inspection and full-data rewriting
Version 3.326.1
Fixed
- Unfiltered cross-reference streams are read with an indirect Length integer before or after the stream, preserving trailing payload bytes and validating the referenced object offset and generation in the same revision section
- Sparse inspection and full-data rewriting stay consistent when cross-reference streams and length objects reuse their numbers across incremental revisions
Version 3.326.0
Added
- Glyph styles and logical text are inspected in the selected deepest owned Form, using the same local indexes and nested path as paragraph editing while caller state is preserved
- Bounded owned-source preparation work is tracked, and repeated Arabic or mixed bidirectional reshaping is combined with retained stream/resource identities and separate Unicode semantic reviews
Fixed
- Each cross-reference stream is decoded within its own revision object extent so later reuse of its object number cannot replace earlier revision data
Version 3.325.0
Added
- Saved shaped line Forms are reselected for repeated horizontal Arabic or mixed Hebrew, Arabic and Latin paragraph editing, using actual glyph-style paths and saved logical text anchors
- Bounded Form source styles are inspected and independently copied source paths are retained in plans and shaping reports while existing mixed MCID and structure ownership is preserved
Fixed
- Unselected object indexes and text spacing are preserved when an Arabic paragraph replaces multiple saved line Forms
Version 3.324.0
Added
- Multiline paragraphs reflow inside qualified unique internally owned Form streams with explicit local child selection, retained MCR/ParentTree identities and separate local, page and structure semantic reviews
- Mixed MCID sources, nested Form paths, owned resource peers and ordinary containers are preserved through repeated full native saves
Fixed
- Paragraph fragments are verified after their original source objects are removed so coincident glyphs and native word separators do not incorrectly reject repeated reflow
Version 3.323.0
Added
- Qualified unique internally tagged Form streams and ordinary containers with owned resources are edited through typed child-object batches, retaining original object identities and MCR/ParentTree ownership
- Owned resource peers are preserved through native import, and separate local, original page and structure semantic revisions are retained across full native saves
Fixed
- Shared annotation appearance reference graphs are rejected even when dictionary Type labels disguise their reachability
Version 3.322.0
Added
- Shared internally tagged page Form invocations are normalised under explicit logical-owner reviews, retaining graphics and existing structure metadata with independent MCID/MCR/ParentTree ownership
- Explicit page-content MCR stream references are read with exact physical declaration provenance, including content arrays, continued operands, named properties and matching page stream owners
Fixed
- Untouched UTF-16 semantic attributes are preserved during structure edits after full native saves
Version 3.321.0
Added
- One ordinary nested Form invocation is selected through a bounded FormPath in typed object batches, with deepest-local operations and unchanged shared calls
- Every ancestor placement and semantic declaration is retained while local Form revisions stay separate from original page and structure revisions
Fixed
- Unused object-array capacity is excluded from rewritten xref ranges so repeated Form isolation and reproducible saves do not inflate object-number allocation limits
Version 3.320.0
Added
- One ordinary Form invocation is edited through the existing typed object batch API, with independent resources and unchanged shared calls on the same or other pages
- Local Form, enclosing page and structure semantic revisions are separated while original external ParentTree ownership, placement and saved declarations are preserved
- Inherited-state materialisation, final local pixels and declarations, and every outside or foreign-page pixel are verified before a selected Form edit is published
Version 3.319.1
Fixed
- Non-rendering original image XObjects and their private ownership branches are removed after retained-layer transparency redaction, fully transparent images included
- Inherited page resources are resolved during cleanup so that visible images and independent annotation appearance images remain available
Version 3.319.0
Fixed
- Non-rendering original Form aliases and indirect private ownership branches are removed after retained-layer transparency redaction, including array, cycle and nested-Form aliases
- Stale page thumbnails are removed and converted source Forms retained by active rendering dependencies are rejected before redacted bytes are published
- Independent annotation appearances and searchable outside text are preserved while resource-graph cleanup is bounded and source and destination are preserved on failure
Version 3.318.1
Fixed
- Opacity and soft-mask transfer results are rounded at the actual byte boundary in the corrected optional composite renderer, removing accumulated downward bias
- Transfer-function and draw-device references are preserved through successful rendering and evaluation errors
Version 3.318.0
Added
- Capability-negotiated optional soft-mask transfer processing through an exact caller-supplied SDK source build
Fixed
- Soft-mask TR is preserved across repeated painting and graphics-state save/restore in the corrected processor
- Nonzero TR(0) is applied outside Alpha-mask group bounds
- Renderer-reported content errors, incomplete data and unqualified graphics-transfer or Type3 glyph paths are rejected before publication
Version 3.317.0
Added
- Explicit colour-managed source rasterisation for complete-composition redaction through transaction-local provider interfaces
- Optional Enterprise MuPDF adapter and native C exception bridge, with opaque white output, source/module lifetime ownership and input/raster byte limits
- Saved-output verification against the selected source renderer and successful-use reporting through UsedCompositeRasterizer
Version 3.316.0
Added
- Complete-composition redaction for positive page-local UserUnit values, bounded indirect scalar references included, while physical page size, boxes and rotation are retained in the fresh output document
- Physical-unit-aware raster dimensions, pixel clearing, cumulative work budgets and final saved-output verification
Version 3.315.0
Added
- Explicit complete device-space page-composition redaction for nonisolated/knockout groups, Luminosity masks and supported blend/transfer states
- Fresh-document raster output that discards source text/vector/tag and annotation semantics, private resource aliases and thumbnails after explicit structure-removal selection
- Annotation appearance baking before masking, cumulative clean-raster accounting and final-byte outside-composition verification
Fixed
- Sanitiser pruning failures are propagated instead of reporting successful output
- Defined fallback document-ID wraparound is preserved in Free Pascal builds with range and overflow checks enabled
Version 3.314.0
Added
- JPX extended sYCC images convert with original luma/chroma precision, the published inverse matrix and continuous extended RGB transfer
- 16-bit integer scRGB and scRGB Gray are interpreted while negative and above-white linear values are preserved through floating PCS Lab
- Signed channels, supported sampled origins and palettes, provider fallback and strict/partial floating-workspace bounds are retained for the new implicit colour families
Version 3.313.0
Added
- JPX ROMM RGB images convert with original signed/unsigned precision, the unflared toe/power transfer and floating PCS Lab
- 10/12/16-bit extended sRGB channels are interpreted with precision-specific offsets and signed mapping, preserving extended linear colours before ICC conversion
Fixed
- Encoded-stream and decoded-filter byte-budget overflows abort in partial colour conversion instead of publishing unconverted partial output
Version 3.312.0
Added
- Signed and unsigned JPX CIELab images convert with default or explicit ranges and offsets, eight standard illuminants, mixed source precision and projected palettes included
- The optional IPdfColourFloatTransform preserves wider chroma ahead of ICC gamut conversion, taking native floating PCS Lab input with explicit 8/16-bit output
- Integer Pixel Format declarations are validated, and malformed or unsupported fixed/floating reinterpretations are rejected before JPX decoding
Changed
- Calibrated white-point adaptation precision is refined for floating PCS colour conversion
Version 3.311.0
Added
- Unsigned JPX sYCC images convert with their original per-channel chroma precision, mixed sampled grids, nonzero origins and projected palettes included
- Inspected JPX images with no usable embedded declaration, raw codestreams included, take a configurable device colour fallback through AllowJpxDeviceFallback, with the JpxDeviceFallbackImages report count
- Gray, RGB and CMYK default resource contexts are kept for shared fallback images, and inconsistent interpretations are rejected before the destination is published
Version 3.310.0
Added
- JPX colour declarations, signed priority, approximation and owned method data can be inspected through the optional IPdfImageColourMetadata
- Images whose PDF ColorSpace is absent or null convert using supported embedded ICC, standard sRGB, standard grey or CMYK declarations, with piecewise standard-grey conversion into 16-bit output
- Provider-compatible declarations are picked by priority, explicit PDF colour overrides are kept, and CMYK resource-context safety is enforced for shared images
Version 3.309.0
Added
- JPX images decode with bounded nonzero image, component and tile origins, using their true image-area dimensions
- The absolute sampling phase is preserved and the first source sample extends across leading unsampled positions for original colours, JP2 palettes and explicit Indexed conversion
Fixed
- Component extents and tile coverage are validated against absolute grid bounds before native decoding, without counting unused grid prefixes as decoded pixels
Version 3.308.0
Added
- Original JPX palette indices decode through the optional IPdfImageIndexDecoder, with unscaled 8/16-bit storage, signed-range handling and sampled-grid reconstruction
- Explicit PDF Indexed images convert from single-component JP2 or raw JPX data using the PDF palette, calibrated bases and general filter chains included
- Older image bridges keep their compatibility through the optional ABI 1 index exports, with actual index-buffer budgets checked before decoding
Version 3.307.1
Fixed
- Each 1/2/4-bit Indexed image scanline is read from its own byte boundary, keeping row padding intact without shifting later pixels
- Indexed image Decode results are rounded to the nearest palette entry after clamping
- Packed-source, expanded-image and calibrated-palette byte budgets are enforced before decoding or colour conversion, partial conversion mode included
Version 3.307.0
Added
- JP2 palette and component mappings convert with signed or mixed 1-16-bit colour channels, selected sources, repeated or reordered palette columns and mixed direct/palette channels
- Complete colour-only JP2 CDEF associations are applied, with the projected colour precision reported through the optional component metadata
Fixed
- Calibrated parameters and palette contents join the shared image and inherited Form colour-context identity
- The destination is preserved when shared image, Form or shading contexts conflict, partial conversion mode included
Version 3.306.0
Added
- JPX source dimensions, channel precision, signedness and sampling can be inspected through the optional IPdfImageComponentMetadata, with older ABI 1 bridges still supported
- Source precisions 1 through 16, mixed channel depths included, are normalised into unsigned 8/16-bit buffers without discarding higher source precision
- Actual JPX metadata is used during document colour conversion independently of a missing or ignored PDF BitsPerComponent entry
Fixed
- Calibrated image output budgets are enforced against the actual 16-bit target components, CMYK included, before decoding or colour conversion
- Global source image budget rejection stays in force in partial conversion mode after an ordinary decoder reaches its limit
Version 3.305.0
Added
- Zero-origin JPX component grids are rebuilt before ICC colour conversion, with independent horizontal and vertical sampling intervals anywhere from 1 through 255
- The full reference-grid dimensions, signed channel values and partial cells at odd image edges are preserved through bounded source-cell replication
Fixed
- Each decoded component plane is validated against its sampling intervals without allocating another full-resolution native plane or inferring a YCbCr transform
Version 3.304.0
Added
- Signed and mixed-signedness equal-resolution 8/16-bit JPX channels are decoded into bounded unsigned original components, lossless inverse multi-component transforms included
Fixed
- Explicit PDF colour spaces now take precedence over embedded JP2 colour labels and ICC metadata without adding an unintended colour conversion
- Ordinary JPX image Decode arrays are ignored before ICC or calibrated colour conversion, general-filter chains included, whilst DCT Decode behaviour is retained
- Strict rejection of inconsistent JP2 headers, malformed data, unsupported channel mappings and allocation limits is preserved
Version 3.303.0
Added
- Shading function parsing is bounded with MaxFunctionNodes and MaxFunctionStorageBytes, counting cumulative sample, calculator, metadata and adaptive-cache storage across a conversion
- Parsed-node, reused-reference, adaptive-cache preparation and logical storage counters are exposed in document colour conversion reports
Fixed
- Shared indirect function graphs are reused without exponential tree expansion or repeated adaptive cache preparation
- Function depth checks stay valid across cached paths, valid shallow retries are permitted after a deep-path failure, and output is preserved on resource exhaustion or cancellation
- The remaining function storage limits are applied before streams are decoded, and decoded-budget exhaustion is rejected even in partial conversion mode
Version 3.302.0
Added
- Bounded Type 4-7 function-mesh and axial shading tessellation is available through TessellateShadingFunctions, retaining source parameter interpolation before function evaluation and ICC conversion
- Axial BBox clipping, Domain and Extend settings are honoured, empty bounded paint included, with shared-edge checks and independent colour and geometry tolerances
Fixed
- Retained high-contrast cubic patch and axial composition cases are improved through optional triangle output whilst the original native colour-error criterion is preserved
- Dense function tessellation stays within the decoded-cache, shared-work and refinement budgets, preserving destination bytes on rejection or cancellation
Version 3.301.0
Added
- One- and two-input cubic sampled shading functions are evaluated across function-based, axial, radial and mesh shadings, stitching children and mixed-order component arrays included
- Per-dimension linear fallback is applied for small sample tables whilst Encode, Decode, final Range clipping and cubic overshoot semantics are preserved
Changed
- Calculator instructions and sampled-function data reads are bounded by one shared conversion work limit, preserving the destination when the work runs out
Fixed
- A null sampled-function Order is treated as its default, and Double precision is retained when clamping sample-table coordinates with Free Pascal
Version 3.300.0
Added
- Non-matching Type 4-7 RGB/CMYK, CalRGB and Lab component meshes are converted with source-space interpolation before ICC conversion and separate geometric and target-component tolerances
- Indexed mesh vertices are expanded into their base colour space before interpolation, retaining shared boundaries and bounding subdivision, output triangles, transform samples and memory
Fixed
- CalRGB matrices are read in PDF column order, and unsupported nonzero calibrated BlackPoint values and malformed optional parameter arrays are rejected
- Double precision is retained when clamping mesh coordinates with Free Pascal, and the required SHA-256 modular addition is preserved in checked builds
Version 3.299.0
Added
- Type 4-7 mesh shading functions are converted through ICC profiles after parameter interpolation, with exact control geometry and parameter values retained
- Gray meshes are promoted to scalar functions, and explicitly enabled matching-ICC RGB/CMYK mesh components are preserved without a PCS round trip
Fixed
- Short patch edge flags and low-bit-depth components are normalised without changing their decoded values, avoiding demonstrated AGG and Skia colour interpretation failures
- Incomplete mesh topology and exhausted record or normalised-data budgets are rejected before converted output is published
Version 3.298.0
Added
- Direct axial, radial and function-based shading dictionaries, direct shading patterns and their direct shading entries in page, inherited, Form and coloured tiling resources are converted within object and output budgets
Fixed
- Resolved colour profiles are rechecked whenever a shared shading pattern is reused, rejecting incompatible inherited contexts instead of silently reusing one conversion
- Escaped resource names are preserved and equivalent staged resource identities are reused so shared child Forms retain compatible inherited resources
Version 3.297.0
Added
- Function-based Type 1 shading resources are converted through ICC profiles using bounded two-input calculator or linear sampled functions and component arrays, with their domain, matrix and bounding box preserved
- Every PDF sampled-function bit depth from 1 to 32 bits is read with continuous packed samples, two-dimensional interpolation and Encode, Decode and Range clipping
Fixed
- Incompatible inherited colour contexts for shared shading resources and unsupported cubic interpolation are rejected rather than reusing an incompatible conversion
- Very small shading domains and large integral matrix real syntax are preserved through supported plain unsigned native save post-processing
Version 3.296.0
Added
- Type 4 calculator-backed axial and radial gradients are converted through the target ICC profile, compressed streams, stitching children and mixed per-component function arrays included
- Calculator arithmetic, Boolean, bitwise, conditional and stack operations are evaluated with typed operands, domain/range clipping, cancellation and fixed code, stack, nesting and request-wide execution budgets
Fixed
- Invalid calculator syntax, arithmetic, inline dictionaries and output counts are rejected before converted documents are published, preserving the source and the existing destination on strict conversion failure
Version 3.295.0
Added
- Trusted native PDF workers run on Free Pascal Linux with verified user, mount, PID, network, IPC and UTS namespaces, read-only storage, seccomp, hard resource limits and parent-controlled authorisation
- Native CPU limits can be configured, Linux isolation and resource diagnostics are retained, and ordinary unsigned unencrypted PDF documents can be inspected, rendered, text-extracted or saved without loading PDFium in the parent
Security
- Linux native stdout and diagnostics are bounded, inherited descriptors and malformed response identities are rejected, non-cooperative work is terminated on cancellation or deadline expiry, and only complete validated output is published after cleanup
Version 3.294.0
Security
- Direct native-worker writes to private AppContainer files and registry storage, owner and permission changes included, are denied after complete bounded inventories and individual access checks
- Untrusted integrity with a no-write-up policy is required, and all token privileges apart from path traversal are permanently removed before native execution resumes
Added
- Private-profile logical-data and entry budgets can be configured, and verified profile protection, initial storage and removed-privilege diagnostics can be inspected
Version 3.293.0
Added
- Trusted native PDF workers run in verified Windows LPAC jobs with committed-memory limits, native-call deadlines and cancellation, crash recovery and bounded response framing
- PDFs can be inspected, BGRA pages rendered, UTF-8 text extracted and unsigned unencrypted documents saved in the separate PDF worker without loading PDFium into the calling process
- Worker output is published atomically after successful termination, response checks and private resource cleanup, preserving existing targets on failure
Version 3.292.0
Added
- Mixed and partial marked paragraph selections are reflowed with explicit source-boundary mapping and preserved or reviewed content/structure semantic values, covering cross-page ancestors, native vertical writing and tagged Arabic forward output
- Active-object count budgets are separated from sparse object-number limits so semantic readers and consecutive editing transactions retain bounded sparse identities
Fixed
- Paragraph anchors and unchanged peers are verified against the actual glyph text when native ActualText ownership moves after partial replacement
- Original font-resource bindings are restored in no-insertion object batches to retain same-family horizontal/vertical fonts through native regeneration
Version 3.291.0
Added
- Top-level object properties and source-font text can be edited, objects removed and text inserted in transactional batches whilst complete original declarations and structure ownership are retained
- Explicit insertion-boundary affinity and preserved or reviewed semantic values can be chosen, with original-object, operation-object and complete boundary maps
- Serialised object identity, saved glyphs and styles, shared Form invocations, document metadata and the complete edited scene are verified before batch results are published
Fixed
- Legal empty page content is retained when every native object is removed, original empty MCID and semantic declarations included
Version 3.290.0
Added
- Complete page declarations are preserved during supported paragraph replacement, including empty sequences, ordinary empty MCIDs, point marks, independent marked peers and encoded inline image peers
- Semantic boundaries are mapped across inserted and removed paragraph objects using source styles, before/after placement or explicit fragment offsets, with plan-bound policies and complete boundary reports
Fixed
- Paragraph painter order is retained across multiple native graphics containers, and Form internals stay opaque to top-level declaration inspection, private shaping metadata and large embedded font programs included
Version 3.289.0
Added
- Handle-free page declaration frames can be inspected with verified native object boundaries, and complete source declarations are restored after supported marked-text regeneration, covering empty sequences, ordinary empty MCIDs, point marks and named-property occurrences
- Inline image peers are preserved during marked-text edits by promoting encoded image data without rasterisation and verifying source declarations and rendered pixels before editing
Fixed
- Empty text-show operations are kept out of native spacing correspondence whilst quote-state changes and final image-pixel checks are retained in ordinary styled replacement
Version 3.288.0
Added
- Semantic source order is preserved across path construction and consumption, single-point closure, graphics-state line caps and nested Form inheritance
Fixed
- Geometric margin filtering is applied to real zero-width and zero-height native sources, complete cross-page semantic owners included, whilst objectless sources stay free of invented coordinates
Version 3.287.0
Added
- Exact semantic source order is retained when empty Tj, TJ or quote text displays create no native objects, covering numeric positioning, shared calls and mixed painted sources
- Serialised and native object types are verified at every position before strict page or Form semantic source inventories are accepted
Version 3.286.0
Added
- Zero-paint MCID ranges without their own semantic properties are retained as independent sequence sources under native and structure replacements, preserving stream namespaces, invocation identity and source order
- Ordinary empty membership is consumed without publishing invented glyph fragments, whilst complete semantic coverage and unmapped speech for inherited Form scopes are retained
Version 3.285.0
Added
- ActualText, Alt and E scopes around Form invocations are read through complete nested descendants, preserving scope hierarchy, language, shared invocation identity and whole-owner filtering
- spkEmptyFormInvocation provenance is added for real childless Form calls with exact native paths and no invented painted geometry or character mappings
Fixed
- Serialised and native source inventories are matched before semantic call order is published or an invocation is classified as empty
Version 3.284.0
Added
- TryComposeReadableText is added for explicit ActualText character composition and Alt/E word boundaries whilst original Unicode whitespace is preserved
- TPdfView.BuildSpokenReadableText is added with contiguous current-source validation, exact glyph mappings and unmapped semantic and inserted-boundary spans
- IncludeEmptySemanticSources is added to retain empty or whitespace-only source declarations for complete substitution boundaries
Fixed
- Real page objects are retained under certified semantic replacements when native character extraction de-duplicates overlapping glyphs, without inventing character mappings
Version 3.283.0
Added
- Explicit IncludeUnownedSemanticContent reading is added for native ActualText, Alt and E sources without certified MCR membership, covering untagged documents and additional sources beside a valid structure tree
- rosContent provenance is added for page/content ordering without claiming a certified logical order, preserving complete mixed semantic components and exact uncovered glyph selection and speech
Fixed
- Content-order provenance is retained on the earlier anchor pages of semantic components with foreign unowned sources, with complete source filtering and stale-identity rejection
Version 3.282.0
Added
- Certified non-painting marked-content declarations are retained in page and Form streams with typed empty-sequence provenance, source order and explicit alternative speech
- SemanticParts.Kind is added to distinguish real page objects from empty marked-content sources without invented native paths or painted bounds
Fixed
- Empty semantic declarations are included in complete owner and connected-component filtering, whilst uncovered glyph selection and geometric margin behaviour are preserved
Version 3.281.0
Added
- Complete connected native and structure semantic components are retained across independent replacement roots, partial ordinary MCRs and transitive foreign-page sources
- rssAlternatives metadata-only groups are exposed for explicit validated selection of every retained ActualText, Alt and expansion declaration without inventing a single flat primary
Fixed
- Artifact and margin filters are applied to complete connected components whilst exact uncovered glyphs are preserved, and unowned Artifact members are rejected before partial replacement metadata can escape
Version 3.280.0
Added
- Standalone native ActualText, Alt and expansion scope graphs are read without a structure replacement, retaining nested alternatives and exact partial or multiple MCR ownership
- Independent native invocation identities, logical source order and explicit alternative speech are preserved, including metadata-only primaries and shared or differing language contexts
Fixed
- Uncovered glyphs in a partially replaced MCID stay independently selectable and mapped for speech, and the filters are applied to the complete declared native owner
Version 3.279.0
Added
- Native marked-content ActualText, Alt and expansion declarations are retained within complete structure replacements, including nested, partial and multi-MCID scopes, inherited language and independent source coverage
- Semantic scope Origin is exposed, separate occurrences of reused named properties are preserved, and each retained alternative gets explicit validated speech
Fixed
- Different ActualText is accepted on proper native subsets whilst the outer structure primary is preserved and agreement is checked for identical native and structure coverage
Version 3.278.0
Added
- Simultaneous and nested structure ActualText, Alt and expansion declarations are retained in SemanticScopes with independent language, parent identities and complete source coverage
- BuildSpokenSemanticScope is added for explicitly selected, validated alternative speech without invented glyph mappings, including metadata-only fragments whose primary value is empty
Fixed
- Declared empty Artifact scopes are filtered with their complete semantic owner, and malformed unselected metadata is rejected without publishing partial declarations
Version 3.277.0
Added
- Complete cross-page ActualText, Alt and expansion owners are read once in certified global logical order, with page-specific SemanticParts and LogicalOrderIndex provenance
- Foreign-page text, path and image sources are validated before replacement publication, applying Artifact and margin filters to the entire owner across all pages
Fixed
- Semantic ownership is invalidated after document-language changes, and forged foreign provenance or semantic sources relabelled as exact glyph fragments are rejected
- Exact tagged paragraph continuation is preserved after global document ordering, and failed semantic extensions cannot publish uncertified structure replacements
Version 3.276.0
Added
- Same-page ActualText, Alt and expansion owners spanning several MCRs and page/Form namespaces are read once in logical order, retaining the owner's heading and language
- Native paths and images are included in complete semantic-source bounds and filtering, with certified speech that does not invent character mappings
Fixed
- A semantic replacement stays whole when one MCR covers several Form invocations, and the entire owner is omitted when any member or instance is filtered
Version 3.275.0
Added
- Added complete Unicode-to-CID encoding for OCR search layers, so supplementary characters supported by the selected font survive saving, reviewed native binding and tagged PDF output
Fixed
- Missing OCR glyph mappings, unavailable required native APIs, NUL and malformed UTF-16 are rejected explicitly, with current-page word rollback on failure or cancellation
Version 3.274.0
Added
- Added per-Do page and Form-stream logical ownership for shared unstructured Forms, preserving independent nested paths, exact selection and mapped speech across pages and overlapping invocations
Fixed
- Reader text is reconstructed from the actual native character owners so generated separators cannot alter real object text or glyph mappings
- Valid supplementary UTF-16 units are accepted in native reader text and exact-source OCR bindings whilst isolated surrogates and missing native Unicode mappings are rejected
Version 3.273.0
Added
- Added TagReviewedPdfOcrSource, publishing explicitly reviewed OCR headings, lists and tables as searchable tagged PDF output with exact saved-source native word binding
- Added explicit cell header relationships and scan/unbound-text artifact policies, with independent review provenance retained in successful reports
- Added saved hierarchy and physical ParentTree ownership checks, unchanged native text/pixel verification and exact raw scan image payload checks before OCR tagged output is returned
Version 3.272.0
Added
- Added reviewed list and table semantics to document tagging and existing-tree supplementation, with bounded spans, header scope, same-table header references and per-node Unicode metadata
- Added Unicode structure element IDs with consistent PDF byte encoding and byte-ordered IDTree entries
Fixed
- Native marked-content edits are preserved before switching pages, and saved physical MCIDs, hierarchy, semantic attributes, extracted text and finite-resolution rendering are verified before tagged output is published
Version 3.271.0
Added
- Added saved-PDF SHA-256 identities to OCR semantic review snapshots and explicit approval results
- Added BindPdfOcrReviewedSource, binding reviewed OCR words to unique real invisible page objects with exact owned Unicode, complete word quadrilaterals and captured page geometry
- Added explicit failure and cancellation reports for stale sources, overlapping duplicates, changed ownership, unavailable native inspection and resource limits whilst input bytes and stream position are preserved
Version 3.270.0
Added
- Added reviewable OCR heading, list, simple table/header and reading-order proposals with independent source snapshots, bounded candidate confidence and provider/reviewer provenance
- Added explicit semantic approval with stale-proposal and ownership checks, validated table/region remapping and reviewed structured-text or HTML reflow output
Version 3.269.29
Fixed
- Validated PDF 2.0 widget tab order is now reported as applied during form-field traversal rather than as a spurious unsupported-policy fallback, covering mixed annotation arrays and forward and reverse navigation
Version 3.269.28
Fixed
- Cancellation reasons and messages thrown by workers are preserved in async executor task results
- Executor self-waits and reentrant shutdown from tasks, replies and shutdown callbacks are rejected, whilst zero-timeout idle polling stays non-blocking
- Concurrent executor shutdown callers are coordinated, and synchronised callback processing is confined to the main thread
- Invalid async priority and dispatch options are rejected before work is submitted or a future starts
- Async timing is monotonic on Delphi and Free Pascal, POSIX targets included, so wall-clock adjustments cannot skew timeouts
- Whole-input GHASH copies and combined-length overflow are gone, counter offsets use the platform's native integer width, and partial AES-GCM blocks no longer read uninitialised bytes
Version 3.269.27
Fixed
- Fields and annotations following empty XFDF containers are preserved, and explicitly empty repeated annotation text values are honoured
- XFDF root and closing-tag boundaries, quoted attribute syntax and duplicate names are checked, and malformed character references are rejected without repeatedly rescanning unterminated entities
- Unknown XFDF extension subtrees are skipped with bounded nesting, whilst nested same-name elements, comments, processing instructions and CDATA are respected
- Unicode ICC profile descriptions survive on Free Pascal, complete multilingual description record tables and text ranges are validated, and the first valid locale record is selected
- ICC tag-data traversal now stops once the configured tag-count limit is exceeded
Version 3.269.26
Fixed
- XMP read-only packet end modes, exact processing-instruction attributes and padding lengths are now preserved, whilst wrapper-like text in comments or CDATA is ignored
- Nested XMP resources now keep their mixed text, CDATA and child-element order through serialisation and cloning
- XMP packets now reject duplicate XML attributes, duplicate expanded attribute names across namespace aliases and undeclared namespace prefixes
- Non-finite stream expansion ratios can no longer bypass parser policy, general-decoder output buffer growth is bounded before each write, and LZW bit offsets are widened to avoid overflow on large inputs
- The Delphi and C++Builder attachment examples now restore the original PDF when reopening a replacement fails without raising an exception, and they report a failed reopen of the restored original
Version 3.269.25
Fixed
TPdfMatrixinvertibility checks now cope with very small and very large finite scales: non-finite tolerances are refused, results that cannot be represented inSingleare rejected, and the caller's matrix is left intact when inverse or rectangle mapping fails- SVG relative-coordinate overflow is now rejected, and
TransformPdfSvgPathonly publishes a fully validated result, leaving the caller's array and any aliases into it untouched on failure - Input budgets for colour conversion and font subsetting are checked before any preservation copies are allocated, and the source ICC profile is covered by the colour input byte limit
- RichMedia extraction is hardened against Windows reserved device names, invalid filename characters and races with existing files, and cleanup on failure now also removes partially written files
- Page-range parsing in the Lazarus and C++Builder
MergePDFexamples now rejects spaces inside page numbers, and list deletion and reordering in the Delphi and Lazarus variants guard against invalid selections - The library and demos compile cleanly again now that FDF multi-select values use the declared
TXfdfWideStringstype
Version 3.269.24
Fixed
- The Delphi, Lazarus and C++Builder
SplitViewdemos now checkPdfView.Activeonce password-protected or damaged PDFs have been opened, keep custom zoom and scroll positions synchronised across all three panes, and confine search highlight painting to the active pane - Print cancellation in the Lazarus
PrintPDFdemo now breaks out of the outer copy and page loops and verifiesPdf.Activeafter loading; the DelphiPrintPDFdemo respects thechkCollatecopy-collation order, loads recent files on a single click and keeps custom page ranges intact across UI refreshes - The
ExtractImages,PDFtoJpgandExtractTextdemos reset and verifyPdf.Activebefore processing, disregard sub-2pt baseline jitter when estimating paragraph line height, and protect UTF-8 BOM stream writes inside thetry..finallyblock - Also fixed: empty URL/action path dereferencing in the C++Builder
MultiPageViewer, bookmark selection synchronisation in the LazarusPDFViewer, toolbar button reset states in the Delphi and C++BuilderPDFViewer, a duplicate startup validation refresh inStandardsLab, and stale single-file state inTableExtractionLabwhen entering batch mode
Version 3.269.23
Fixed
TPdfUaValidationIssueidentifier and description mappings are now complete throughpvuaiArtifactInStructureTree, and the Delphi, Lazarus and C++BuilderAccessibilityWorkbenchCli,IntakeWorkbenchCliandContentExtractionLabexamples gainedpv20(PDF 2.0) andpuc2(PDF/UA-2) formatting- The C++Builder
AccessibilityWorkbenchCliandIntakeWorkbenchCliexamples now emit SARIF 2.1.0 and HTML batch summaries, resolve thethumbs=mode, flatten control characters and resetfailscore=state - Batch manifests and summaries are written as UTF-8, and recursive directory scans in
AccessibilityWorkbenchCli,IntakeWorkbenchCliandPreflightReportCliskip directory symbolic links - When launched from platform build output subdirectories,
Miscellaneous/AccessibilityLabin the Delphi, Lazarus and C++Builder variants now falls back to sample paths two levels up
Version 3.269.22
Fixed
- FPdfDocumentColour Type 3 stitching function parsing now allocates Result.SubFunctions before the sub-functions are filled in, and Base.LabRange is used when an Indexed colour space sits on a Lab base space
- FindMatchingDictionaryEnd in FPdfStreamInspect consumes hexadecimal string tokens before it looks for the closing dictionary bracket
- Dictionary entry stripping in FPdfCompress now walks only top-level key-value pairs, without matching name values or nested dictionary keys; RemoveAnsiNameValue halts at PDF delimiter characters; and TPdfSparseObjectIndex.AddClassicSection keeps the primary classic section ahead of /XRefStm supplemental streams
- FPdfSemanticDiff accepts empty form field values without raising an exception and checks the returned destination handle and buffer length on the second FPDF_GetNamedDest call
- FPdfCryptoHttpCurl handles POST payload lengths and header lists correctly, FPdfCryptoHttp detects macOS DARWIN LDAP TLS availability, FPdfAsn1 keeps UTF-8 ASN.1 strings intact under Free Pascal, and FPdfProduction.RewritePdfXfaPacketStreams expands object streams while preserving the trailer /Info and /ID
Version 3.269.21
Fixed
- FPdfPdfeEngine strips any pre-existing /OutputIntents before PDF/E-1 OutputIntent markers are injected, and ValidatePdfEComplianceLegacy evaluates content scans together with Catalog, /OutputIntents, /Metadata and /Info against object-stream-expanded bytes
- The legacy marker injectors in FPdfPdfa, FPdfPdfua, FPdfPdfxEngine, FPdfPdfeEngine and FPdfPdfvtEngine expand /ObjStm object streams before resolving the Catalog, Info and page dictionaries
- XmpElementText in FPdfPdfrEngine now extracts XMP values from opening tags that carry attributes as well as from RDF attribute shorthand
- The PdfRIssueCategory, PdfRIssueRecommendation, PdfVTIssueCategory and PdfVTIssueRecommendation mappings in FPdfPreflightReport now cover every PDF/R and PDF/VT validation issue code
Version 3.269.20
Fixed
- EmitField in FPdfXfdf.pas now emits the
<value-richtext>element even for fields that carry only RichText without a plain Value, and EmitFdfField and TFdfParser round-trip multi-select FDF /V arrays through TXfdfField.Values - FormTabOrderedFieldIndices in FPdfFormTabOrder.inc reports /Tabs /W (ptmWidget) as an unsupported widget tab-order fallback instead of asserting that ptmWidget was applied natively
- EffectiveFieldEntry in FPdfFormGraft.inc walks up the ancestor /Parent field dictionaries before it falls back to document-level /AcroForm defaults during form grafting
- FPdfDocumentXfaFlatten and FPdfXfaStaticFlow decode UTF-8 field values before scalar iteration under Free Pascal, clear template multi-select defaults on the first dataset bind, keep the trailing Page and Catalog keys when rewriting /Annots and /AcroForm, and no longer run static XFA
<breakBefore>and<breakAfter>directives twice or too early
Version 3.269.19
Fixed
FPdfDocumentFontSubsetno longer copies the CFF Top DICT two-byte escape operator (12 <B1>) when no operands are queued, and with content-stream usage filtering enabled the glyph IDs already collected survive when several Identity CIDFont dictionaries share one embedded font program- Bare CFF Top DICT scanning in
FPdfDocumentTextRepairnow parses variable-length nibble-encoded real operands (B0 = 30) up to the terminating$0Fnibble rather than skipping a fixed five-byte span - Isolate matching (
MatchingPdi) and paragraph-level detection (ParagraphLevelOf) inFPdfBidistop at paragraph separator (bcB) boundaries, as UAX #9 BD9 and P2 require
Version 3.269.18
Fixed
- When
ReplaceExistingAssetsis enabled, RichMedia writing inFPdfDocumentAssetsnow removes the/Annotsentry from pages whose only annotations were old RichMedia annotations, while untouched pages holding regular annotations are no longer rewritten needlessly - Object-reference (
OBJR) removal inEditPdfDocumentStructure(psekRemoveContentItem) now clears both the referenced object's/StructParentkey and the matchingParentTreenumber-tree entry inFPdfDocumentStructure
Version 3.269.17
Fixed
- The
SplitPDF,FormFill,Attachment,FontProperties,SecurityAudit,ExtractText,PDFtoJpg,NavigationLabandAccessibilityLabdemos are hardened across Delphi, C++Builder and Lazarus:Pdf.Active/PdfView.Activeis validated after document activation andSaveAsreturn values are checked - The Delphi
SplitPDFdemo defaults to the page range1-3, 5, 7-8so it matches the 8-page generated sample, validates range and output path edits live viaOnChangewithout creating folders prematurely, and assigns 1-based initialPageNumbervalues correctly - The
BatchExportdemos gainedFormCloseQuerycancellation guards; C++BuilderMergePDFparses comma-delimited ranges strictly and bounds-checks list access;ImageToPDFpreserves the multi-select preview; LazarusCreatePDFlaunchesOpenDocumentportably; andViewerInteractionLabpasses navigation keys through to the focused control
Version 3.269.16
Fixed
- The
PreflightReportandContentExtractionLabdemos in all three toolchains now clear stale report state, checkPdf.Activewhen a load fails and invalidate cached preflight reports whenever the standards checkboxes change;ContentExtractionLabalso resolves default report filenames for the showcase sample, and the C++BuilderContentExtractionLabmaps all 28TPdfAnnotationSubtypevalues - The
PrintPreferencesdemo guardsPdf.Activebefore viewer print preferences or page counts are read in Delphi, C++Builder and Lazarus, andParsePageRangerejects page ranges made up solely of commas
Version 3.269.15
Fixed
ExtractImagesin C++Builder and Lazarus now skips non-image page objects whenPdf.Bitmap[J]returnsnilinstead of raising an exception and bumping the extraction error counter, and the DelphiExtractImagesdemo gained an active-document check- The C++Builder
PreflightReportCli,AccessibilityWorkbenchCliandIntakeWorkbenchCliconsole demos guardargv[1]when launched without arguments, checkPdf->Activeafter opening input files, validate thepreview=andfailscore=ranges and free password candidate lists on every exit path; across Delphi, C++Builder and Lazarus, unknownkey=valueor flag arguments are now rejected rather than being treated as document passwords
Version 3.269.14
Fixed
FdfExportToStreaminFPdfXfdf.pascomputes FDF object offsets, cross-reference offsets and returned byte counts relative to the stream entry position, andTFdfParser.TryParseFieldinitialisesValues,RichTextandHasRichTexton every parsed fieldPdfIccProfileDescriptionMatchesinFPdfIccProfile.pasinsists on at least 16 bytes in an ICCmlucdescription tag before it reads the 12-byte header fields
Version 3.269.13
Fixed
ValidatePadesTrustBytesinFPdfPadesLtv.pasnow merges the cryptographic timestamp verification status and algorithm policy status of document timestamps (/ETSI.RFC3161) into the overall documentIntegrityStatus; previously the status was overwritten withpcsNotCheckedwhenever no ordinary signature preceded the timestampInjectPadesDssMarkersinFPdfPadesLtv.pasandInjectAssociateFilesinFPdfAssocFiles.pasexpand compressed object streams (/ObjStm) while locating the document catalog, page tree dictionaries and maximum object numbers before an incremental update is written
Version 3.269.12
Fixed
AsnReadHeaderinFPdfPadesclampsLimitto the buffer length and rejects 4-byte ASN.1 lengths with the sign bit set as well as lengths beyondLimit - ContentOffs, which rules out signed 32-bit overflow and TLV loops that never advanceEcDsaP1363ToDerinFPdfCmsrejects odd-length raw IEEE P1363 buffers rather than truncating the final byteOcspRequestBodyinFPdfCryptoSslOcsp.incencodes the DER request straight into a preallocatedTBytesbuffer, so the OpenSSL heap buffer allocated byi2d_OCSP_REQUESTno longer leaksTPdfSslCmsVerifier.VerifyDetachedandVerifyWinDetachedCmsExreject a non-empty segment length paired with anilsegment pointer, andVerifyWinAttachedCmsExinFPdfCryptoWininitialises the CryptoAPI backend throughWinCmsVerificationAvailableParseTsaUrland the WinHTTP function bindings inFPdfTsaWincope with case-insensitive HTTP/HTTPS schemes, query strings without a root, bracketed IPv6 hosts and 64-bit-safeINTERNET_PORT/DWORD_PTRparameter widths
Version 3.269.11
Fixed
- Renumbering marked-content
/MCIDentries inRewriteMcidsInText(FPdfRedactionEngine) now replaces only the numeric token in place; closing>>delimiters are no longer truncated and tightly packed<</MCID N>>dictionaries are no longer skipped - A duplicate child-element liveness block in
TStructureRepairDocument.BuildLiveKidsandParseElementContent(FPdfRedactionEngine) has been removed; it overwroteMcidStillAliveresults whenever an MCID matched a structure element object number ReplaceMcidInIteminFPdfRedactionEnginefinds the numeric value after the/MCIDkey token instead of replacing earlier matching digits inside/Pgobject references
Version 3.269.10
Fixed
- The C++Builder
AccessibilityWorkbenchCligained a corrected structure-element deduplication key, a correctedCountUaIssuesenum upper bound, CSV formula-prefix escaping andversion/--version/-vCLI command support; the C++BuilderIntakeWorkbenchClireceived the right default batch summary extension, the same CSV formula-prefix escaping and properGPasswordCandidatescleanup - Active-document state checks and UI feedback have been corrected across the
Attachment,ExtractImages,ImageToPDF,MergePDF,SearchAndSelect,PrintPDFandPreflightReportClidemos
Version 3.269.9
Fixed
- Active-view dispatch in the Delphi
SplitViewdemo (GetActivePdf,SpeedButtonShowInfoClick,SpeedButtonShowTextClickandFormMouseWheel) is fixed, text selection and search indices start at-1, bitmap cleanup inMenuItemSaveAsImage1Click..3Clickis guarded, and all threeSplitViewvariants refresh their bookmark trees when the active pane changes - Bookmark navigation in the Delphi, C++Builder and Lazarus
PDFViewerdemos resolves clicked nodes through the stored bookmark handle (Pdf.BookmarkFrom[Node.Data]) instead of the title text, and the Actual Size zoom preset in the C++Builder and LazarusMultiPageViewerusesActualSizeZoom[PageNumber]
Version 3.269.8
Fixed
- The Delphi, C++Builder and Lazarus
TableExtractionLabsamples write exported CSV files into the target folder they create rather than the process working directory, extract tables automatically while building the startup sample document, refresh the action button states once a batch run finishes, verifyPdf.Activeafter a file is opened and parseMinConfidencewith a locale-invariant dot decimal separator
Version 3.269.7
Fixed
- The Delphi, C++Builder and Lazarus
AccessibilityLab,AccessibilityReaderandWatermarkStampsamples callPdf.UpdatePagebefore further pages are appended, before the active page changes and before generated sample documents are saved;WatermarkStampalso numbers pages from 1 when creating them, so generated pages keep their text and vector content
Version 3.269.6
Fixed
- The C++Builder and Lazarus
StandardsLabsamples list aPAdESvalidation row alongside PDF/A, PDF/UA, PDF/E, PDF/X, PDF/R and PDF/VT, carry C++Builder conformance and validation-issue enum ranges up to the current PDF/A-4, PDF/UA-2, PDF/E-1, PDF/X-6, PDF/R-1 and PDF/VT-2 ordinals, log individual validation issues to the details pane and gate directReportPdf*/SaveAsStandardcalls by edition - The Delphi and Lazarus
XfaLabsamples includePDFiumEdition.inc, so Small Business XFA-to-AcroForm conversion and XFA rich-text inspection work when the samples are compiled with the Small Business or Enterprise edition
Version 3.269.5
Fixed
- XML numeric character reference decoding in
FPdfDocumentXfaFlattenandFPdfTrustedListcaps code-point accumulation per digit, preventing 32-bit integer wrap-around on oversized numeric entities; non-ASCII entities are encoded as UTF-8 under Free Pascal, and high-byte non-ASCII characters are refused in trusted-list Base64 certificate payloads
Version 3.269.4
Fixed
TPdfPkcs11SignerProvider.EnsureSessioninFPdfPkcs11keeps track of the active slot identifier between calls, closes the previous session on a slot switch, closes and resets the session handle whenC_Loginfails and passes UTF-8 PIN and label bytes straight through under Free Pascal
Version 3.269.3
Fixed
ValidatePdfRComplianceandValidatePdfRComplianceWithOptionsinFPdfPdfrEnginecarry validation options through the sparse fast path, match/Producerand/CreatorInfo dictionary keys with token bounds, guard against nil or oversized streams in the legacy fallback and put the caller's stream position back on exit
Version 3.269.2
Fixed
TPdf.GenerateLayoutandTPdf.GeneratePagedLayoutset up their internal layout measurer and node-cache instances inside the rollback-protectedtry..finallyscope, so a failure during setup restores the initial document state cleanly and leaks nothingProcessPdfScan,ReviewPdfSemanticSources,ValidatePdfRasterSource,ComparePdfSemantics,ExportPdfObjectGraphJsonandPatchPdfObjectGraphfree temporary streams, snapshots and working buffers in outertry..finallyblocks on every exit path
Version 3.269.1
Fixed
- The Delphi, C++Builder and Lazarus
StandardsLabsamples tie PDF/R validation rows and theSave PDF/Raction toPdfSmallBusinessEditionrather thanPdfEnterpriseEdition, in step with the Small Business ownership ofFPdfPdfrEnginethat arrived in v3.266.0 - The Delphi
WorkflowConsolesample locatesPDFiumEdition.incon its own in Enterprise demo builds and stays out of Single-edition installers, so demo builds after installation no longer fail whenLib\SmallBusinessis missing - RAD Studio
.dpkpackage manifests hold every runtime unit outside thePDFIUM_RUNTIME_PKGdesign-only guard and packageFPdfSha1,FPdfCryptoSsl,FPdfCryptoHttpandFPdfCryptoHttpCurlexplicitly inPDFiumPas, removing implicit cross-package imports whenPDFiumPasEntis built
Version 3.269.0
Added
QueryPdfFeatureacceptspffStandardsExecutionandpffDocumentRepairProviders, so Enterprise batch standards-rule execution (FPdfStandardsExecution) and the concrete colour, structure and text PDF/A repair providers (FPdfDocumentRepairProviders) report their own implementation linkage; previously onlypffPreflightandpffDocumentRepairwere queryable, and neither on its own proved that batch execution or a repair provider was linked
Changed
- Existing
TPdfLibraryFeatureenumerators keep their ordinals; rebuild packages and dependent clients together so the generated C++ headers expose the two new values QueryPdfFeatureProfile(pfpRedactionIsolatedPageGroups)now describes the scope introduced in 3.268.2: a selected page group is flattened only on the pages carrying a redaction or a shared XObject, and the other pages keep their content, searchable text and blending group- The edition matrix gained a row for exact-byte PDF/R source inspection, which Small Business has provided since 3.267.0, and now records that runtime edition markers clear again once a runtime package carrying them is unloaded
Version 3.268.5
Fixed
- C++Builder projects that use Enterprise units such as
FPdfPreflightReportnow link without also including a Small Business header; the Enterprise headers linkPDFiumPasSBas well asPDFiumPasEnt, which fixes the "Unable to open file FPDFPDFRENGINE.OBJ" error in the PreflightReport samples
Version 3.268.4
Changed
PdfComponentVersionreturns the bare release number, such as3.268.4, instead of the version and copyright label;TPdf.Aboutstill returns the label- Enterprise workflow evidence (
FPdfWorkflowEvidence) records that release number inlibraryVersion; appending to evidence written by an earlier release still rejects the differing version
Version 3.268.3
Fixed
- Unloading a runtime package that carries Small Business or Enterprise units (for example rebuilding
PDFiumPasSBorPDFiumPasEntin the IDE) now resets their implementation hooks, so later calls raiseEPdfSmallBusinessRequiredorEPdfEnterpriseRequiredinstead of jumping into unloaded code PdfSmallBusinessEditionandPdfEnterpriseEditionreport False again once every unit of that edition is unloaded; edition units call the newUnmarkPdfSmallBusinessEdition/UnmarkPdfEnterpriseEditionfrom their finalisationQueryPdfFeatureno longer reports native XFA, encrypted form writes, font optimisation or paragraph editing as linked after their units are finalised
Version 3.268.2
Fixed
TPdf.SaveAsRedactedwithRasterizeIsolatedTransparencynow works on multi-page documents: the converted content of a page is committed before the next page is processed, so earlier pages no longer fall back to whole-object removal and fail the final composition check- Transparent paths and text are rasterised only where they meet a redaction rectangle and keep their vector and text content elsewhere; Form and transparent image XObjects, which can be shared between pages, are still converted on every page so their original streams cannot remain in the output
- With
RasterizeIsolatedPageGroups, a page with an isolated page group is flattened only when it carries a redaction or a shared XObject; other pages keep their content, searchable text and blending group
Version 3.268.1
Fixed
TPdf.RenderPageThumbnailno longer squashes pages that carry/Rotate 90or/Rotate 270: the thumbnail keeps the landscape aspect ratio the viewer shows, and an extra 90 or 270 degreeRotationargument now turns it back to portrait as expectedTPdfThumbnailViewstrips and the rendering fallback ofTPdf.Thumbnailpick up the same fix for rotated pages
Version 3.268.0
Added
- PDF/R source inspection reports processed and total page counts, page-specific issues, structured completion status and bounded JSON or HTML diagnostics
- Enterprise evidence distinguishes documents, diagnostic reports and read-only operations, supports stream-derived identities and verifies source and artifact bytes
- Workflow reports can serialise bounded UTF-8 directly to caller-owned streams
- Windows artifact bundles publish PDFs and reports with a SHA-256 manifest through a staged directory without replacing an existing destination
- A runnable Windows workflow console demonstrates Small Business review, raster inspection and Tesseract OCR with optional Enterprise evidence
Changed
- Scan, source-review and raster-inspection workflows use spill-capable source snapshots and native streaming loads, preserving caller positions whilst reducing full-input memory copies
Version 3.267.0
Added
- Source-bound semantic review records exact input identities, selected comparison categories, tolerances, work limits and effective or attempted page pairing
- Small Business exact-byte PDF/R inspection combines raw validation and native page facts against one owned source snapshot, with explicit input/page/object budgets and cooperative cancellation
- Reflow HTML can stream directly through a bounded report writer with node, text, escaped-output and nesting limits
Fixed
- Scan HTML enforces report budgets whilst serialising reflow nodes rather than after constructing complete page HTML
- Pure semantic-report export readiness no longer requires a native runtime or active document; combined semantic comparison retains its operation checks
- Enterprise HTML evidence now displays the readiness, dependency, implementation, byte-count and opt-in context already present in JSON
Version 3.266.0
Added
- Small Business scan workflows preserve source bytes whilst producing searchable PDFs, structured text, safe HTML reflow and explicit complete, partial or cancelled outcomes
- Bounded JSON and HTML exports preserve semantic-review changes and ambiguity, and static XFA migration assessment reports exact target field names without exposing field values
- Enterprise cross-workflow evidence binds input/output bytes to operation profiles, supplied environment checks, policies, resource budgets and explicit outcomes
- Additional non-executing profiles describe native XFA interaction, selected font instances, mixed-direction paragraphs, encrypted form writes, business workflows and evidence
Changed
- PDF/R raster-format markers and validation are now included in Small Business and Enterprise with original public unit names and namespaces preserved
Fixed
- XFA capability descriptions distinguish unsupported dynamic conversion from bounded native V8/XFA interaction
Version 3.265.0
Added
- Non-executing workflow profile queries describe bounded XFA, structured OCR, tagging and redaction support, explicit opt-in requirements and profile-specific dependency/document checks
- An edition matrix distinguishes core processing, Small Business automation/review and Enterprise compliance/security workflows from developer and organisational licensing scope
Changed
- Complete semantic document comparison is now included in Small Business and Enterprise through FPdfSemanticDiff, with unchanged public unit names and namespaces
Fixed
- Both public byte-stream sanitisation overloads reject a missing Enterprise sanitisation implementation before accessing or modifying caller streams
Version 3.264.0
Added
- Core existing-document font optimisation accepts explicit TrueType collection faces and variable coordinates bound to the original embedded font stream and digest
- Selected static instances retain mapped glyph IDs, PDF widths and Unicode mappings, with embedding-policy checks and bounded native text/pixel verification before publication
Version 3.263.0
Added
- Core mixed-direction paragraph editing accepts Hebrew with Latin/digits, niqqud and selected punctuation whilst retaining complete-word styles and logical line ownership
- Hebrew paragraphs retain supported tagged owners and independent saved-glyph/visual-order checks through dirty native saves
Version 3.262.0
Added
- Small Business opt-in static flowed XFA flattening with vertical flow, row wrapping, nested fixed boxes, drawings and forward named breaks across explicit fixed page content areas
Fixed
- XFA flattening captures the complete source from byte zero whilst restoring a non-zero caller position, and validates the snapshot size before copying
- Flattened widget routing follows logical PDF page-tree order when page object numbers use a different order
- Combined XFA drawings and fields retain complete nested resource dictionaries and page-level widget annotations
Version 3.261.0
Added
- Enterprise native Windows StartTLS retrieval verifies the upgraded transport, SAN/server usage and private connection roots before anonymous LDAP requests
- StartTLS response and handshake waits honour the remaining session deadline through a joined per-connection socket watchdog, without plaintext fallback
Changed
- Native Windows LDAP TLS sessions queue within the process to avoid observed concurrent StartTLS failures; queue time consumes each caller's existing deadline whilst trust stays isolated per connection
Version 3.260.0
Added
- Enterprise isolated CMYK Form raster redaction with physical colour/alpha erasure and retained outside composition
- Separately selected isolated RGB, Gray and CMYK page-group redaction replaces whole-page content with a finite composite, removes obsolete blending declarations and prunes sensitive original streams
Security
- Raster transparency redaction rejects tagged sources whose retained semantic stream references can preserve original Form content
Version 3.259.0
Added
- Enterprise opt-in supplementation of uniquely invoked unmarked nested text Form streams with independent MCID namespaces and ParentTree ownership
- Core bounded Form invocation inspection follows actual Do operators, resource aliases and shared ancestors before assigning unique ownership
Version 3.258.0
Added
- Core structure-binding validation checks reverse ParentTree coverage, rejects orphan or conflicting owners and verifies the physical declaration of every structure-declared MCID
- Page/Form namespace checks retain exact stream provenance across continued contents, with duplicate-declaration, mutually exclusive namespace and number-tree integrity diagnostics
Version 3.257.0
Added
- Small Business Tesseract providers expose native line, paragraph and physical-region boundaries through the structured OCR interface, preserving engine reading order for searchable text and HTML reflow
- Optional OCR regions partition paragraph blocks with validated ownership and independent returned arrays
Changed
- Tesseract options enable native layout by default whilst retaining word-only calls and explicit heuristic fallback when layout is disabled or the optional native export is unavailable
Version 3.256.0
Fixed
- PDF/A-4 output writes the required revision identifier and PDF 2.0 baseline, preserves mapped source metadata in XMP and removes incompatible active Info entries
- PDF/A-4e retains its engineering profile without an accessibility-only structure gate or downgrade, with profile-specific 3D annotation and stream checks
- PDF/A validation rejects invalid part-4 identification, missing PDF/A-4f EmbeddedFiles names, invalid Info/PieceInfo relationships and unsupported Info keys
- Bounded base PDF/A-4 attachment checks inspect child documents separately, preventing embedded PDF objects from contaminating outer-document inspection
Version 3.255.0
Fixed
- Edition exception declarations provide concrete empty/message constructors, allowing generated C++Builder headers and derived default constructors to compile whilst retaining feature-specific diagnostics
- Windows optional crypto transport headers request the LDAP import library for static C++Builder clients, including the Win64x COFF toolchain
Version 3.254.0
Added
- Core opt-in optimisation of existing FontFile3/OpenType TrueType outlines, including separately selected variable default instances, proven CID/simple mappings and shared programs
- Published OpenType TrueType font counters whilst preserving original GIDs, embedding permissions, Unicode mappings, PDF widths and rendered glyphs
Version 3.253.0
Added
- Enterprise opt-in native Windows LDAPS retrieval with verified DNS/IP subjectAltName, private transport roots, server-certificate usage checks and per-connection trust isolation
- Negotiated TLS 1.2/1.3 and cipher-strength checks before anonymous LDAP requests, with independent CMS trust and existing bounded retrieval policies
Version 3.252.0
Added
- Core opt-in matching-ICC Gray and CMYK transparency conversion for isolated Form/page groups and Alpha masks, including nested/shared groups, images and supported shading functions
- Separate page-group and preserved matching-profile buffer counters for inspecting staged conversion work
Fixed
- The new matching-group policy preserves already encoded target-profile samples, avoiding unnecessary CMYK PCS round trips that replace pure black with rich black
Version 3.251.0
Added
- Core opt-in same-page shared tagged Form reading with separate invocation paths, transforms, live source identities and exact glyph selection/speech mappings
- Explicit single-MCR ActualText, Alt and E reading, including complete content replacements and exclusive ancestors, with certified semantic speech that does not invent native character mappings
Fixed
- Certified content replacement text decodes original PDF string bytes, preserving UTF-16, UTF-8 BOM and PDFDocEncoding values
- Semantic source snapshots reject policy/revision changes and omit a complete replacement owner whenever any of its glyph sources is filtered
Version 3.250.0
Added
- Core opt-in bidirectional Arabic/Latin/digit paragraph editing with complete-word style changes, independent font scopes, retained source sizes/colours and detailed shaped-run reports
- Saved logical line ActualText and preservation of existing page-MCID, content, leaf and exclusive ancestor semantics through native saves
Fixed
- Marked text editing accepts a uniquely bound leaf at the first structure-snapshot index
Version 3.249.0
Added
- Core typed single and batch AcroForm writes for permission-allowed AESV3 R5/R6 sources, preserving the original Encrypt dictionary, key, credentials, metadata-encryption setting and first file ID
- Bounded in-memory plaintext staging and strict encrypted-candidate reopen with complete widget-state verification before replacing the live document, including shared and direct field ownership
Fixed
- Encryption-key recovery follows the selected stream/string crypt filter instead of depending on fixed whitespace in the CFM entry
- New encrypted incremental objects cannot overwrite the preserved encryption dictionary
Version 3.248.0
Added
- Enterprise opt-in isolated-transparency raster redaction for DeviceRGB/DeviceGray Forms and Alpha graphics soft masks, preserving outside native text and independently clearing sensitive RGB and alpha samples
- Configurable raster DPI, shared pixel/work budgets and channel-error limits, with native checks of the exact saved output outside redaction rectangles before publication
Fixed
- Redaction array parsing now distinguishes adjacent numeric values from complete indirect references, preserving annotation rectangle and colour metadata
- Tagged redaction structure repair no longer changes the host application's process exit code
Version 3.247.0
Added
- Enterprise opt-in tagging of unmarked top-level content in existing structure trees, with reviewed hierarchy, preserved MCR/OBJR and ParentTree ownership, and support for pages with existing annotations and widgets
- Core page-MCID binding without content rewriting and read-only validation of declared structure-to-ParentTree owner relationships and namespace uniqueness
Changed
- Tag supplementation verifies retained structure metadata, native text, widget semantics and bounded rendered pixels before returning independent output bytes; preserved and skipped objects are reported explicitly
Version 3.246.0
Added
- Small Business structured OCR through
FPdfOcrLayout, with optional provider line/block hierarchy, reviewed table grids and spans, compatibility with existing word providers, and conversion to structured text or escaped HTML reflow - Optional OCR image preprocessing with explicit transforms back to original source pixels, native rotation/CropBox-aware page geometry, shared pixel budgets and unchanged original scan images
pffStructuredOcravailability query with the same native/provider prerequisites as the searchable OCR layer
Version 3.245.0
Added
- Per-feature availability queries through
FPdfEdition.QueryPdfFeatureandTPdf.QueryFeatureStatus, separating minimum edition and actual implementation linkage from native, provider and document prerequisites without executing the operation
Changed
- Small Business static XFA conversion preserves Unicode field, subform and radio-member names, hierarchical dataset bindings and supplementary characters across native saves, with explicit rejection of ambiguous qualified names and invalid name characters
Fixed
- UTF-8 XML tag matching and FPC text-string serialisation preserve Unicode names without mixing character offsets, byte offsets or host code-page conversions
Version 3.244.0
Added
- Small Business edition units in
Lib\SmallBusiness: theFPdfSmallBusinessaggregate unit links every Small Business feature, thePDFiumPasSBpackage (Delphi and C++Builder, RAD Studio XE5 through 13.1, requiresPDFiumPas) andPDFiumLazSB.lpkfor Lazarus carry them, and with the design-time package installed dropping aTPdfon a form addsFPdfSmallBusinessto its uses clause EPdfSmallBusinessRequired, raised by Small Business entry points whenFPdfSmallBusinessis not linked, and the common ancestorEPdfEditionRequiredof it andEPdfEnterpriseRequired;PdfSmallBusinessEditionreports whether the Small Business implementation is linked- The Small Business copy of
PDFiumEdition.incdefinesPDFIUM_SMALLBUSINESS; the Enterprise copy now defines bothPDFIUM_SMALLBUSINESSandPDFIUM_ENTERPRISE
Changed
- Static XFA to AcroForm flattening (
FPdfDocumentXfaFlatten,FlattenPdfXfaToAcroForm) is now a Small Business feature and moved fromLibtoLib\SmallBusinesswith an unchanged unit name; the Single edition no longer ships it - The searchable OCR layer (
TPdf.ApplyOcrSearchLayer,FPdfEnterpriseOcr) and the Tesseract OCR provider (FPdfOcrTesseract) moved from the Enterprise edition to Small Business and fromLib\EnterprisetoLib\SmallBusiness;IPdfOcrProviderstays in every edition, and without the implementation linkedApplyOcrSearchLayerraisesEPdfSmallBusinessRequired - Enterprise contains every Small Business feature:
FPdfEnterpriselinksFPdfSmallBusiness,PDFiumPasEntrequiresPDFiumPasSBandPDFiumLazEntrequiresPDFiumLazSB, so Enterprise projects putLib\Enterprise, thenLib\SmallBusiness, ahead ofLibon the search path - Linking any Small Business unit into a trial build starts the trial reminder, covering the stream-level
FlattenPdfXfaToAcroFormentry point that does not pass through theTPdf.SaveAswatermark
Version 3.243.0
Changed
- Long-term signature validation is now an Enterprise feature: PAdES B-LT and B-LTA signing,
InjectPadesDssMarkers(DSS / VRI),RenewPadesArchiveTimestamp,BuildPadesEvidenceReportandBuildPadesEvidenceReportBytesare implemented by the Enterprise unitFPdfPadesLtv; B-B and B-T signing,ValidatePadesComplianceand revision analysis stay in every edition - Qualified trust validation is now an Enterprise feature:
ValidatePadesTrustandTPdf.ValidatePadesTrust/ValidatePadesTrustAsynccome fromFPdfPadesLtv, andFPdfTrustedList(EU Trusted List) moved toLib\Enterprise;IPdfQualifiedTrustEvaluatorandTPdfTrustedListEvaluationare now declared inFPdfPadesand remain available throughFPdfTrustedList - Secure redaction and sanitisation are now Enterprise features:
TPdf.SaveAsRedactedis implemented byFPdfEnterpriseRedaction, the redaction entry points ofFPdfRedactionbyFPdfRedactionEngine, andTPdf.SaveAsSanitisedrequires the Enterprise edition - Styled text replacement keeps working in every edition: the Form expansion and clip geometry it shares with redaction (
ExpandRedactionForms,ValidateDetailedRedactionSource,ClassifyRedactionClip,ValidateRedactionClipGeometry) stays inFPdfRedaction - Without the Enterprise implementation linked these entry points raise
EPdfEnterpriseRequired; requesting B-LT or B-LTA signing fails before any signing or time-stamp request is made
Version 3.242.0
Changed
- PDF/X, PDF/E, PDF/R and PDF/VT (including VT-2s MIME packaging) are now Enterprise features.
FPdfPdfx,FPdfPdfe,FPdfPdfrandFPdfPdfvtstay in every edition with their types and entry points, so existing Delphi, C++Builder and Lazarus code still compiles; the validators and marker injectors moved to the Enterprise unitsFPdfPdfxEngine,FPdfPdfeEngine,FPdfPdfrEngineandFPdfPdfvtEngine, andFPdfPdfvtMimemoved toLib\Enterprise - Remote and HSM signing (
PreparePadesRemoteSignature,CompletePadesRemoteSignature,SavePadesRemoteSigningRequest,LoadPadesRemoteSigningRequestand the matchingTPdfmethods) is now an Enterprise feature implemented byFPdfPadesRemote TPdf.ApplyOcrSearchLayer(searchable OCR text layer) is now an Enterprise feature implemented byFPdfEnterpriseOcr;IPdfOcrProviderstays in every edition- Without the Enterprise implementation linked, these entry points raise
EPdfEnterpriseRequiredbefore writing any output, and the read-onlyPdfXConformance,PdfEConformance,PdfRConformanceandPdfVTConformanceproperties report Unknown so the Object Inspector stays usable - The
StandardsLabsamples keep PDF/A and PDF/UA in every edition and enable their PDF/E, PDF/X, PDF/R and PDF/VT rows only in the Enterprise edition
Added
PDFiumEdition.incedition marker: the Enterprise copy inLib\EnterprisedefinesPDFIUM_ENTERPRISE, so code shared between editions can guarduses FPdfEnterprisewhenLib\EnterpriseprecedesLibon the search path; library builds stage the matching copy next toPDFiumPas.incFPdfPreflightReportandFPdfPdfvtMimelink the standards engines they use, so programs that only use those units need no extra uses clause
Version 3.241.0
Changed
- Preflight reports with PDF/A remediation, PKCS#11 hardware signing, semantic document comparison and the Tesseract OCR provider are now Enterprise features:
FPdfPreflightReport,FPdfStandardsExecution,FPdfDocumentRepair,FPdfDocumentRepairProviders,FPdfPkcs11,FPdfSemanticDiffandFPdfOcrTesseractmoved toLib\Enterprisewith unchanged unit names, and the Single and Small Business editions no longer ship them - Enterprise projects add
Lib\Enterpriseto the search path; the corePDFiumPasandPDFiumLazpackages no longer contain these units - The
PreflightReportandPreflightReportClisamples (Delphi, C++Builder, Lazarus) are marked as Enterprise samples in their sources and Readme
Added
PDFiumPasEntpackage for RAD Studio XE5 through 13.1 (Delphi and C++Builder, requiresPDFiumPas) andPDFiumLazEnt.lpkfor Lazarus carry the Enterprise units; with the design-time package installed, dropping aTPdfon a form addsFPdfEnterpriseto its uses clauseFPdfEnterpriseaggregate unit links every Enterprise feature, andPdfEnterpriseAvailablereports whether it is linkedEPdfEnterpriseRequired(declared in the new core unitFPdfEditionand re-exported byPDFium) names the Enterprise feature that was called without its implementation linked
Version 3.240.2
Fixed
- Document-timestamp evidence extraction validates
ByteRangebounds without integer overflow, so crafted signatureByteRangevalues can no longer crash PAdES report building - The C++Builder
PrintPDFsample skips pages that fail to render instead of crashing the print job - The C++Builder
AccessibilityWorkbenchCliderives its accessibility verdict from the enumerated findings like the Delphi and Lazarus twins, fixing wrong pass/review verdicts and thefailonexit gate
Version 3.240.1
Fixed
- Text selection and reading APIs (
CharCountOfPage,SelectFragment,SelectReadingUnit,SelectionRectangles,SelectedText, reading-word tracking and related helpers) now take the render lock, so mouse and speech driven text access no longer races background rendering of the same document - Shaped Arabic paragraph text extraction restores the caller's page state when no page was open before the call
Version 3.240.0
Added
- Opt-in unique tagged Form reading follows logical structure order with explicit page/Form MCID namespaces, reciprocal ParentTree validation and exact native selection and speech
- Tagged reading checks parent and structure graphs before native tree traversal, preserving safe top-level output with diagnostics for invalid graphs
Fixed
- Precompiled trial libraries and source build again on RAD Studio 12.0 through 18.0: recently introduced hard real-type casts and an
Int64for-loop control variable are rejected by the oldest supported compilers - Base64 image decoding in
FPdfDocumentXfaFlattennow stages all four digits in bounds instead of indexing the fourth past a three-byte buffer, which RAD Studio 12.0 through 23.0 reject at compile time
Version 3.239.0
Added
- Opt-in shared untagged Form reading keeps each same-page or cross-page invocation distinct through exact native selection, sentence speech and page-following source parts
- AccessibilityReader examples expose a separate shared Form switch that cancels stale playback when source inclusion changes
Version 3.238.0
Added
- Typed annotation-only form writes support bounded direct field promotion with explicit widget identity, coherent field-tree ownership and preserved unrelated annotations
Fixed
- Direct merged field writes update the authoritative field tree so successful writes retain the new value after native readback and save/reopen
- Raw Unicode option strings remain lossless during direct field normalisation, and typed form transaction trailers serialise a valid document ID array
Version 3.237.0
Added
- AccessibilityReader demos expose source-bound spoken-page following, explicit following resume, nested Form reading and labelled cursor style, thickness and opacity controls
- The Lazarus AccessibilityReader runs natively with Linux Qt6/LCL, an optional eSpeak bridge and an explicit visual preview when no speech engine is available
Fixed
- Changing PageNumber on an inactive view no longer attempts to load its native page when the bound document is active
- Destroying a document safely detaches surviving bound views, including Lazarus component ownership teardown
- Reader demos reset document cursors when opening a shorter file and stop old playback before document replacement
Version 3.236.1
Fixed
- Fixed page and reading-cursor alignment when a viewer is partially clipped by its parent, keeping single-page and spread painting consistent with page/device coordinate conversion
Version 3.236.0
Added
- Added opt-in reading of uniquely invoked nested Form XObjects with transformed geometry, inherited Artifact/language filters and exact native selection/speech mappings
- Added nested object paths, runtime source identities and expansion diagnostics that preserve safe output when Forms are shared, clipped, tagged or over budget
Version 3.235.0
Added
- Added annotation-only checkbox and radio Opt export-array writes with Unicode values, complete shared-widget ordering and native appearance states
Fixed
- Preserved Unicode choice export values by retaining original PDF string bytes until decoding
Version 3.234.0
Added
- Added opt-in source-bound reading-session page following with visible word cursors in single-page and two-page/cover spreads
- Manual navigation suspends following until explicitly resumed, preserving pause behaviour, source-document lifetime and selection restoration
Version 3.233.0
Added
- Added atomic batch AcroForm value writes across pages with one document replacement, typed field requests and failure reports
- Invalid or duplicate shared-field requests roll back the entire batch whilst preserving active native editors on rejection
Version 3.232.0
Added
- Added filled, outline and underline reading-word cursor styles with configurable pixel thickness and opacity whilst preserving the existing default appearance
- Improved FPC overlay painting with bulk buffer capture/publication and clipped allocations, removing per-pixel canvas and GDI calls
Version 3.231.0
Added
- Added typed annotation-only text, combo, choice, checkbox and radio-group value transactions with consistent parent/shared-widget values and native appearances
- Added logical field cursors and explicit no-focus policies for focused-value writes whilst preserving active native editor buffers on rejection
Version 3.230.0
Added
- Added opt-in conservative cross-page paragraph continuation with explicit boundary, alignment and size policies
- Preserved every original page/text/geometry source in joined fragments and mapped cross-page or later-page sentences exactly for selection and speech
- Added optional reader-only boundary dehyphenation whilst preserving saved PDF text and native page state
Version 3.229.0
Added
- Added nested list context, explicit labels, numbering and ancestor paths to reader fragments and reading units
- Added validated label-aware spoken reading units with unmapped announcements and preserved exact native body positions
- Reported filtered, ambiguous or unsupported list labels without inventing replacements and kept returned list paths independently owned
Version 3.228.0
Added
- Added row, column, span and header associations to reader fragments and reading units, including scoped, explicit-ID and nested paragraph cells
- Added header-aware spoken reading-unit construction with unmapped synthetic announcements, exact native body mappings and stale-header rejection
- Added an explicit bridge from extracted or caller-reviewed geometric tables and independent header-array ownership across reader snapshots
Version 3.227.0
Added
- Added opt-in column-aware readable fallback with left-to-right or right-to-left progression and spanning heading, footer and caption flow bands
- Preserved tagged logical order and original source text/geometry whilst exposing applied-order and detected-column diagnostics
- Returned complete native order on unsupported geometry or exhausted layout budgets and allowed transient failures to retry
Version 3.226.0
Added
- Added opt-in reader Artifact exclusion and page-margin filtering shared by document, viewer and reading-unit queries
- Kept native source geometry and semantic ownership consistent when filtering MCID text and omitted inseparable semantic replacements
- Prevented fully filtered tagged content from returning through heuristic fallback whilst preserving the saved PDF content
Version 3.225.0
Added
- Added opt-in CJK-aware word units for document, viewer and reading-session workflows with preserved whitespace defaults
- Preserved combining/variation sequences, native word selection and exact spoken UTF-16 source mappings for CJK units
- Invalidated tracked/prefetched word geometry when segmentation changes and preserved adjacent unspaced units in spoken text
Version 3.224.0
Added
- Added shared readable-content snapshots with configurable page and byte limits, LRU eviction, global cache-budget accounting and cache statistics
- Returned independent fragment, line-rectangle and MCID arrays so caller edits preserve cached reader content
Changed
- Repeated document, page, viewer and reading-unit queries reuse resolved readable fragments instead of rebuilding native text and MCID maps
- Cross-page readable queries preserve the current page, form focus and pending field-edit text
Version 3.223.0
Added
- Added form tab-order diagnostics exposing the requested PDF policy, applied policy, snapshot availability and fallback reason
Changed
- Form navigation now follows declared row, column, structure, annotation-array and widget-first page policies, including page rotation and reading direction
- Cross-page form navigation applies each target page's declared tab order whilst preserving bounded scans and field eligibility rules
- Unsupported or unavailable policies retain predictable annotation-array widget order with explicit diagnostics
Version 3.222.0
Added
- Added opt-in adjacent-page reading-word prefetch with configurable LRU page capacity, aggregate word/text budgets and observable demand, prefetch and eviction statistics
- Kept oversized explicitly requested pages trackable while skipping neighbours that exceed the bounded retained pool
Fixed
- Invalidated reading-word geometry after content changes, document replacement and viewer deactivation, and refreshed stale viewer text snapshots after notified edits
Version 3.221.0
Added
- Added validated readable-fragment and sentence-level selection, preserving exact native character ownership when logical reading order differs from page object order
- Added opt-in reading-session word and chunk selection with pause/resume support, manual-selection preservation and ownership-aware restoration when playback ends
- Added source-fragment snapshots and UTF-16 sentence offsets to reading units, preserving distinct positions for repeated identical sentences
Fixed
- Rejected overflowing native text-selection ranges without disturbing the existing selection
Version 3.220.0
Added
- Added explicit forward and backward cross-page AcroForm navigation to TPdf and TPdfView, with optional document wrapping, empty-page skipping and bounded page scans
- Preserved existing page-local navigation defaults and kept the previous page and focus when a scan or native target focus is rejected
Version 3.219.1
Fixed
- Fixed reading-word following in single-page display to bring off-screen words into view on both axes, including rotated pages, while preserving visible-axis positions and page scroll limits
- Fixed an older smooth-follow animation continuing after the next spoken word is already visible
Version 3.219.0
Added
- Added opt-in complete-paragraph replacement of an exclusive structure-ancestor ActualText owner, preserving MCID, ParentTree and unrelated semantic metadata
- Added semantic owner diagnostics and strict ownership checks for shared branches, multiple owners, duplicate ParentTree slots/keys, invalid ranges and recursive trees
Version 3.218.0
Added
- Added opt-in colour conversion for isolated RGB Form transparency groups whose explicit blending profile matches the target ICC profile
- Preserved alpha soft-mask composition through isolated matching-profile groups, retaining mask bindings and rejecting unsupported backdrop, transfer and luminosity behaviour
Version 3.217.0
Added
- Added opt-in LDAPS and StartTLS retrieval on FPC Linux OpenLDAP, with mandatory certificate-chain and SAN hostname validation, TLS 1.2 minimum and shared retrieval deadlines
- Added per-verifier LDAP TLS policy and transport status without changing default anonymous LDAP retrieval
Fixed
- Protected TLS LDAP calls from connection-triggered SIGPIPE while preserving the caller's signal mask, handler and existing pending signal
Version 3.216.0
Added
- Added opt-in optimisation of existing embedded variable TrueType fonts through static default instances, retaining PDF CID mappings, Unicode, widths and original embedding permissions
Fixed
- Preserved missing-glyph outlines explicitly during variable-font instantiation
- Rounded actual document savings down before applying minimum thresholds, preventing savings below 100 percent from being accepted as 100 percent
Version 3.215.0
Added
- Added Unicode-scalar CBDT text writing with nominal font lookup and nonpainting space advances
- Split longer bitmap runs across Type3 fonts with independent Unicode maps, continuous positioning and shared glyph images and alpha masks
Version 3.214.0
Added
- Added opt-in single-style Arabic paragraph shaping with ligature and vowel-mark placement, word wrapping, alignment and indentation through isolated line Forms
- Added ExtractShapedPdfParagraphText for saved logical ActualText and a separate NativeShapingTextOrderMatches diagnostic for native character-order differences
Version 3.213.0
Added
- Completed OpenSSL AIA chain retrieval from bounded DER PKCS#7 certificate bundles, with certificate deduplication and strict message and certificate-count checks
- Kept downloaded certificates separate from trust anchors and isolated from later offline verification calls
Version 3.212.0
Added
- Added native macOS RSA-PSS CMS verification through SecKey for SHA-224, SHA-256, SHA-384 and SHA-512 with matching MGF1 and digest-length salt, preserving independent certificate trust and revocation results
- Validated CMS content digests, signer certificate identifiers, signed-attribute DER ordering and algorithm protection before accepting the native signature
Fixed
- Supported empty detached content in the Keychain verifier and rejected missing non-empty byte-range pointers before allocation
- Restored Delphi POSIX crypto-helper compilation with the missing unavailable-transport stub
Version 3.211.0
Added
- Added optional CBDT bitmap glyph writing as Type3 font pages with retained Unicode mappings, reusable glyph images and transparency masks
- Supported native Form XObject import and repeat full saving of the generated bitmap font pages through the existing page reuse API
Version 3.210.0
Added
- Added native vertical paragraph reflow with both column progressions, mixed styles, common CJK wrap boundaries, column alignment/indentation and verified logical reading order
- Added repeat reflow of complete unbound simple mark groups in untagged documents
Fixed
- Preserved distinct same-family horizontal and vertical font resources during vertical paragraph saving, including font dependencies discarded by native resource caching
Version 3.209.0
Added
- Added complete marked paragraph replacement with content and leaf
ActualText, including empty and nested content values, verified glyph/semantic text and retained structure ownership - Canonicalised complete-group content
ActualTextto the innermost mark so native extraction retains the reviewed paragraph text
Version 3.208.0
Added
- Added complete marked paragraph reflow without
ActualText, retaining one MCID scope across new mixed-style fragments with verified structure/ParentTree ownership, painter order, logical text and pixels
Version 3.207.1
Added
- Added styled editing within a contiguous shared-MCID text group without content or leaf
ActualText, preserving shared content marks, peer text and structure ownership through verified saving
Version 3.207.0
Added
- Added optional
TPdfHarfBuzzSubsetBackendwith retained glyph IDs and native dependency closure, including verified CBDT/CBLC bitmap payload preservation and selected collection faces
Fixed
- Fixed
SubsetExistingPdfFontrounding savings up when comparingMinimumSavingPercent, so subsets below the requested threshold preserve the original program
Version 3.206.0
Added
- Added
InstantiatePdfVariableFontand explicit axis coordinates through optional HarfBuzz, producing static TrueType programs with retained glyph IDs for existing CID embedding and portable subsetting - Added selected TrueType Collection face instantiation with strict axis validation and rejection of unavailable dependencies or invalid face indices without partial output
Version 3.205.1
Fixed
- Fixed Windows named variable TrueType font embedding by reading the exact installed family's original default-instance font program through optional DirectWrite, including typographic families absent from the legacy GDI view
- Preserved exact text and rendering after native save-time subsetting for the verified Segoe UI Variable and Bahnschrift profiles, while retaining static-font behaviour and missing-family rejection
Version 3.205.0
Added
- Added optional OpenLDAP certificate and CRL retrieval for FPC Unix, with shared online evidence budgets and independent trust and revocation checks, verified on Linux x64
- Added
CryptoLdapAvailablefor protocol-specific readiness and allowed OpenSSL online verification to use an available LDAP backend when HTTP transport is unavailable
Version 3.204.0
Added
- Added Windows LDAP retrieval of binary AIA certificates and CRL distribution-point evidence through the existing online verification session, with anonymous base-object searches, shared request/byte/time budgets, disabled referrals and independent signature, trust and revocation checks
Version 3.203.1
Fixed
- Fixed an uninitialised dash-state check that could reject solid stroked paths during partial redaction, including the FPC Win32 geometry workload; dashed strokes continue to use whole-object removal
- Preserved two-point horizontal and vertical strokes and open polyline fragments during partial redaction without introducing closing edges
Version 3.203.0
Added
- Extended
FPdfRedactionandTPdf.SaveAsRedactedwith ISO 32000-1 §12.5.6.23/Subtype /Redactannotation replacement appearance support, parsing per-annotation/ICinterior fill colour,/OverlayText,/Repeat,/Qjustification (TPdfRedactionJustification:prjLeft,prjCenter,prjRight), and/DAfont/size/colour operators viaExtractRedactionAnnotationSpecsandParseRedactionDefaultAppearance, alongside fallback options onTPdfRedactionOptionsandOverlayTextCountonTPdfRedactionReport
Version 3.202.0
Added
- Extended
FPdfLayoutcross-page tables with repeated footer rows across page and column transitions (RepeatFooterRowsandFooterRowCountonTPdfLayoutTableOptions) and cell vertical alignment (TPdfLayoutVerticalAlignment:ptvaTop,ptvaMiddle,ptvaBottomviaTPdfLayoutTableCell.VerticalAlignment)
Version 3.201.0
Added
- Extended
DeduplicateResourcesPdfStreamandTPdf.SaveAsDeduplicatedto deduplicate byte-identical extended graphics state (/ExtGState), colour space (including/ICCBasedprofile streams), shading (/ShadingType) and pattern (/PatternType) resources, reporting per-category merged counts viaMergedExtGStateCount,MergedColorSpaceCount,MergedShadingCountandMergedPatternCountonTPdfDedupReport - Extended
ExternaliseInlineImagesPdfStreamandTPdf.SaveAsInlineImagesExternalisedto resolve page-level and inherited/Resources /ColorSpacenames (both direct colour space values and base colour spaces inside[/I ...]/[/Indexed ...]arrays) and expand multi-filter inline image arrays such as/F [/AHx /Fl]into standard XObject filter arrays
Version 3.200.0
Added
- Extended
FPdfParagraphEdit(PlanStyledPdfParagraph,ExecuteStyledPdfParagraph) with full paragraph justification (ppaJustifyonTPdfParagraphAlignment) and positive first-line or negative hanging paragraph indentation (FirstLineIndentonTPdfParagraphOptions) - Extended
FPdfLayoutandTPdf.GenerateLayoutwith justified paragraph alignment (plaJustifyonTPdfLayoutAlignment) and first-line / hanging indentation (FirstLineIndentonTPdfLayoutTextStyle)
Version 3.199.0
Added
- Extended
CreateOptionalContentPdfStreamandTPdf.SaveAsOptionalContentCreatedinFPdfCompress/PDFiumto support multi-level nested/VEvisibility boolean expression trees (TPdfOptionalContentCreateExpression.Children,TPdfOptionalContentCreateExpressions) and optional target-page/Resourcessnapshot inheritance on OC-gated Form XObjects (TPdfOptionalContentCreateForm.InheritPageResources) - Extended
CreateShadingPdfStreamandTPdf.SaveAsShadingCreatedinFPdfCompress/PDFiumto support custom local target bounding rectangles (HasTargetRect,TargetRect: TPdfShadingCreateRect), configurable start/end extension flags (HasExtend,ExtendStart,ExtendEnd) and/Backgroundcolour arrays (Background)
Version 3.198.0
Added
- Extended
MergeFilesWithNavigationandCapturePdfNavigationinFPdfMerge/FPdfCompressto resolve multi-hop symbolic named-destination aliases, preserve and rewrite renamed symbolicDestinationNameKey/ActionNameKeylink references underpndRenameandpndNamespace, and capture, remap and write chained/Nextlink action sequences (TPdfNavigationLinkAction,NextActions) across/GoTo,/GoToR,/Launch,/Namedand/URIactions - Extended
GraftPdfAcroFormandMergePdfFilesWithFormsinFPdfFormMerge/FPdfCompressto join compatible radio button groups carrying reordered or differing direct or indirect/Optexport arrays by order-preserving option union, remapping source field/V//DVindices and widget/ASand/AP(/N,/R,/D) state names
Version 3.197.0
Added
- Extended
SubsetPdfDocumentFontsinFPdfDocumentFontSubsetwithRestrictToContentStreamUsageto trim unused character codes and CIDs by scanning page and Form XObject content streams (Tf+Tj/TJ/'/"), plus/FontFile3(/OpenType,/CIDFontType0Cand/Type1C) CFFCharStrings INDEXsubsetting - Extended
RepairPdfDocumentTextinFPdfDocumentTextRepairto support embedding OpenType CFF (/Subtype /OpenType) and bare CFF (/Subtype /Type1C) replacement font programs into single-byte simple/Subtype /Type1font resources
Version 3.196.0
Added
- Extended
ConvertPdfDocumentColoursinFPdfDocumentColourto convert[/Indexed ...]shading palettes and/Backgroundindex arrays, 8-bitBI ... ID ... EIinline images (raw or filtered via/AHx,/A85,/Fl,/LZWor/RL), annotation/APappearance streams (/N,/R,/Ddirect streams or state subdictionaries, with or without an explicit/Resourcesdictionary) and annotation/DSdefault-style and/RVrich-text CSS colour literals (#RRGGBB,#RGBandrgb(r,g,b))
Version 3.195.0
Added
- Semantic comparison completion in
FPdfSemanticDiff:ComparePdfSemanticsnow supports document-level named destination comparison (CompareNamedDestinations,psikNamedDestination,NamedDestinationChangeCount), logical structure tree comparison (CompareStructureTree,psikStructure,StructureChangeCount), optional-content layer comparison (CompareOptionalContent,psikOptionalContent,OptionalContentChangeCount), and page link annotationGoToR(ActionFilePath,RemoteDestination.PageNumber,RemoteDestination.Suffix),Launch(ActionFilePath) and/S /Named(NamedAction) action properties
Version 3.194.0
Added
- Pure-RTL
FPdfDocumentCorecompletion:TPdfDocumentCorenow supports outline bookmark hierarchy traversal with cycle protection (GetBookmarks,TPdfCoreBookmarkInfo), embedded attachment inspection and staged addition/removal (GetAttachmentCount,GetAttachmentInfo,AddAttachment,DeleteAttachment,TPdfCoreAttachmentInfo), per-character Unicode/bounding-box queries and substring search (GetPageCharCount,GetPageCharUnicode,GetPageCharBox,FindPageText,TPdfCoreTextMatch), digital signature metadata and payload reading (GetSignatureCount,GetSignatureInfo,TPdfCoreSignatureInfo), and versioned/stream/file export helpers (SaveBytesWithVersion,SaveToStream,SaveToFile)
Version 3.193.0
Added
- Static XFA flattening completion in
FPdfDocumentXfaFlatten:FlattenPdfXfaToAcroFormnow supports field and draw<border>and<fill>styling mapped to Widget/MK << /BC ... /BG ... >>,/BSand Form XObject appearances, paragraph alignment<para hAlign="..." vAlign="..."/>(mapped to AcroForm/Qand aligned text placement) androtate="0|90|180|270"(/MK /R),<button>(fxfkButton),<signature>(fxfkSignatureunsigned/FT /Sigwidgets) and<barcode>(fxfkBarcodevector Code 128-B appearances viaGeneratePdfBarcode) controls, elliptical/circular<arc>static draws (fxfdkArc), and multi-select<choiceList open="multiSelect">fields with/Ff 2097152,SelectedValuesand/Iselection-index arrays
Version 3.192.0
Added
- Portable Collection (
/Collection), Associated Files (/AF) and RichMedia completion inFPdfDocumentAssetsandFPdfProduction:TPdfPortfolioItemandReadPdfDocumentPortfolio/WritePdfDocumentPortfolionow support item-to-folder parent binding (FolderIDserialised as filespec/P) and/Collection /Colorspalette dictionaries (HasColors,BackgroundColor,CardBackgroundColor,CardBorderColor,PrimaryTextColor,SecondaryTextColor),ReadPdfDocumentAssociatedFilesandWritePdfDocumentAssociatedFilesadd structure-element (pafsStructureElement), annotation (pafsAnnotation) and XObject (pafsXObject) Associated Files scopes, andWritePdfDocumentRichMediawrites/Subtype /RichMediaannotations with/RichMediaContentand/RichMediaSettingsdictionaries
Version 3.191.0
Added
- Tagged structure editing completion in
FPdfDocumentStructure:TPdfDocumentStructureNodeandEditPdfDocumentStructurenow support table cell/RowSpanand/ColSpanattributes (TableRowSpan,TableColSpan,psekSetTableRowSpan,psekSetTableColSpan), list numbering attributes/A << /O /List /ListNumbering ... >>(ListNumbering,psekSetListNumbering), layout/Placementand/BBoxattributes/A << /O /Layout ... >>(LayoutPlacement,LayoutBBox,psekSetLayoutPlacement,psekSetLayoutBBox), structure class names/Cwith automaticStructTreeRoot /ClassMapregistration (ClassName,psekSetClassName), empty structure-element removal (psekRemoveNode,RemovedNodes), and PNG/TIFF predictor decoding on/FlateDecodecontent streams inpsekAddMarkedContent
Version 3.190.0
Added
- Portable Collection (
/Collection) and Associated Files (/AF) extension:ReadPdfDocumentPortfolioandWritePdfDocumentPortfolioinFPdfDocumentAssets(andTPdfPortfolioinFPdfProduction) now support/Collection /Splitpresentation dictionaries (HasSplit,SplitDirection,SplitPosition), hierarchical/Collection /Folderstrees (TPdfPortfolioFolder,Folderswith/Parent,/Child,/Nextand/CIvalues) and item-levelAFRelationship(written as/AFRelationshipon the filespec and registered in catalogue/AF), and add standaloneReadPdfDocumentAssociatedFilesandWritePdfDocumentAssociatedFilesfor catalogue-level (pafsCatalog) and page-level (pafsPage) PDF 2.0 / PDF/A-3 Associated Files (ISO 32000-2 §14.13)
Version 3.189.0
Added
- Pure-RTL
FPdfDocumentCoreextension for page labels, file version, permissions, print/production boxes, content bounding boxes, page flattening and index-array page import:TPdfDocumentCorenow addsGetPageLabel,GetFileVersion,GetDocPermissions,GetUserPermissions,GetTrimBox,SetTrimBox,GetBleedBox,SetBleedBox,GetArtBox,SetArtBox,GetPageBoundingBox,FlattenPageandImportPagesByIndex
Version 3.188.0
Added
- Page-attribute semantic comparison:
ComparePdfSemanticsinFPdfSemanticDiffnow addspsikPagetoTPdfSemanticItemKindand opt-inComparePageAttributesonTPdfSemanticDiffOptionsto compare per-pageMediaBox,CropBox,BleedBox,TrimBox,ArtBox(underGeometryTolerance), pageRotationandPageLabel
Version 3.187.0
Added
- Tagged structure editing extension for expansion text (
/E), element/IDand/IDTree, table cell/Scopeand/Headersattributes, and content-item removal:EditPdfDocumentStructureandReadPdfDocumentStructureinFPdfDocumentStructurenow exposeExpansionText,ElementID,TableScopeandTableHeadersonTPdfDocumentStructureNode, addpsekSetExpansionText(ISO 32000-1 §14.9.5 / PDF/UA-1),psekSetElementID(withStructTreeRoot /IDTreesynchronisation and synthesis),psekSetTableScopeandpsekSetTableHeaders(updating/A << /O /Table ... >>attributes, ISO 32000-1 §14.8.5.7 / PDF/UA-1), and addpsekRemoveContentItem(counted inTPdfStructureEditReport.RemovedContentItems) to unbindMCRorOBJRitems and clear their/ParentTreeslots
Version 3.186.0
Added
- Static XFA flattening extension for
<draw>elements, field<caption>labels,<font>styling and read-only access flags:FlattenPdfXfaToAcroForminFPdfDocumentXfaFlattennow flattens static<draw>elements (TPdfXfaFlattenDrawKind:fxfdkText,fxfdkLine,fxfdkRectangle,fxfdkImage, counted inTPdfXfaFlattenReport.DrawsWrittenand returned via the six-parameter overload) into page content streams, extracts and renders field<caption>labels (CaptionText,CaptionPlacement,CaptionReservewith widget rectangle insetting), applies<font>styling (FontSize,Bold,Italicselecting/Helv//HelvB//HelvI//HelvBIand RGB text colour) to/DAand appearance streams, and mapsaccess="readOnly",access="protected"andaccess="nonInteractive"toReadOnly(/Ff 1)
Version 3.185.0
Added
- Widget appearance-characteristics and outline colour conversion:
ConvertPdfDocumentColoursinFPdfDocumentColournow converts widget and annotation/MKappearance-characteristics/BC(border) and/BG(background) colour arrays (inline or indirect, including shared indirect/MKdeduplication and transparent[]preservation) and outline item/Ccolour arrays into the target ICC colour space
Version 3.184.0
Added
- Semantic comparison and RTL document core extension:
ComparePdfSemanticsinFPdfSemanticDiffnow supports opt-in bookmark hierarchy and action comparison (CompareOutlines, reportingpsikOutlineitems with slash-separated path identity, open state, style, colour, mapped local destinations and URI/file actions) and embedded-file comparison (CompareAttachments, reportingpsikAttachmentitems with payload byte size, SHA-256 digest, MIME subtype, description,AFRelationshipand/Paramsmetadata), andTPdfDocumentCoreinFPdfDocumentCoreadds Info dictionary reading (GetMetaText), page box accessors and staged editors (GetMediaBox,SetMediaBox,GetCropBox,SetCropBox) and staged cross-document page import (ImportPages)
Version 3.183.0
Added
- AcroForm choice
/Optunion merge and page-link navigation merge extension:GraftPdfAcroForminFPdfCompress(underpagcpMergeCompatible) now joins compatible/FT /Chchoice fields carrying differing direct or indirect/Optarrays (including two-element[exportText displayText]pairs and/Iselection index arrays) by order-preserving option union, andCapturePdfNavigation,WritePdfNavigationandMergePdfFilesWithNavigationinFPdfCompress/FPdfMergenow capture, preserve and verifyGoToR,Launchand standardNamed(NextPage,PrevPage,FirstPage,LastPage) actions on pageanLinkannotations
Version 3.182.0
Added
- Document ICC colour conversion for annotation colour arrays and AcroForm/widget default-appearance strings:
ConvertPdfDocumentColoursinFPdfDocumentColournow converts annotation dictionary/Cand/ICarrays (preserving empty[]transparent arrays and transforming 1-componentDeviceGray, 3-componentDeviceRGBand 4-componentDeviceCMYKarrays) and compliant AcroForm, field and widget/DAdefault-appearance strings carrying aTffont-selection instruction and device colour operators (g/G,rg/RG,k/K) into the target colour space while incrementingColourOperatorsConverted
Version 3.181.2
Fixed
- Optional-content membership dictionaries created by
TPdf.SaveAsOptionalContentCreatednow write ISO 32000-1 §8.11.2.2 visibility expressions:poceAllemits/AndandpoceAnyemits/Or; earlier versions wrote the undefined operators/Alland/Any, which PDFium and other conforming viewers evaluate as hidden, so content gated by such an OCMD never rendered
Version 3.181.1
Fixed
- Static XFA flattening now writes the correct AcroForm field flags:
FlattenPdfXfaToAcroForminFPdfDocumentXfaFlattensets the Combo flag (/Ff 131072, ISO 32000-1 Table 230 bit 18) onchoiceListdrop-downs and the Pushbutton flag (/Ff 65536, Table 226 bit 17) onimageEditwidgets; earlier versions swapped the two values, so flattened drop-downs opened as list boxes and image fields carried an undefined flag bit choiceListfields withopen="always"oropen="multiSelect"now flatten to plain list boxes, while the XFA defaultuserControlandonEntrystay drop-downs; the previous check looked for the non-standard valueopen="on"
Version 3.181.0
Added
- Static XFA flattening extensions for physical measurement units, PNG image payloads with soft-mask transparency, radio button groups and hierarchical subform dataset binding:
FlattenPdfXfaToAcroForminFPdfDocumentXfaFlattennow parsespt,in,mm,cm,pc,pxandmpmeasurement units in geometry attributes and child elements, decodes non-interlaced PNG payloads (Grayscale, RGB, Indexed withPLTE/tRNS, Grayscale+Alpha and RGBA) into/FlateDecodeimage XObjects with optional/SMasksoft-mask streams alongside baseline JPEG payloads, flattens<exclGroup>containers intofxfkRadio(/FT /Btn /Ff 32768) parent fields with per-option kid widgets (TPdfXfaFlattenRadioWidget), and binds dataset leaf values by matching hierarchical<subform>ancestor paths (TPdfXfaFlattenField.SubformPath)
Version 3.180.0
Added
- Standards text and font repair extensions for simple TrueType fonts, named marked-content property lists and Flate-compressed content streams:
RepairPdfDocumentTextinFPdfDocumentTextRepairnow supports embedding standalone TrueType programs into single-byte/Subtype /TrueTypefonts carrying bounded/FirstChar,/LastChar,/Widthsand/FontDescriptorentries, resolves named/Tag /PropName BDCproperty lists through the owning page or Form XObject/Resources /Propertiesdictionary when attaching/ActualText, and preserves/FlateDecodecompression on updated content streams
Version 3.179.0
Added
- Existing-document font subsetting for single-byte simple TrueType fonts:
SubsetPdfDocumentFontsinFPdfDocumentFontSubsetnow subsets standalone and shared-descriptor/Subtype /TrueTypefonts whose character domain is bounded by explicit/FirstChar,/LastCharand/Widthsentries, resolving character codes through/WinAnsiEncoding,/MacRomanEncoding,/StandardEncoding,/Encodingdictionaries with/Differencesarrays (via Adobe Glyph List,uniXXXXnames and TrueTypepostformat 2.0 tables), optional/ToUnicodeCMaps and TrueTypecmapformat 0, 4, 6 and 12 subtables whilst retaining original glyph IDs
Version 3.178.0
Added
- Structure editing completion for object references, Form XObject marked content, synthesised parent trees and standard structural roles:
EditPdfDocumentStructureinFPdfDocumentStructurenow synchronises/StructParentand scalarStructTreeRoot /ParentTreemappings inpsekAddObjectReference, allocates/StructParentsautomatically on Form XObject streams inpsekAddMarkedContent, synthesises a new indirect/ParentTreenumber tree whenStructTreeRootlacks one, expandspsekInsertContainerto all standard PDF 1.7 / 2.0 / PDF/UA structural roles plus custom roles mapped inStructTreeRoot /RoleMap, and supports positioned insertion viaBeforeNodeIDin bothpsekAddMarkedContentandpsekAddObjectReference
Version 3.177.0
Added
- Link annotation URI readback symmetry and FFI header cleanup:
TPdf.AnnotationandTPdfView.Annotationnow populateTPdfAnnotation.HasLinkUriandTPdfAnnotation.LinkUriwhen readinganLinkannotations whose action dictionary is a/URIaction viaFPDFAnnot_GetLink,FPDFLink_GetActionandFPDFAction_GetURIPathwhilst leaving non-URI link actions untouched on round-trip updates, andFPdfEditremoves obsolete unexported procedural type comments
Version 3.176.0
Added
- AcroForm button
/Optexport-array remapping, remote/launch outline action preservation and encryptedFPdfDocumentCoresupport:GraftPdfAcroFormandMergePdfFilesWithFormsunderpagcpMergeCompatiblenow join checkbox and radio button fields carrying direct or indirect/Optexport-value arrays across differing export orders or widget counts by concatenating widget export entries and dynamically remapping imported widget/AP /Nstate keys,/ASappearance states and field/V//DVindices;TPdfOutlineEditoraddsSetRemoteGoToandSetLaunchsoMergePdfFilesWithNavigationandTPdf.MergeFilesWithNavigationpreserve/GoToRand/Launchoutline actions whilst keeping remote target page numbers untouched by local page-insertion offsets;TPdfDocumentCoreaddsLoadFile,Password,SecurityHandlerRevisionandSaveBytes(RemoveSecurity: Boolean = False), supports staged page edits (InsertBlankPage,DeletePage,RotatePage) on password-protected documents, and works seamlessly withTPdf.CreateCoreSnapshoton encryptedTPdfinstances
Version 3.175.0
Added
- Multi-stop shading gradients, custom shading matrices and indirect resource/configuration resolution:
CreateShadingPdfStreamandTPdf.SaveAsShadingCreatednow supportTPdfShadingCreateStop/TPdfShadingCreateStopsarrays onTPdfShadingCreate.Stops(compiling 3..256 stops into a Type 3 stitching function over Type 2 exponential segments), custom non-singular affine transformations viaHasMatrixandMatrixA..MatrixF, and indirect page/Resources(and/Shading) dictionaries;CreateOptionalContentPdfStreamandTPdf.SaveAsOptionalContentCreatednow resolve indirect page/Resources(and/XObject) dictionaries as well as indirect catalogue/OCProperties /Ddefault configuration dictionaries and indirect configuration state arrays
Version 3.174.0
Added
- Static XFA flattening extensions for compressed streams, single-stream XDP packages, additional field UI types and UTF-16BE values:
FlattenPdfXfaToAcroForminFPdfDocumentXfaFlattennow decodes/FlateDecode(and[/FlateDecode]) XFA streams, extractstemplateanddatasetspackets from single-stream XDP packages (/XFA N G R), flattens multi-linetextEdit(/Ff 4096),numericEdit(fxfkNumeric),dateTimeEdit(fxfkDateTime) andpasswordEdit(fxfkPassword,/Ff 8192with asterisk-masked appearances) fields, and serialises non-ASCII Unicode or multi-line field values and/Optitems as UTF-16BE<FEFF...>hex strings
Version 3.173.0
Added
- Structure marked-content creation on Flate-compressed and partially marked streams with automatic
/ParentTreesynchronisation:psekAddMarkedContentinFPdfDocumentStructurenow decodes and recompresses/FlateDecode(and single-element[/FlateDecode]) content streams, allocates the next sequential MCID on streams that already contain balancedBDC/BMC...EMCoperators (wrapping either the trailing unmarked segment or the full stream), and automatically updates or allocates page/StructParentskeys,StructTreeRoot /ParentTreeNextKeyand leaf/Numsarrays in an existing/ParentTree
Version 3.172.0
Added
- Existing-document font subsetting for
/CIDToGIDMap /Identity:SubsetPdfDocumentFontsinFPdfDocumentFontSubsetnow subsetsCIDFontType2TrueType descendants that use a named/CIDToGIDMap /Identitymapping when their glyph domain is proven by an explicit/W(or/W2) width array or aFontDescriptor/CIDSetstream, unioning any parentType0/Identity-Hor/Identity-V/ToUnicodeCMap codes and retaining original glyph IDs so existing content streams and identity mappings stay valid without renumbering
Version 3.171.0
Added
- Fill-pattern rasterisation and raw structure-type inspection completing 478/478 upstream PDFium C ABI coverage:
TPdf.GetObjectRenderedFillPatternandFillPatternRenderingFeaturesAvailablewrapFPDFPageObj_GetRenderedFillPatternto rasterise a path object's tiling fill pattern into a caller-owned bitmap, whilstTPdfStructureElement.RawTypeNameandStructureElementRawTypeFeaturesAvailablewrapFPDF_StructElement_GetRawTypeto report the unmapped/Sstructure type alongside the RoleMap-resolvedTypeName
Version 3.170.1
Fixed
- Detailed redaction no longer refuses documents whose graphics states carry an explicit
/BM /Normal: the blend-mode guard compared a 7-character name against an 8-character slice, so the legal value never matched and such documents were falsely rejected on every platform - Free Pascal builds compile again after the redaction and text-repair units diverged from the FPC profiles: redaction now pulls its compression stream from
zstreamon FPC, and the FPC-onlyTBytesalias in the core unit was removed because FPC 3.3.1 already providesTBytesand the shadowing alias made implementation headers resolve against a distinct type - The new
FPdfDocumentXfaFlattenunit is now registered in the Lazarus package, restoring FPC coverage for the static-XFA flattening API
Version 3.170.0
Added
- OCSP POST retrieval:
TPdfCryptoFetchSession.FetchPostsubmits HTTP POST bodies with explicit content types through the bounded WinHTTP and libcurl transports, and OCSP requests whose GET encoding exceeds the RFC 6960 A.1 practical URL limit now serialise the fullOCSPRequestand submit it as anapplication/ocsp-requestPOST body; shorter requests keep the GET form and shared budgets stay unchanged
Version 3.169.0
Added
saSubsetNewFontssave option wiring the nativeFPDF_SUBSET_NEW_FONTSflag: fonts embedded during the session through cached system-font text objects subset through the native HarfBuzz subsetter when saving, keeping only painted glyphs whilst text extraction stays exact; OpenType CFF programs subset to/FontFile3 /OpenTypewith CIDFontType0 descendants and symbolic descriptor flags
Version 3.168.0
Added
- imageEdit fields in static-XFA flattening: base64-transferred baseline JPEG payloads decode once, publish verbatim as
/Filter /DCTDecodeimage XObjects with geometry read from the SOF marker, and paint through a form appearance stretched to the field rectangle on a pushbutton-flagged widget; non-JPEG payloads reject without output
Version 3.167.0
Added
- choiceList fields in static-XFA flattening: export
itemsbecome the/Optarray of a/Chfield, template values bind through dataset override, the XFA drop-down default writes the PDF Combo flag andopen="on"stays a plain list box, and the appearance stream paints the selected value - Per-page field routing in static-XFA flattening:
pageAreasiblings number from one in declaration order and claim their nested fields for that source page, fields outside any pageArea stay on page one, each touched page appends its own widget annotations with its own media-box coordinate flip, and fields routing beyond the document page count reject without output
Version 3.166.0
Added
- Bounded static-XFA flattening in the new
FPdfDocumentXfaFlattenunit:FlattenPdfXfaToAcroFormreads the template and datasets packets of an array-form XFA form, resolves absolutely positioned subforms, and authors AcroForm terminal fields, widgets and appearance streams at the byte level so PDFium is not needed for field creation - textEdit fields become
/Txfields with a Helvetica appearance stream and dataset values, checkButton fields become/Btnfields mapping the value1to/Yes, coordinates flip from the XFA top-down origin into the page media-box space, widgets join the first page annotation array, and the indirect AcroForm dictionary is rewritten in place dropping every/XFAreference - Dynamic templates reject explicitly: flowed subform layouts,
scriptelements, compressed packets, non-array XFA forms and unsupported UI kinds report profile messages without output
Version 3.165.0
Added
- Marked-content creation in structure editing:
psekAddMarkedContentwraps an uncompressed content stream carrying no existing marked content in oneBDC/EMCpair with a fresh MCID 0 and appends the matching MCR kid to the target element; page content streams reference their page through/Pg, whilst form streams reference their stream and owning page through/Stmand/StmOwn - Object-reference creation in structure editing:
psekAddObjectReferenceappends an OBJR kid for an annotation that appears on exactly one page or a form or image XObject that is referenced by exactly one page, with the page recorded through/Pg TPdfStructureEditOperationgainsTargetObjectNumberandTargetGeneration, andTPdfStructureEditReportgainsCreatedMarkedContentsandCreatedObjectReferences
Version 3.164.0
Added
- Identity CIDToGIDMap inference in reviewed font embedding repairs: a source
/CIDToGIDMap /Identityname value now infers the explicit 16-bit identity stream over the replacement font's glyph count, so callers no longer need to synthesise or carry a mapping stream and the written font satisfies the explicit-map requirement - CFF font handling in font embedding repairs: bare CFF programs embed into CIDFontType0 descendants as
/FontFile3 /CIDFontType0Cand OpenType CFF wrappers embed as/FontFile3 /OpenType, both validated through native font loading with the PostScript name and glyph count recovered from the CFF Name and CharStrings indexes; stale/CIDToGIDMapentries are removed because the entry does not apply to CFF descendants
Version 3.163.0
Added
- Pattern colour space conversion in
ConvertPdfDocumentColours: stock and underlying pattern spaces convert at the paint site, uncoloured tiling pattern components convert through their underlying colour space with rewritten resource bases, and coloured tiling pattern content converts recursively like forms - Axial and radial shading conversion: sampled, exponential-interpolation and stitching colour functions resample through the target profile into a verified type 0 sampled function, and shading background colours convert with the shading dictionary
TPdfDocumentColourReportnow reportsPatternsConvertedandShadingsConverted, andTPdfDocumentColourOptions.MaxShadingFunctionSamplesbounds the resampling resolution
Version 3.162.0
Added
- Field-tree joining in compatible AcroForm merges: same-name container fields join when their child structures match exactly, pairing named children recursively and joining each leaf through the existing compatible checks while rejecting mixed children, duplicate names, unmatched structures and container actions
Version 3.161.0
Added
- Checkbox and radio export-option arrays join compatible merges where both sides carry one identical direct array; differing arrays and pushbutton options remain explicitly rejected
Version 3.160.0
Added
- Rich text in compatible AcroForm merges: same-name text fields join where both sides carry one direct identical RV and DS pair, whilst indirect values, one-sided pairs and differing rich text remain explicitly rejected
Version 3.159.0
Added
- Caller-declared custom annotation dictionary keys in semantic comparison: ComparePdfSemantics.CustomAnnotationKeys diffs up to 64 caller-named keys per matched annotation as Custom-prefixed properties, reporting strings and numbers by value and other value kinds as presence only
Version 3.158.0
Added
- Compatible AcroForm merging joins same-name pushbutton fields: stateless widgets retain their own appearances through the normal clone path, subject to terminal-widget, action and appearance-presence checks
Version 3.157.0
Added
- Comparison of XMP metadata: ComparePdfSemantics now offers CompareXmpMetadata, reads each packet via the parsed RDF property model, and reports namespace-qualified property additions, removals and value changes; array and language-alternative containers are flattened into a single bounded value per property
Version 3.156.0
Added
- Multi-key portfolio sorting: TPdfPortfolio.SortFields carries ordered name and direction pairs, readers take /Sort name and array forms in any count, and SortPdfPortfolio applies the keys in order with stable ties
Changed
- SortField and SortAscending carry on as the reader-populated mirror of the first sort key and are ignored on write whilst SortFields carries entries
Version 3.155.0
Added
- Axial and radial shading creation by way of TPdf.SaveAsShadingCreated, with Device gray/RGB/CMYK, CalGray, CalRGB, Lab and ICCBased colour spaces and a two-stop exponential blend function
- Page /Resources /Shading registration plus a page-box-clipped q /Name sh Q invocation added as a new page content stream, so PDFium renders the gradient natively
Version 3.154.0
Added
- Optional-content creation by way of TPdf.SaveAsOptionalContentCreated: new layer groups with intent, creator info, initial state, locked and radio-group registration in the catalog /OCProperties default configuration
- Optional-content membership dictionaries carrying All/Any policies together with one-level /All, /Any or /Not visibility expressions
- OC-gated Form XObject attachments embedding self-contained layer content on any page and rendering through PDFium's native optional-content context
Version 3.153.0
Added
- A framework-independent RTL document core offering owned snapshots, Unicode extraction, raw BGRA rendering, staged page edits and bounded native saving
- TPdf.CreateCoreSnapshot bridges the classic component across into independent core documents and keeps their shared native module lifetime safe
Fixed
- Caller floating-point trap settings are restored after core native calls, including valid font processing under FPC
Version 3.152.0
Added
- A PDFIUMPAS_CORE_ONLY build personality that compiles the high-level document API without the VCL/LCL widget framework, the default build staying byte-identical
- Headless probe coverage for loading, text extraction and bitmap rendering without widget units, with scripted-timer, prompt and alert behaviour spelled out
Version 3.151.0
Added
- Stroked path redaction with cut margins that allow for the stroke and rebuilt stroke colour, width, join and cap attributes
- Classification of cropping quadrilateral clips, routed to preserve or remove according to the painted region
Changed
- Dashed strokes and path or text paint carrying transparency that meets a redaction now remove whole objects, because PDFium's content generator drops their state when re-emitting
Version 3.150.0
Added
- Tagged structure and optional-content layers are preserved during redaction through dense marked-content renumbering, a rebuilt parent tree and pruning of dead elements and references
- Content marks are copied onto retained redaction fragments, so tagged relationships survive partial object splitting
- Structure repair counters and a PreserveTaggedStructure option in the redaction report
Changed
- ActualText and Alt preflight rejection now aims at nonempty payloads, #xx-escaped key spellings included, so clean tagged documents can convert
Version 3.149.0
Added
- Calibrated CalGray, CalRGB and Lab colour-space conversion through an ICC PCS Lab connection, with Bradford white-point adaptation and bounded Lab range validation
- Indexed colour-space conversion for operators and 1/2/4/8-bit images, resolving inline or stream palettes once per image over device, ICCBased or calibrated base spaces
- Explicit convertible and preserved source-kind capability queries, plus calibrated and indexed conversion counters in the document colour report
Changed
- Overprint, blend modes, transfer functions and rendering intents now convert once their explicit paint policy is switched on, whilst soft masks, transparency groups and Pattern spaces stay rejected
Version 3.148.0
Added
- An optional original-component DCT/JPX decoder for document ICC conversion, holding on to gray, RGB and CMYK source channels with bounded 8/16-bit JPX support
- Explicit codec capabilities, dependency diagnostics and decoded-image counts, with strict rejection on precision, geometry and unsupported channel semantics
Version 3.147.0
Added
- Source-bound paragraph reflow across mixed styles, with measured word wrapping, explicit line breaks, left/centre/right alignment and reviewed font fallback
- Independent preview and commit steps, with the saved paragraph text, bounds, object order and native pixels all verified
Fixed
- Painting and text order are preserved when nested Form instances are edited across several page content streams
Version 3.146.0
Added
- Independent nested Form instance editing with reviewed origin paths, painting order preserved and expansion pixels verified
- Source-bound unique-MCID text editing that keeps content marks and maintains existing content and leaf-structure ActualText values
Fixed
- Character and word spacing are preserved on edited pages and unchanged neighbouring text, cross-page replacements and removed objects included
- Output is rejected when native page serialisation alters verified pixels, and publication counts are cleared when edits fail
Version 3.145.0
Added
- Source-bound TrueType embedding, with independent shared font descriptors and validated explicit CIDToGIDMap resources
- Reviewed ToUnicode and ActualText recipes giving native text persistence, optional bounded unchanged-pixel verification and failure-safe independent output
- A concrete text-resource provider for transactional PDF/A repair ahead of metadata serialisation
Fixed
- Concrete provider success and publication state are cleared when a final cancellation check rejects the output
Version 3.144.0
Added
- Transactional document repair providers for complete ICC colour conversion and reviewed existing structure edits, with an exact-byte input entry point for snapshot-bound recipes
- A selectable PDF/A or PDF/X OutputIntent subtype for complete document colour conversion
Fixed
- Exact provider output bytes are validated alongside the native document checks, object-identity ordering is preserved and snapshots are restored after cancellation
- False PDF/A integer-limit errors from Unicode hexadecimal metadata, names, strings, comments and leading zeros are avoided
Version 3.143.0
Added
- Existing structure roles, Unicode metadata and reading order can be edited, with source-snapshot checks, retained node identities and independently verified output
- Structure containers can be inserted whilst keeping mixed content, nested Form references, annotation/widget links, ParentTree entries, attributes, namespaces and associated-file data
- Opt in to reviewable page/heading sections, paragraphs with Span children and adjacent figure captions, with confidence and geometry limits you can configure
Changed
- Exact structure-content provenance is exposed and page/language context is preserved during moves, with unapproved inherited-attribute changes rejected
Version 3.142.0
Added
- Existing static TrueType fonts can be subsetted through a portable retained-glyph-ID backend, taking in recursive composite dependencies and preserving metrics, character mappings and hint data
- Embedded document fonts can be optimised with explicit CIDToGIDMap coverage, shared-resource glyph unions, consistent subset names and a complete rewrite that removes earlier full-font revisions
Changed
- Actual font dependency closures are reported, and uncertain font programs or documents failing their saving thresholds are preserved
Version 3.141.0
Added
- Repeated selected form pages can be merged into independently editable passes or compatible shared fields, order preserved and repeated occurrences reported
- Compatible checkbox and radio fields can be joined, referenced fonts matched independently of object numbers and resource aliases, and compatible font objects reused across repeated passes
Fixed
- Copied form appearances without local resources keep the source default resources, so same-name destination fonts can no longer change their appearance
Version 3.140.0
Added
- Read and write document Collection schemas, typed item values, display prefixes, embedded files and presentation settings, with explicit replacement policies and independent output bytes
- Discover RichMedia resources from annotation name trees, configuration instances and activation scripts, retaining page and annotation origins whilst leaving external resources unopened
Version 3.139.0
Added
- Opt-in bounded text similarity matches pages that were moved and modified together with confidence, reports candidate ambiguity and preserves the actual text and pixel differences
- Semantic comparison can optionally take in standard document metadata and internal link destinations, retaining target identity across mapped page moves and distinguishing XYZ null coordinates from zero
Version 3.138.0
Added
- Apply reviewed heading, paragraph, figure and artifact tags to supported existing PDFs, with nested section containers, source identity checks, page-local MCIDs and structure trees reopened independently
- Run automatic PDF/A security and metadata repair steps with a built-in document backend, staged rollback, bounded working storage and validation of the exact returned PDF bytes
Version 3.137.1
Fixed
- OpenSSL online revocation checks now retain the preceding CRL status, reason, native error and affected certificate when neither OCSP evidence nor a responder is available, preserving accurate expired-CRL diagnostics
Version 3.137.0
Added
- Native Free Pascal/LCL builds support Linux Qt6 and macOS Cocoa, including platform font resolution, private temporary storage, document loading, editing, forms, saving and rendering
- macOS Keychain signing accepts a query-local Keychain path and provides size-limited offline certificate-chain export, with native Free Pascal and Delphi signing and timestamp transports
- Parallel rendering exposes each worker's actual module path, initialisation address and unload result, and rejects native loaders that reuse an existing PDFium image
Fixed
- Unix PDFium bindings retain LP64 unsigned-long callback and buffer widths, including custom stream reads beyond 4 GiB
- Native LCL rendering follows the bitmap's byte order and channel layout, preserving colours in Cocoa output and device-context rendering
- Bitmap, tile and progressive rendering retain transparent-background alpha for clNone and clDefault regardless of the native page transparency query
- Signing correctly identifies certificate public-key algorithms, including EC keys; macOS CMS checks keep outer-signature and timestamp results independent and explicitly report unsupported RSA-PSS verification
- PAdES timestamps require a critical EKU containing only id-kp-timeStamping; OpenSSL checks basic TSA chains without mistakenly applying an S/MIME certificate purpose
- Unix atomic file commits keep the new incremental baseline if a directory flush fails after replacement, reporting the committed-output exception and incomplete durability
Changed
- Delphi POSIX futures accept the default thread priority and reject unsupported priorities before starting a worker
Version 3.136.0
Added
- Optional LittleCMS ICC transformations and document colour conversion operate on original text, vector and 8-bit or 16-bit image components, retaining selected spot colours and reporting unsupported content explicitly
- Complex redaction retains supported content within nested Form XObjects, solid-filled curved paths and rotated, reflected or sheared images, with finite geometry allowances and detailed removal reports
- Active-object reading makes separate object-body and compressed object-stream allowances available before materialisation and decoding
Security
- Redaction refuses Tagged replacement text, XFA, optional-content layers, text clipping and unverified paint states, including operators spread across content streams, so unsupported sensitive-content semantics cannot be exported
Version 3.135.0
Added
- Annotation and AcroForm widget comparisons detect property changes separately from page pixels, using stable names, explicit page mappings, ambiguity reports and before/after overlay bounds
- Table cells can mix text styles and images with alternate text, optionally continue spanning cells across pages, and add subtotals and continuation labels without losing Tagged PDF relationships
Fixed
- Tagged layout generation loads the native library before testing capabilities, so it can be a new document component's first operation
- Repeated replacements within a text object are fitted once to its original bounds, applying the overall minimum horizontal scale and avoiding unnecessary intermediate changes
Version 3.134.0
Added
- Navigation merging retains named destinations and internal page links across selected, reordered and repeated pages, with explicit collision policies and transactional checks
- Styled text replacement provides checked source plans, independent previews, native-font reuse, explicit fallback, limited horizontal fitting and rollback on failed or cancelled edits
- OpenSSL signing accepts explicitly configured keys and certificate chains for RSA-PSS, RSA PKCS#1 v1.5 and ECDSA, including default signer resolution on platforms outside Windows
- OpenSSL checks now support authenticated offline and limited online OCSP evidence, identify failing certificates and optionally diagnose each CMS signer
- The FPC macOS Security.framework verifier separates cryptographic, chain-trust and revocation results, using explicit trust anchors and supplied OCSP evidence
Fixed
- Link annotation URI extraction passes the full native buffer, terminator included, so valid targets are returned correctly
Version 3.133.0
Added
- Transactional AcroForm merging handles selected pages, rejection, renaming, namespaces and compatible shared text/choice fields, keeping resources, appearances and calculation order isolated
- An optional barcode backend generates Code128, QR, DataMatrix and PDF417 and recognises greyscale input, with explicit native dependencies and finite processing allowances
Fixed
- FormField resolves inherited parent values and consistently commits text changes across shared widgets, with read-only checks and values retained after saving and reopening
- Regenerating inherited text-widget appearances restores parent values without leaving a shadow widget value; successful field assignment also invalidates shared page caches
Version 3.132.0
Added
- Optional page alignment recognises inserted, deleted and moved pages, with limited Unicode text differences, connected visual regions and exportable comparison overlays
- Transactional navigation merging keeps outline hierarchies, styles, URI actions and remapped destinations when selected, repeated or reordered pages are imported
- An optional Tesseract OCR backend provides dependency diagnostics, Unicode word geometry, cancellation and recognition allowances, with searchable-layer saving and reopening checked
Security
- RSA-PSS policy examines complete signature and restricted public-key parameters, refusing malformed DER or incompatible hash, mask, salt and trailer restrictions
Fixed
- Outline save checks no longer refuse leaf bookmarks over an expanded-state difference that applies only to branches
Version 3.131.0
Added
- WatermarkStamp accepts target and stamp PDFs, a target-page interval and page-number-only output, positioning content proportionally on pages of mixed sizes
- MergePDF previews each source's selected pages and destination interval before merging, and can extract pages from a single input
Fixed
- MergePDF checks all sources before import and stops for unreadable input, invalid ranges, import failures or cancellation, rather than saving an incomplete result
- WatermarkStamp keeps source and template files intact and saves page numbers reliably even with both stamp overlays disabled
Changed
- Each native demo directory now concentrates on 22 complete workflows; SecurityAudit and XfdfLab move to Miscellaneous, with project paths and navigation corrected
Removed
- The fixed AnnotationsLab walkthrough has been removed; XFDF and content-extraction samples and API tests still cover creating, inspecting and exchanging annotations
Version 3.130.0
Changed
- Each native demo directory is now curated around 24 complete workflows, with nine focused API topics under Miscellaneous and separate guidance for choosing a first demo
- The focused annotation, accessibility, font, navigation, text export, page-image rendering, print-preference, interaction and XFA examples remain available with their own source and bundled inputs
Removed
- The minimal CJKTextLab and RTLTextLab projects have been removed; CreatePDF still covers Unicode authoring, and the shaped-text APIs remain documented in the API reference
Fixed
- The C++Builder accessibility API walkthrough no longer fails when exporting its speech script
- The C++Builder annotation example no longer uses incorrect array offsets for highlight coordinates
Version 3.129.0
Changed
- Every native demo is now self-contained: the sample logic has moved into the projects that use it, the relevant viewing and extraction projects bundle their showcase PDFs, and the Demo/Shared directory has gone
- Offline feature tours, live previews, editable forms, populated reports, attachments, navigation, print preferences and static XFA inspection all keep working when projects are copied independently
- FontProperties now opens with the actual font and character metrics already displayed, and analyses the first text object as soon as another document is opened
Fixed
- The PDFViewer experience bar placement and background now match across the native variants, and FontProperties releases its viewer association before shutdown
Version 3.128.0
Added
- An offline six-page demo showcase provides live text, vector charts, embedded images, a table, AcroForm fields, bookmarks, links, annotations and attachments
- One-click viewing experiences for text search, two-page layouts, night reading, document inspection and form exploration are now available in every native PDFViewer variant
Changed
- CreatePDF now opens a live two-page preview with editable metadata and content options, real image and annotation objects and an optional Unicode page before you save
- The focused viewing, search, extraction, forms and navigation samples open populated workflows, whilst the attachment, print-preference and static XFA samples carry actual feature-specific data
Fixed
- Viewer lifecycle and focus behaviour are now correct during startup, document replacement, preview regeneration and shutdown
- The Lazarus FormFill value editor no longer stays disabled after the first field is selected at startup
- SearchAndSelect document binding and extraction reports no longer omit form fields on later pages or query unavailable file headers for generated in-memory samples
Version 3.127.0
Changed
- The MultiPageViewer demos use the viewer's built-in text selection and clipboard APIs, keeping selection consistent across page layouts and doing away with the separate double-click selection mode
- The examples guide maps all 35 demo topics to their distinct workflows, and the Delphi and Lazarus accessibility, intake and preflight console examples share their Pascal implementations
Added
- XfdfLab can save the PDF after importing XFDF: the Delphi GUI offers Save PDF, and the console variants take an explicit second output path
Fixed
- The C++Builder and Lazarus MultiPageViewer demos open without unsupported form properties, and every MultiPageViewer demo disconnects its document before closing
- The Lazarus accessibility workbench produces JPEG page thumbnails for its HTML review report
- The ExtractImages demos build a two-page sample containing real embedded image objects, so the default extraction workflow yields four images
- The console XFDF round-trip sample preserves annotation contents and author data, and rejects conflicting or existing PDF output paths before any output is written
Version 3.126.2
Fixed
- Full XFA viewing works with the default text-selection settings, replaces the selected text during keyboard input, honours read-only fields and disabled form events, and refreshes the displayed page handles after dynamic layout changes
- The Windows V8 libraries reject malformed XDP attributes, duplicate attributes, invalid namespace use and mismatched XML declarations before the saved XFA stream is altered
Security
- Signature revision analysis preserves page-content ownership when widgets and appearance objects refer to the same object graph, so later page edits can no longer pass as permitted form or annotation updates under DocMDP
- FieldMDP locks remain in force when a locked field and an annotation share an indirect value object
Version 3.126.1
Fixed
- Dynamic XFA repagination now updates
TPdf.PageCountandOnXfaPageCountChangedwith the real total page count once pages have been added or removed, keeping host navigation in step with the form layout - The updated Windows V8 libraries refresh input-widget geometry after dynamic XFA layout changes, so text and input hit areas stay aligned when a field moves to another page
Version 3.126.0
Added
- The updated Win32 and Win64 V8 libraries preserve XML comments and processing instructions outside live datasets and form packets when supported single-stream XFA documents are saved, including UTF-8 and UTF-16 inputs
Fixed
- Single-stream XFA saving rejects invalid UTF-8 or UTF-16 encoding, incomplete tags, invalid entity references and malformed processing instructions instead of quietly rewriting those inputs; unsupported constructs in live data packets, DTD declarations and XMLDSig still fail the save explicitly
- Viewer copy, cut and form paste retry for a short while when another thread or application holds the Windows clipboard, giving transient contention time to clear; a failed cut still leaves the original field text intact
Version 3.125.3
Fixed
- The updated Win32 and Win64 ordinary
pdfium.dlllibraries now report failure when the final buffered PDF write fails, in line with the repair previously shipped in the V8 libraries
Version 3.125.2
Fixed
- The updated Windows V8 libraries preserve edited XFA text across saving and reopening, including empty values, original whitespace, line breaks and supplementary Unicode characters, for packet arrays and supported single-stream XDP documents
- XFA packet export errors and final buffered writer failures now report save failure in the updated V8 libraries without clearing the document's modification state; single-stream documents carrying unsupported XML constructs or XML signatures are rejected
- The updated V8 libraries preserve a host application's explicitly supplied V8 platform and isolate throughout PDFium initialisation and destruction
- An explicit path in
LibraryNamenow selects that exact runtime in either engine mode,EnableV8Engine=Trueincluded; a missing explicit path fails rather than falling back to another bundled library
Version 3.125.1
Fixed
ValidatePdfFilesParallelno longer corrupts the shared PDFium engine: worker threads used to open and inspect documents concurrently, which made some documents fail with load errors or access violations and could crash the process or break later PDF operations; the PDFium part of each document is now handled one at a time whilst rule evaluation still runs in parallel- A document that cannot be opened during batch validation now reports the actual load error rather than a follow-up "no active PDF document" message
Version 3.125.0
Added
PdfLibraryConfigurationSupportErrorreports whether aTPdfLibraryConfigurationcan be used with a PDFium build offering the given Skia and Fontations capabilities
Fixed
- Requesting
prpSkiaon a PDFium build without Skia, orpfbpFontationson a build without Fontations, now makes the library load raiseEPdfErrorinstead of hitting a native check that stopped the process or left PDFium half-initialised; the configuration stays unsealed so the application can pick other settings and load again
Version 3.124.0
Changed
- PAdES validation now applies the ETSI TS 119 312 signature suites to RSA signatures rather than accepting every RSA algorithm:
AlgorithmPolicyStatusispcsInvalidfor MD2, MD4 and MD5 digests andpcsIndeterminatefor SHA-1 and 112-bit digests such as SHA-224, which are no longer agreed for current validation; SHA-1 signatures keep their overall integrity result and are flagged for review rather than rejected - An RSA signature whose
digestAlgorithmdiffers from the digest fixed by its signature algorithm (sha256WithRSAEncryption over a SHA-1 digest, say) is now reported asppeiSignatureAlgorithmMismatchand fails integrity, as do RSA signature algorithms on a non-RSA signer key - RSA signatures whose signer certificate cannot be found now report
pcsIndeterminate, in line with the existing ECDSA behaviour; unrecognised digests and non-signature RSA OIDs reportpcsUnsupported - RSA PKCS #1 v1.5 signatures with SHA3 digests and the legacy OIW sha1WithRSASignature identifier are now recognised as RSA
Version 3.123.0
Added
PdfNativeRendererTypereports which renderer aTPdfRendererPreferenceselects for a given PDFium build, withprpDefaultresolving to Skia on Skia-enabled runtimes and to AGG otherwise
Fixed
- Enabling
BrotliEnabledorIsolatePerDocumentinConfigurePdfLibraryno longer switches rendering from Skia to AGG when the renderer preference is left atprpDefault; the bundled Skia-enabled runtimes now keep their default renderer, so page output no longer varies with these unrelated options
Version 3.122.2
Fixed
- Free Pascal and Lazarus builds now pass file names and passwords to PDFium as UTF-8 on every load path (file, memory, custom stream and progressive loading), so documents in folders with Chinese, Japanese or other non-ASCII names, and encrypted documents with non-ASCII passwords, open even when the program does not use the Lazarus UTF-8 string mode
Version 3.122.1
Fixed
LastLoadReportis now replaced on every failed load: a failedActive:= True, which leaves the component inactive without raising, and failed plainLoadDocumentorLoadCustomDocumentcalls reportplsFailedwith the error text, so batch code reusing a singleTPdfno longer sees the previous file reported as loaded- The
Activehelp page now describes the actual failure behaviour (no exception, the component stays inactive, details inLastLoadReport) and notes thatFileNamecan only be changed whilst the component is inactive
Version 3.122.0
Added
EPdfAssocFilesErrorinFPdfAssocFilesreports whyInjectAssociateFilescould not inject: no readable trailer or catalog in the source, or aTargetPagethat is negative or names a page that does not exist; the destination stream is left unmodified
Changed
SaveAsWithAssociateFilesandSaveAsWithAssociateFilesToStreamnow raiseEPdfErrorwhenTAssocFilesOptions.TargetPagefalls outside0..PageCount; such values were previously attached to the document catalog, contrary to the documented behaviour
Fixed
SaveAsWithAssociateFilesandSaveAsWithAssociateFilesToStreamnow returnFalsewhen the saved document cannot be parsed for injection, rather than writing it unchanged and returningTruewithout the requested filesSaveAsWithAssociateFilesno longer truncates an existing target file before the output has been produced; a rejected or failed save leaves the file untouched
Version 3.121.4
Fixed
- Page-level associated files (
TAssocFilesOptions.TargetPage) now attach to the page at that position in the document page order; files could previously land on a different page when the page objects were stored in the file in a different order from the one in which they are displayed, for example after pages were reordered or inserted
Version 3.121.3
Fixed
- Associated files saved with
SaveAsWithAssociateFilesnow keep Chinese, Japanese and other non-ASCII file names and descriptions intact:/UFand/Descare written as Unicode PDF text strings rather than being converted through the system ANSI code page (Delphi) or emitted as raw UTF-8 bytes (Free Pascal) - The legacy
/Ffile name is now always portable printable ASCII, with non-ASCII characters replaced by_, so readers that decode/Fusing their own code page no longer show mojibake
Version 3.121.2
Fixed
- Associated files now encode MIME types as valid PDF names, so values such as
text/plainno longer yield malformed embedded-file dictionaries or obstruct PDF/A-3 validation
Version 3.121.1
Fixed
- Reading an annotation and writing changes back no longer creates empty rollover and down appearance streams when those streams are absent, preserving PDF/A annotation appearance requirements
Version 3.121.0
Added
- When
OnlineRetrievalis enabled, OpenSSL CMS verification can retrieve HTTP(S) AIA intermediate certificates and CRLs, subject to shared timeout, request and response-size limits; downloaded certificates remain untrusted until the configured trust chain has validated them - Online retrieval uses WinHTTP on Windows and libcurl where available on FPC Unix, preserves HTTPS certificate validation, and surfaces unsupported transport configurations through the existing capability diagnostics
Fixed
- Classic cross-reference rebuilding allocates its output table once and fills object slots directly, avoiding quadratic work for large sparse object numbers whilst retaining the parser resource limits and the latest object generations
- PDF/X-1a output requires a structurally valid ICC v2 CMYK printer profile instead of silently embedding the default RGB profile; invalid profiles are rejected before an existing destination file is opened for replacement
- PDF/X-1a validation checks the embedded profile and its four-component declaration, and preflight reports identify invalid output profiles; default output-condition labels follow the supplied profile whilst explicit caller labels are preserved
Version 3.120.4
Fixed
- The table extraction demo batch mode once again processes every PDF in the folder: the shared document instance stayed active between files, so the second and subsequent files raised an assignment error and were reported as failed; each document now receives its own instance in the Delphi, Lazarus and C++Builder editions
- The watermark demo sample document keeps its pages in creation order (1, 2, 3, 4) rather than moving the first page to the end by way of an insert-at-index call
- The XFA and XFDF demos report a failed document open as a message rather than an unhandled exception, the attachments demo can begin a new document whilst one is already loaded, and the Lazarus viewer frees the bitmap it saves
- The Delphi print demo now applies the orientation, duplex, greyscale, quality and DPI controls to the print job, honours the copies chosen in the print dialog, skips pages that fail to render, and restores the preview once printing has finished
- Interactive demos whose loaders swallow open failures no longer display a misleading loaded state, extraction output files carry a UTF-8 BOM, the CJK and RTL console demos switch the console to UTF-8 before printing extracted text, and the confidence input parses decimals irrespective of the system locale
- The PAdES timestamp test now genuinely asserts that the validator reaches level B-T after signature timestamp injection, using a self-consistent ByteRange test document
- API coverage and PDF/A tests no longer treat every load failure as an environment skip when pdfium.dll is loaded, and a new regression test covers decrypting documents whose string values are serialised as literal strings by third-party writers
Version 3.120.3
Fixed
EncryptDocumentBytesno longer discards every base-revision object when the source PDF was saved incrementally: the classic cross-reference chain is now walked through/Prevnewest-first with newer entries taking precedence, the source is rejected if already encrypted, astreamkeyword must close a dictionary before it is treated as stream data, and the final object's extent is bounded by the source xref rather than the firstendobjwithin its bytes- Encrypted documents whose string values are serialised as literal strings by third-party writers now decrypt instead of failing with an authentication error
- PDF/E marker injection no longer gives the synthesised Info dictionary the same object number as the embedded ICC profile stream when the source trailer lacks
/Info, which led the incremental xref to point/DestOutputProfileat the wrong object - PDF/X validation compares the XMP
pdfxid:GTS_PDFXVersionvalue with surrounding white space trimmed away, so legally padded element-form XMP no longer reports a spurious Info mismatch - PDF/UA validation recognises attribute-form
pdfuaid:partXMP, expands object streams before its byte scans in the manner of the sibling standards validators, checks the encryption/Pbit for cross-reference-stream documents as well, and requires a non-emptydc:titlevalue; marker injection no longer emits an empty title entry - PDF/VT marker injection no longer gathers and rewrites every page object twice when the source carries a broken DPart hierarchy that failed validation after the page list had already been filled
- Signing at PAdES level B-T or higher without a
TsaUrlnow raises rather than silently producing a B-B signature, and the B-LTA document time-stamp derives its own nonce instead of sending the caller's again - CMS signature-time-stamp injection rejects multi-signer input instead of quietly dropping every SignerInfo after the first, SignedData version becomes 3 with a subjectKeyIdentifier sid,
certReq FALSEis omitted from timestamp requests as DER requires, and a WinHTTP transport failure mid-body is reported as a transport error rather than a truncated DER body - System font embedding resolves the actual TrueType Collection face for the requested family and extracts it as a standalone font, so asking for a non-first face of a
.ttc(NSimSun, say) no longer embeds and renders face 0 BuildToUnicodeCMappairs glyphs with surrogate-pair characters correctly and emits supplementary mappings as bfchar entries, rather than displacing every entry after the first astral character- Shaped text, CID text and OCR insertion check the page-insert result before recording the object for rollback, so a failed insert can no longer leave a dangling handle that would later be destroyed twice
- Stream keyword detection in the compressor and the ToUnicode repair accepts the lone CR line ending that ISO 32000-1 7.3.8.1 permits
Changed
- The trial Win64x C++Builder package build removes a stale COFF
PDFiumPas.libleft behind by a previous full build so the two import-library flavours cannot ship together, the FULL installer excludes local-only development files (packagefiles.xml, status documents) from its catch-all, and post-install demo builds pin the IDE root through thePDFiumPas_BDS_ROOTvariable the build scripts actually read
Version 3.120.2
Fixed
- Text placed with
AddText,SetText, layout generation and the OCR search layer now extracts with its exact code points both from the live document and after a save: under the current PDFium build, spaces no longer come back as U+00A0 nor hyphens as U+00AD - System fonts are embedded as CID fonts keyed by code point, with one CID per Unicode character and an explicit
CIDToGIDMap, so a glyph shared by several characters (space and no-break space, hyphen and soft hyphen, Omega and Ohm sign) round-trips each of them faithfully in any viewer; fonts lacking a Unicode cmap subtable keep the previous embedding path
Version 3.120.1
Fixed
- Documents saved with subset fonts no longer corrupt their extracted text on reload: the ToUnicode CMap written by pdfium could map one CID to two different code points (spaces as U+00A0, hyphens as U+00AD), and every full save now repairs those contradictory mappings in place whilst leaving the CMap structure byte-identical, so the PDFium reader, MuPDF and qpdf all extract the original characters
- Incremental saves, sparse updates and cross-reference-stream documents are never rewritten by the repair and pass through untouched; files without a contradictory mapping are copied byte for byte
- The committed
sample.pdftest fixture was regenerated through the repaired save path, and the load-policy tests now locate xref entries dynamically rather than hard-coding fixture offsets
Version 3.120.0
Added
- Bookmarks report their outline text style:
TBookmark.Stylecarries the italic and bold flags read through the newFPDFBookmark_GetStylebinding, andBookmarkStyleFeaturesAvailableindicates whether the loaded pdfium.dll provides it - Attachments reveal their PDF 2.0 associated-file relationship:
AttachmentRelationship[], theRelationshipfield ofTPdfAttachmentMetadataand ofTPdfAnnotationAttachmentread the/AFRelationshipname through the newFPDFAttachment_GetAFRelationshipbinding, guarded byAttachmentRelationshipFeaturesAvailable GetObjectRenderedStrokePatternrasterises the tiling pattern with which a path object is stroked into a caller-owned bitmap through the newFPDFPageObj_GetRenderedStrokePatternbinding;StrokePatternRenderingFeaturesAvailablereports the exportTPdfLibraryConfiguration.IsolatePerDocumentmaps to theFPDF_LIBRARY_CONFIGversion 7m_IsolatePerDocumentflag so V8 builds can give each document its own isolate;ConfigurePdfLibraryrejects the flag in combination with an explicitV8Isolate
Changed
- All 476 public exports of the current PDFium headers are bound; the three new entry points load tolerantly, so deployments on older pdfium.dll builds keep working, with the corresponding features reporting empty or
nilresults
Version 3.119.1
Fixed
- Windows offline trust validation likewise restricts revocation retrieval to cached data, preventing implicit CRL or OCSP network requests when online retrieval is switched off
- Windows revocation failures preserve the independent chain-trust error and surface revocation reasons and native diagnostics in PAdES results and evidence reports
Version 3.119.0
Added
- PAdES trust validation and evidence reports expose separate revocation reasons and native errors for document signatures and timestamps, with new JSON fields and appended CSV columns
Version 3.118.0
Added
- CMS verification results expose
RevocationReasonandRevocationError, carrying OpenSSL diagnostics for expired, unavailable and invalid local CRLs
Fixed
- OpenSSL reports explicitly revoked certificates as invalid when chain trust succeeds and local CRL verification confirms the revocation, whilst keeping signature and trust results separate
Version 3.117.1
Fixed
- Explicit-version saves accept valid multipage forms with predictor-compressed cross-reference streams instead of wrongly reporting a malformed cross-reference section
Version 3.117.0
Added
- Table detection reads borders and shading drawn as filled rectangles: a filled box no thicker than the new
MaxRulingThicknessbecomes a ruling and a larger filled box contributes its edges, so tables exported from Word, Google Docs and browsers are now found as ruled grids with merged caption rows instead of whitespace fragments.DetectFilledRulingsswitches the behaviour off - Ruling coordinates snap within
RulingSnapTolerancebefore grids are assembled, which joins per-cell border pieces, double borders and shaded cells separated by a small gutter into one table - Rulings inside form XObjects take part in detection through the combined object matrices, controlled by
IncludeFormXObjects ExtractDocumentTableslinks continuation fragments that end where the page content ends and resume where the next page's content starts, not only fragments that touch the page edges, and keeps a single spilled row as part of its chain- TableExtractionLab exposes
DetectFilledRulingsin its options panel in the Delphi, Lazarus and C++Builder variants
Changed
- Whitespace detection ignores words that already belong to a ruled grid and requires every column boundary to be a text-free corridor across the rows it separates, so justified paragraphs and bullet lists are no longer reported as tables
- A continuation candidate whose first row is one cell across the full width is treated as a new captioned table rather than the rest of the previous one
MinRowsaccepts 1 for ruled grids; whitespace detection keeps its two-row floor, and the defaultMaxRulingSegmentsbudget rises to 16384 because per-cell border boxes arrive in far greater numbers than stroked grid lines- Cell text is assembled line by line from overlapping word boxes, so words whose glyph boxes differ in height keep their left-to-right order
TPdf.AboutInfo, Lazarus package metadata and installer version metadata report 3.117.0
Version 3.116.4
Added
- TableExtractionLab gains folder batch processing:
Batch folderrunsExtractDocumentTablesover every PDF in a selected folder, lists per-document table counts, marks documents without a text layer for OCR and keeps damaged or locked files from aborting the run Export all CSVwrites every detected table as<document>-<n>-page<p>-t<i>.csvunder atablessubfolder for batch runs, or beside the loaded document for a single file- A detection preset picker exposes tuned
TPdfTableExtractionOptions: Default, Compact columns (MinColumnGap4 withAlignmentTolerance5 for tight word-processor exports) and Compact + wide rows (MaxRowGapFactor6 for 1.5-2x line spacing) - Documents that yield no table under the Default preset are retried once with Compact columns in both single-document and batch extraction, and batch rows report which preset produced the result
Fixed
- Batch extraction opens each document in its own
TPdfinstance instead of reloading one shared component, which removes silent load failures that surfaced as inactive-component errors partway through a folder run
Changed
TPdf.AboutInfo, Lazarus package metadata and installer version metadata report 3.116.4
Version 3.116.3
Changed
- The TableExtractionLab sample in all three toolchains now writes its generated sample document to
TableExtractionSample.pdfbeside the demo executable instead of keeping it in memory only; when the folder is not writable the lab falls back to the previous in-memory behaviour and reports it in the status line TPdf.AboutInfo, Lazarus package metadata and installer metadata report 3.116.3
Version 3.116.2
Fixed
- The library stopped compiling on older Delphi releases. The 64-bit tick helper and the trusted-list and production XML codecs called
GetTickCount64andCP_UTF8from RTL units that only newer compilers carry them in, the reflow HTML writer embedded a CSS string literal past the 255-element cap those compilers impose on a single literal, and the XFA datasets merge assigned betweenTBytesand a plain dynamic array field, which pre-XE7 compilers reject. Older compilers now bindGetTickCount64from kernel32 and declareCP_UTF8locally when the RTL does not, the style sheet ships as concatenated short literals and the packet payload is copied element-wise
Changed
TPdf.AboutInfo, Lazarus package metadata and installer metadata report 3.116.2
Version 3.116.1
Added
Demo\Delphi\TableExtractionLab,Demo\CBuilder\TableExtractionLabandDemo\Lazarus\TableExtractionLabturn table detection into a single workflow. The lab builds a sample document with a ruled table carrying merged header cells, a whitespace-aligned table without ruling and a long table that breaks across a page boundary, then runsExtractTablesorExtractDocumentTablesand lists rows, columns, spans, header flags, detection mode, confidence and continuation groups- The lab exports the selected table through
TPdfTable.ToCsvandTPdfTable.ToJson, editsDetectRuledTables,DetectWhitespaceTables,DetectContinuationsandMinConfidencefrom the options panel, and copies the full report to the clipboard TPdf.AboutInfo, Lazarus package metadata and installer version metadata report 3.116.1
Version 3.114.21
Fixed
- PDF/A validation reported an external file reference on any document containing an annotation. ISO 19005-1 §6.1.7 forbids
/F,/FFilterand/FDecodeParmsin a stream object dictionary, but the check searched the whole file for those names, and/Fis also the annotation flags key that §6.5.3 requires every annotation to carry. The check now looks only inside stream object dictionaries
Version 3.114.20
Fixed
- RSASSA-PSS signatures carried malformed algorithm parameters on all three signing backends. RFC 4055 tags all four fields of RSASSA-PSS-params; the salt length was written as a bare integer, which a parser reads as the start of a different field, and the trailer field was written out although its value equals the default that DER requires be omitted. A verifier either failed to parse the parameters or fell back to the default 20-byte salt while the signature used 32, so PSS signatures were rejected. PKCS#1 v1.5 and ECDSA signatures were unaffected
Version 3.114.19
Fixed
- Asking for a timestamp under a digest other than SHA-256 built a request that declared that algorithm whilst carrying a SHA-256 digest, which a timestamp authority either rejects or, worse, timestamps as given. Only SHA-256 is computed, so any other identifier is now refused outright; an empty identifier still selects the SHA-256 default. The PDF Viewer sample for Lazarus and C++Builder also bound a bookmark-expansion handler its form file names but its code did not define, which fails when the form is loaded; the handler is ported from the Delphi sample
Version 3.114.18
Fixed
- The XFA Lab and XFDF Lab samples for Delphi, and the XFA Lab sample for Lazarus, failed at startup. Each builds its controls from its form's create handler, but the form resource was neither present nor linked, so creating the main form raised a resource-not-found error and the handler never ran. All three now carry the form file and the directive that embeds it
Version 3.114.17
Fixed
- Two native resources were mishandled when an operation failed part way. A failing thumbnail render freed the target bitmap before closing the native render, and when the render was drawing straight into that bitmap's own pixels the teardown then read memory that had already been released. A failing bitmap allocation in
AddBitmapleft the image object it had just created with no owner and no way to reach it again
Version 3.114.16
Fixed
- Reading FDF text produced the wrong characters above
0x7E. The PDFDocEncoding table in ISO 32000-1 Annex D.2 begins at0x80with the bullet, but the mapping started it at0x7F, so the whole block through0x9Fwas shifted by one place: a dagger read as a bullet, an em dash as an ellipsis, and so on down to zcaron, which fell off the end entirely. The Euro at0xA0was also missing and came back as a no-break space. Field names and values in imported FDF now decode correctly
Version 3.114.15
Fixed
- Validating trust on a document whose trailer or catalog cannot be read wrote past the end of an array. The compliance pass gives up without recording any signatures in that case, whilst the collector that runs next works straight off the byte stream and can still find signature dictionaries, so one entry was written per dictionary found into an array holding none. The count is now clamped to what the compliance pass produced
Version 3.114.14
Fixed
- Executing a PDF/A repair plan applied steps the planner had blocked. A step is blocked when the document carries signatures, the step would invalidate them and the caller did not permit that; the executor only tested the step's safety level, which does not express the condition, so a signed document could have its signatures invalidated by an automatic repair the plan had already refused. Blocked steps are now skipped and counted as skipped
Version 3.114.13
Fixed
- Adding a signature timestamp to a CMS value whose certificate set was larger than 127 bytes, which is every real certificate, corrupted the result. The helper that locates the start of a nested structure walked backwards over the length octets and mistook the last one for the first, so the slice it cut began well before the structure it was asked for. The header length is now derived from the content length, which DER states unambiguously. Self-checks missed it because their fixture certificates were small enough to use the short form
Version 3.114.12
Fixed
- Signed attributes were emitted in the order they were built rather than sorted by their encodings, which X.690 §11.6 requires of a DER SET OF. A verifier that re-encodes the attribute set before digesting it, as OpenSSL and BouncyCastle both do, therefore computed a different digest and reported a sound PAdES signature as invalid. Signatures this library produces now verify in those stacks; validation through the Windows layer was unaffected because it digests the bytes as received
Version 3.114.11
Fixed
- A negative DER INTEGER wider than two content bytes was encoded with the wrong value. The writer emulates an arithmetic shift by re-injecting the sign after a logical shift, but the mask it used set every bit above the low byte instead of only the byte the shift had vacated, so the magnitude still held in the remaining bytes was overwritten. The value -100000 encoded as -34464, for instance. Timestamp request nonces and any other signed integer of that size now encode correctly
Version 3.114.10
Fixed
- PDF/A validation never reported the constant alpha part of the transparency rule in ISO 19005-1 §6.4. The helper builds its search key by prefixing a solidus, and the caller passed one too, so it looked for
//CAand matched nothing. Both alpha checks also accepted only the exact texts1and1.0, which flagged a fully opaque/CA 1.00as a violation; a value of one is now recognised whatever its spelling
Version 3.114.9
Fixed
- The page-level URI action returned mangled text. The path comes back from the native layer as UTF-8 bytes and was written straight into a wide string, which pairs the bytes into 16-bit code units and leaves the rest of the buffer holding whatever memory was there.
GetPageActionURInow decodes the bytes the same way the document-level action path already did
Version 3.114.8
Security
- On targets other than Windows the random bytes behind every encryption key, salt and initialisation vector came from the runtime PRNG, whose seed is a constant unless the program calls
Randomize. Every process therefore produced the same file encryption key, the same/UEand/OEsalts, the same/Permsbytes and the same AES-GCM nonces, which makes encrypted output from a Free Pascal build on Linux or macOS trivially recoverable and repeats a GCM nonce under a fixed key. The bytes now come from/dev/urandom, and an unavailable kernel pool raises rather than falling back, the way an unavailableCryptGenRandomalready did on Windows
Version 3.114.7
Fixed
- A malformed object stream could make the compression and repair entry points read past the end of the decoded buffer. The member offsets a stream declares are now checked for range and ascending order as soon as the header is parsed, a declared member count larger than the header can hold is rejected before any memory is reserved, and the byte range of each member is validated before its trailing whitespace is trimmed rather than after
Version 3.114.6
Fixed
- Externalising inline images produced an unusable image XObject. The dictionary was written with a stray solidus before its first key, which opened an empty name and shifted every key onto the previous key's value, and the inline abbreviation table mapped Decode to
Ginstead ofD, so a/Darray was dropped and the DeviceGray value abbreviation was mistaken for a key. Images lifted out of a content stream now carry a well-formed dictionary and keep their Decode array
Version 3.114.5
Fixed
- The HarfBuzz shaper assigned cluster lengths to the wrong glyphs in right-to-left runs and gave glyphs that share a cluster, such as marks and ligature components, a length of one. Each glyph's
ClusterLengthnow spans from its cluster start to the next cluster in logical order, in either direction, so character-to-glyph mapping for Arabic and Hebrew text matches what the Uniscribe backend reports
Version 3.114.4
Fixed
- The libcurl timestamp transport passed its numeric options and read the HTTP status code as 32-bit values, whilst libcurl takes and returns a C
long, which is 64 bits on Linux and macOS. The status query could overwrite the four bytes next to its target on the stack, and option values depended on whatever the upper half of the register held. Both now use the platformlongwidth, soFPdfTsaFpcis sound on LP64 targets
Version 3.114.3
Fixed
- The PKCS#11 backend copied the raw bytes of a token object label straight into a string, which on Delphi lands UTF-8 bytes on UTF-16 code units. A certificate selected through
TPdfPkcs11Options.CertificateLabelcould therefore never match, andEnumerateCertificatesreported garbledLabelText. Labels are now decoded as the UTF-8 the standard defines, and the PIN handed toC_Loginis encoded as UTF-8 rather than narrowed through the host codepage, so a non-ASCII PIN reaches the token intact
Version 3.114.2
Fixed
- The macOS Keychain signer asked
SecKeyIsAlgorithmSupportedabout the wrong operation when deciding whether a key accepts RSASSA-PSS: the query named the decrypt operation instead of sign, so the answer was always no and every RSA signature silently fell back to PKCS#1 v1.5. A key that supports PSS now signs with PSS asTPadesSignerOptions.PaddingSchemerequests, and the operation argument is passed at the width the framework declares
Version 3.114.1
Fixed
- Nested bracket pairs in right-to-left text resolved to the wrong direction. UAX #9 rule BD16 processes pairs in the order their opening brackets appear, and a pair resolved by N0 becomes the preceding strong context for a pair that opens after it; the pairs were being processed in the order their closing brackets completed them instead, so an inner pair could follow the letter it encloses rather than the context the outer pair established. Text such as an Arabic or Hebrew sentence containing a parenthetical with a nested bracket now lays out the way a reader expects
Version 3.114.0
Added
FPdfCryptoSslverifies PDF signatures and timestamp tokens through OpenSSL, which closes the last platform gap in signature validation: Linux had no CMS verification backend at all.ConfigureSslCmsVerifierinstalls it, libcrypto is resolved by name at run time so nothing is linked against it, and both the 1.1 and 3.x series bind- The signature and the certificate chain are evaluated in separate passes, so a sound signature under a chain that does not reach a trust anchor is reported as a valid signature with invalid trust rather than as a broken signature
ConfigureSslTrustAnchorsadds DER trust anchors to the system store, andConfigureSslCrlssupplies the CRLs a revocation check may consult. Revocation counts as checked only when a CRL is actually present, because OpenSSL fetches none by itself; with none supplied the result says unsupported instead of passing an unchecked chainSslAvailable,SslMissingSymbols,SslLibraryPath,SslLibraryVersionandSslAbiLayoutreport what bound and what did not, andConfigureSslLibraryPathpoints the backend at a specific library when the platform defaults do not find one
Version 3.113.0
Added
TPdfKeychainCmsVerifierverifies PDF signatures and timestamp tokens on macOS throughCMSDecoderand SecTrust, so signature validation is no longer Windows-only.ConfigureKeychainCmsVerifierinstalls it, and the same unit now covers both halves of macOS support the wayFPdfCryptoWindoes for Windows- Revocation checking is honoured: when requested, a revocation policy joins the basic X.509 one, and turning off online retrieval restricts the evaluation to cached responses. Progress checkpoints fire for the signature, chain, online retrieval and revocation stages exactly as the Windows backend reports them
KeychainVerificationAvailablereports verification support separately from signing, since the two need different framework symbols and one can be present without the other
Version 3.112.0
Added
FPdfCryptoMacsigns PAdES with a macOS Keychain identity, the counterpart of the Windows certificate store: the certificate and its private key come from the Keychain and the signature is produced bySecKeyCreateSignature, so the key never leaves the system keystore.ConfigureKeychainSignerProviderinstalls it, and no module has to be deployed alongside the application as a PKCS#11 token backend would need- The signer follows the certificate: an EC key signs ECDSA, an RSA key signs RSASSA-PSS, and where PSS is unavailable - an older macOS, or a key that will not accept it - the padding falls back to PKCS#1 v1.5 and the emitted AlgorithmIdentifier says so rather than claiming PSS
KeychainMissingSymbolslists any framework symbol that failed to resolve, so a deployment that reports the backend unavailable can tell an absent framework from a name this binding got wrong
Version 3.111.0
Added
ConfigurePadesCmsVerifierinstalls the CMS verification backend the PAdES validator uses, so signature and timestamp verification is no longer tied to Windows.IPdfCmsVerifierdeclares the two operations a backend answers - detached for a PDF signature, attached for a timestamp token - andPadesCmsVerificationAvailablereports whether any backend is present
Changed
- The verification result and option records moved to
FPdfCryptoasTPdfCmsVerify*. TheTWinCmsVerify*names remain as aliases, so existing code keeps working and a plugged-in backend speaks the same types as the Windows one - Windows behaviour is unchanged: with no verifier installed it still uses CryptoAPI, and the progress checkpoints, revocation options and native error codes are the same. Where no backend answers, every verdict reports unsupported rather than being left unchecked
Version 3.110.0
Added
FPdfPkcs11signs PAdES with a key that stays inside a PKCS#11 token.ConfigurePkcs11SignerProviderinstalls it as the signing backend, the module is loaded at run time by path so nothing is linked, and the same code serves Windows, Linux and macOS. The token enumeration theIPdfPkcs11SignerProviderinterface declares is implemented alongside it: slots, tokens and the certificates each one holds- Signing off Windows no longer needs a host-supplied provider for the common case: a token module plus
TPdfPkcs11Optionsis enough. RSA PKCS#1 v1.5, RSASSA-PSS and ECDSA are all produced through the token FPdfSha1adds SHA-1 for one purpose, matching a certificate by the thumbprintTPadesSignerOptionscarries. Windows resolved that inside the certificate store; a token hands back certificate bytes and leaves the matching to the caller. It is not a signing digest and the PAdES stack continues to sign SHA-256 throughout
Changed
- The certificate DER helpers that read a public-key algorithm OID, extract issuer and serial, and rewrap a raw ECDSA signature moved from the Windows backend to
FPdfCms, where every signing backend can reach them
Version 3.109.0
Changed
- The native library loader is no longer Windows-only.
LibraryNamedefaults topdfium.dll,libpdfium.soorlibpdfium.dylibfor the target, the V8 build is looked for under the matching name, and loading and symbol binding go through the portable loader on Free Pascal. Windows behaviour is unchanged, including the Win32 and Win64 deployment layout and the architecture-mismatch diagnostic - Deployment directories on other targets follow the
<cpu>-<os>spelling the compiled units already use, soDLLs/x86_64-linux/libpdfium.sosits besideLib/FPC/x86_64-linux. The system-directory fallback stays Windows-only; elsewhere the loader search path covers it
Version 3.108.0
Added
TPdfHarfBuzzTextShapershapes bidirectional and complex-script text on Free Pascal targets that have no Uniscribe. It resolves the embedding levels withFPdfBidi, segments runs by script, shapes each run with libharfbuzz and places the runs in visual order. Install it withConfigureTextShaper; libharfbuzz is resolved at run time andHarfBuzzAvailablereports honestly when it is missing- The shaper does not enumerate fonts. Uniscribe reads the font binary out of a device context, which has no portable equivalent, so the host passes a
TPdfFontDataResolverthat maps a font name to the font file bytes and keeps that policy where it belongs
Version 3.107.0
Added
FPdfBidiimplements the Unicode Bidirectional Algorithm (UAX #9) in pure Pascal:PdfResolveBidiLevelsreturns one embedding level per UTF-16 code unit,PdfBidiVisualOrderapplies the L2 reordering, andPdfBidiClassOfexposes the Bidi_Class of a code point. Rules P2-P3, X1-X10, W1-W7, N0-N2, I1-I2 and L1-L2 are covered, including isolate initiators and BD16 bracket pairs- The unit is compiler and platform neutral, which is what lets bidirectional text be laid out where Uniscribe is not available. A shaping engine resolves glyphs for a run whose direction is already known, so this is the piece that has to decide the direction first
Version 3.106.0
Added
ConfigureTextShaperinstalls the text shaping backend the whole library routes through, withActiveTextShaper,ActiveTextShaperNameandClearTextShaperalongside it. BothShapePdfTextandTPdf.AddShapedTextnow use the installed shaper instead of creating a Uniscribe one directly, so a host can supply its own engine and a test can supply a deterministic one
Changed
FPdfTextShapingcompiles on targets other than Windows: the Uniscribe backend is now the platform default rather than the only implementation, and it is confined to the Windows build. Where no backend is available the shaping entry points report that instead of failing to compile
Version 3.105.1
Security
- A timestamp response is now bounded at 4 MB on both transports. A TSA that kept sending could previously grow the receive buffer without limit, turning a signing call into unbounded memory growth
Version 3.105.0
Added
- RFC 3161 timestamping works on Free Pascal targets other than Windows: the new libcurl backend posts the TimeStampReq and reads the TimeStampResp, so
PadesTsaAvailablereports True and PAdES B-T, B-LT and B-LTA can obtain tokens there. libcurl is resolved at run time and is not a build-time dependency; when it is absent the backend reports unavailable exactly as the WinHttp one does. Windows keeps using WinHttp and is unaffected - Signing on those targets still needs key material the library does not own: supply it through
ConfigurePadesSignerProviderwith anIPadesSignerProvider(orIPdfPkcs11SignerProviderfor token-backed keys), sinceFPdfCryptoWinis Windows-only
Version 3.104.1
Added
- The XFA inspection lab sample is now available for Lazarus as well, so the XFA capability probes, packet listing, packet export and the
OnXfaRuntimeMissingfallback can be exercised from the LCL build
Version 3.104.0
Changed
- The library compiles clean of avoidable diagnostics on Free Pascal 3.2: internal timing reads the millisecond tick from
GetTickCount64instead of the deprecated 32-bit call, the deprecated SSE control-word accessors are replaced byGetMXCSRandSetMXCSR, the content fingerprint offset basis is typed explicitly so it no longer trips a compile-time range check, and scanline addresses are compared as unsigned pointers when a bitmap is checked for top-down layout
Version 3.103.1
Fixed
- Document metadata carried into XMP keeps its non-ASCII characters on Free Pascal: titles, authors, subjects, keywords and creator names reaching
SaveAsPdfA,SaveAsPdfUa,SaveAsPdfE,SaveAsPdfX,SaveAsPdfRandSaveAsPdfVTare now converted through the string codepage instead of being copied byte for byte, so the metadata packet stays valid UTF-8 as ISO 19005-1 6.7.2 requires even when the host program does not run on a UTF-8 codepage - XFDF export, production metadata round-trips and trusted-list XML parsing use the same codepage-correct conversion, so text moving between
TBytesandstringno longer depends on the host codepage
Version 3.103.0
Added
TPdfEuropeanTrustedListparses authenticated European trusted lists, reloads checksummed caches through the same authenticator, accepts caller-supplied update sources, exposes current trust anchors, and evaluates qualified signature services at a requested validation timeTPadesTrustValidationOptions.QualifiedTrustEvaluatorapplies an offline qualified-trust policy to each validated signer without adding network access to the PAdES validator
Version 3.102.0
Added
BeginIncrementalSaveandCommitIncrementalSavenow append authenticated revisions to AES-256 encrypted documents whilst preserving the original/Encryptreference, security parameters, exact object generations, and prior bytes
Changed
- The file commit overload now durably flushes and strictly reopens a same-directory side file, verifies its revision boundary, and atomically replaces the target whilst rolling the session back after any failure
Version 3.101.0
Changed
SaveAsRedactednow preserves safe portions of partially intersecting text, rectangular paths, and axis-aligned images, then removes resource names no longer referenced by page, Form XObject, pattern, appearance, and nested resource scopes
Version 3.100.0
Changed
OptimizeImagesnow selects box, bilinear, bicubic, Lanczos, or bilevel resampling from scale, content class, measured detail, and caller quality, with alpha-aware filtering and a strict working-memory budget
Version 3.99.0
Added
GraftPdfAcroFormimports hierarchical AcroForm fields, widgets, appearances, calculation order, default resources, actions, and values through explicit page mappings and collision policiesTPdfCrossDocumentGraftMapreuses imported indirect objects by source identity whilst preserving cycles, shared references, exact source generations, and transactional failure semantics
Version 3.98.0
Added
TPdfOutlineEditorcreates, moves, deletes, styles, expands, and retargets outline items, remaps explicit destinations through page-plan results, and appends an independently verified incremental revision
Version 3.97.0
Added
TPdfTreeEditorreads, validates, updates, balances, splits, merges, serialises, and incrementally saves arbitrary PDF NameTree and NumberTree structures whilst preserving reusable indirect references and raw entry values
Version 3.96.0
Added
TPdfParserResourceBudgetprovides one thread-safe process policy for recursion, tokens, objects, decoded bytes, expansion ratio, allocation, and deadlines across custom PDF parsers, with immutable per-operation snapshots and configurable defaults
Version 3.95.0
Changed
ValidatePdfXnow validates active PDF/X dictionaries, metadata, output intents, fonts, prohibited features, transparency, colour spaces, and page boxes through bounded sparse reads on valid-xref unencrypted documents
Version 3.94.0
Changed
ValidatePdfRnow validates active PDF/R dictionaries, pages, image filters, metadata, and footer markers through bounded sparse and windowed reads on valid-xref unencrypted documents
Version 3.93.0
Changed
ValidatePdfEnow validates active PDF/E dictionaries, metadata, output intents, forms, and prohibited features through bounded sparse reads on valid-xref documents
Version 3.92.0
Changed
ValidatePdfVTnow performs advanced recurring-XObject scope, visibility, encapsulation, and nested Form usage analysis through bounded sparse reads on valid-xref documents
Version 3.91.0
Added
TPdfSparseDictionaryReadercan resolve the active generation of an object and decode a direct stream under a caller-supplied byte limit
Changed
ValidatePdfVTnow uses bounded sparse reads for PDF/VT metadata, DPart, OutputIntent, Info, page, and ordinary dictionary checks on the normal valid-xref path
Version 3.90.0
Added
TPdfSparseDictionaryReaderkeeps one sparse xref and object-stream index open for repeated bounded indirect-object dictionary reads
Changed
InjectPdfVTMarkersnow validates and preserves an existing PDF/VT DPart hierarchy with bounded source reads, whilst malformed hierarchies continue through the rebuilding fallback
Version 3.89.0
Added
ReadPdfSparsePageDictionariesreturns page object identities and bounded dictionary bytes in page-tree order through the sparse object index
Changed
InjectPdfVTMarkersnow synthesises the PDF/VT DPart hierarchy and appends marker objects with bounded source reads when the saved PDF does not already contain a DPart hierarchy
Version 3.88.0
Added
ReadPdfSparseCatalogSubDictreads a direct or indirect catalog sub-dictionary through the sparse object index, used by PDF/UA marker injection forMarkInfoandViewerPreferences
Changed
InjectPdfUaMarkersnow resolves catalogMarkInfoandViewerPreferencesthrough sparse lookup and appends the PDF/UA revision with bounded source reads on the normal xref path
Version 3.87.0
Added
AppendPdfSparseUpdatestreams one sparse revision onto a saved PDF: source bytes verbatim, caller-supplied object bodies at recorded offsets, and a single incremental xref/trailer block chained through/PrevNormalizePageViewRectnormalises two mapped page-space corners into the page-clamped visible rectangle, or reports that nothing of the page is visible- PDF/E marker injection synthesises a fresh Info object with
/ISO_PDFEVersionwhen the source document has no Info dictionary
Changed
- PDF/E, PDF/X, and PDF/R marker injection now resolves the catalog, Info, and trailer through sparse lookup and appends revisions through
AppendPdfSparseUpdatewith bounded source reads on the normal xref path - The form-fill
FFI_GetPageViewRectcallback now reports the part of the page actually visible in the attachedTPdfViewinstead of always the whole page box, falling back to the page dimensions for headless documents TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 3.87.0 consistently
Fixed
- Path segment control points exposed since the
FPDFPath_GetBezierControlPointsbinding were never populated: the native export only answers for the endpoint index of each three-entry cubic, so the query now happens once per curve and all three entries carry the curve's control points
Version 3.86.0
Added
ReadPdfSparseRevisionInfoexposes bounded latest-revision, catalog, encryption, document ID, and tagged-structure facts for stream postprocessorsComposePdfSparseUpdateIdpreserves or derives incremental-update document identifiers without materialising the complete source PDF
Changed
InjectPdfAMarkersnow resolves the catalog and trailer through sparse lookup, copies large inputs in bounded chunks, and appends the PDF/A revision without allocating a source-sized byte array on the normal xref path- PDF/A marker injection preserves classic or xref-stream output style, catalog and Info generations, trailer identifiers, encryption refusal behaviour, and Level A downgrade rules
Version 3.85.0
Added
SanitiseActiveContentPdfStreamaccepts a caller-owned prune workspace for custom bounded or disk-backed storage
Changed
- Active-content sanitisation now updates the catalog and trailer through sparse lookup, bounded parser windows, and fixed-size range copying instead of reading the complete PDF into one byte array on the normal xref path
TPdf.SaveAsSanitisedappliesSaveMemoryLimitandSaveTemporaryDirectoryto its pruning workspace and reports its spill diagnostics
Fixed
StripMetadata=Truenow removes a trailer/Inforeference even when the catalog has no/Metadataentry
Version 3.84.0
Changed
TPdf.PdfVersionnow reuses PDFium parser state throughFPDF_GetFileVersioninstead of reparsing the complete source PDF- Version queries read at most the eight-byte PDF header to prevent a malformed catalog declaration from downgrading the effective version
Version 3.83.0
Changed
PageLabelledPdfStreamnow resolves and updates the catalog through bounded stream windows and the sparse lazy object index- Page-label output copies large source PDFs in fixed-size ranges instead of allocating a complete document byte array on the normal xref path
Version 3.82.0
Changed
ApplyDefaultOpenActionnow reads classic, xref-stream, hybrid, and object-stream revisions through a sparse lazy object index, including documents with very high object numbers- Default open-action processing uses fixed-size windows and bounded range copying instead of loading the complete PDF into one byte array
Version 3.81.0
Added
PostProcessSavedPdfaccepts three caller-owned seekable workspaces for custom memory ceilings and disk-backed processing
Changed
TPdf.SaveAsappliesSaveMemoryLimitandSaveTemporaryDirectoryto every saved-PDF post-processing workspace and includes their spills in diagnostics- Native incremental xref-stream repair uses fixed-size tail and dictionary windows with bounded range copying instead of whole-file byte arrays and repeated full-file reallocations
Version 3.80.0
Added
ReadAttachmentMetadatacaptures attachment names, descriptions, MIME subtypes, decoded sizes, and readability in one bounded native enumerationExtractAttachmentsToStreamswrites a batch to caller-owned streams with per-file and aggregate byte limits, configurable write chunks, cancellation, and per-item results
Changed
- Batch extraction retains at most one decoded attachment in PDFium Delphi Component memory instead of materialising every payload in the batch
Version 3.79.0
Added
TPdfCacheGovernor,TPdf.CacheBudgetBytes, per-kind usage queries, and telemetry coordinate retained cache memory through one thread-safe global LRU byte budgetTPdfTileCacheand the process-wide system-font cache can join a caller-selected governor with exact bitmap and font-byte accounting
Changed
- Parsed page scenes, thumbnails, structure data, text snapshots, and page-object snapshots now compete under a default 256 MiB
TPdfbudget whilst preserving their existing entry-count limits - Active page scenes remain pinned until rendering completes, and opaque native page scenes use an explicit estimated charge because PDFium exposes no configurable total-cache byte API
Version 3.78.0
Added
TPdfLayoutPagedPlan,TPdfLayoutDocument.BuildPagedPlan, andTPdf.GeneratePagedLayoutstream layout commands into caller-selected seekable storage and materialise one page at a time
Changed
- Large generated layouts can spill commands to temporary storage, retain a configurable LRU page cache, restore non-contiguous header and footer segments, and release wrapped text after each flow item
Version 3.77.0
Added
TPdfLayoutTable, rows, cells, and table options add cross-page tables with resolved grid tracks, captions, repeated header rows, splittable body rows, links, and configurable borders
Changed
- Generated tagged tables preserve one continuous Table / TR / TH / TD structure across pages, keep row-spanning groups atomic, and associate data cells with header IDs automatically
Version 3.76.0
Added
TPdfLayoutConstraintsandSetLastItemConstraintsadd keep-together, keep-with-next, physical page-break-before / after, and configurable widow / orphan line control to generated layouts
Changed
BuildPlanreuses each wrapped text result for pagination prediction and command emission, preventing keep-with-next from repeating text measurement
Version 3.75.0
Added
TPdf.InspectPdfUaUnicodeCoveragereports bounded object-level evidence for direct Unicode mappings,ActualTextreplacements, mapping errors, missing Unicode values, and unresolved source objects
Changed
TPdf.ValidatePdfUanow reuses a single object-scoped character scan that excludes Artifact and generated characters and prevents one text object'sActualTextfrom masking adjacent content
Version 3.74.0
Changed
ValidatePdfUaPageContentTaggingandTPdf.ValidatePdfUanow reportpvuaiArtifactInStructureTreewhen an Artifact page object is claimed by a structure-tree MCID, including path-based pagination artifacts- PDF/UA page-content scanning now short-circuits only after both untagged real content and invalid Artifact containment have been detected, preserving cross-page coverage without repeating completed checks
Version 3.73.0
Added
TPdf.InspectPdfUaLanguageCoveragereports bounded page-object and structure-string evidence for natural-language spans, including effective language, declaration source, MCID, structure index, and text excerptsResolvePdfUaEffectiveLanguageresolves marked-content, nearest structure-ancestor, and catalog language declarations with explicit validity evidence
Changed
TPdf.ValidatePdfUanow reportspvuaiNaturalLanguageUncoveredwhen non-artifact text or accessibility strings have no valid effective/Langdeclaration
Version 3.72.0
Added
TPdf.InspectPdfAMetadatareports typed per-field equivalence evidence for all eight ISO 19005-1 Info-to-XMP mappings, including explicit empty values and date parse failuresTPdf.NormalizePdfAMetadatarepairs only mismatched mapped XMP properties whilst preserving unrelated namespaces and non-default language alternatives
Changed
TPdf.ValidatePdfAnow reportspvaiInfoXmpValueMismatchwhen PDFium-decoded Info values differ from correctly typed XMP values after Unicode or timezone-aware date comparison
Version 3.71.0
Added
InspectPdfVT2sStreamreturns printing-condition evidence for every PDF/VT MIME part, including OutputIntent identity, embedded or MIME profile provenance, ICC hashes and header facts, and DPart page and record countsFPdfIccProfileprovides bounded ICC header and tag-table inspection with MD5, SHA-256, colour-space, version, device-class, profile-ID, and multilingual profile-description support
Changed
- PDF/VT-2s validation now resolves earlier ICC MIME attachments through
DestOutputProfileRefURL file specifications and validatesCheckSum,ICCVersion,ProfileCS,ProfileName, device class, and allowed process colour spaces - All PDF/VT parts now require one authoritative
GTS_PDFXOutputIntent, PDF/X-base-appropriate embedded or external profile packaging, and the same characterised printing condition, whilst PDF/X-only attachments remain outside PDF/VT comparisons - Single-file PDF/VT-2 validation now recognises
DestOutputProfileRefas an external destination profile instead of reporting it as missing
Version 3.70.0
Changed
- PDF/VT validation now checks
GTS_Scope,GTS_XID,GTS_Env, andGTS_Encapsulateddirectly on each XObject instead of allowing nearby or nested dictionaries to satisfy hint requirements Recordscope now resolvesRecordLevelfrom the indirectDPartRootdictionary, whilstStreamscope is rejected in PDF/VT-1 files- Decoded page and Form XObject content streams now validate
Doresource visibility,SingleUseoccurrence counts, and recipient-record ownership through effective inherited resources and the DPart hierarchy - Encapsulated XObjects now validate boolean shape, recommended scope, Image
Intent, isolated transparency groups, blending colour spaces, and direct or nested optional-content dependencies
Version 3.69.0
Changed
- PAdES validation now rejects duplicate
Contents,ByteRange,SubFilter,Filter, andTypeentries instead of accepting the parser-selected value - Signature discovery now uses a stream-aware linear dictionary scan, recognises escaped PDF name tokens, and cannot be redirected by a closed nested dictionary placed before the real
ByteRange - Signature
ByteRangevalidation now requires the excluded gap to match the direct hexadecimalContentstoken exactly whilst still allowing later incremental revisions - Signature dictionaries now require one name-valued
Filterand enforce consistentSigorDocTimeStamptype and subfilter combinations
Version 3.68.0
Added
TPdf.BuildPadesEvidenceReportcorrelates PDFium signature facts, CMS policy, trust and timestamp status, certificate-path hashes, DSS/VRI coverage, and later revision decisions for every signatureTPadesEvidenceReportexports bounded multi-signature evidence as JSON or CSV and reports source, signature, DSS, revision, and truncation telemetry
Changed
- PAdES trust validation now records SHA-256 identities for the signer certificate and ordered Windows certificate path whilst preserving offline validation by default
- Evidence generation reuses one retained source-byte capture across compliance, trust, DSS, and revision analysis instead of copying the original PDF into a new stream for each stage
Version 3.67.0
Added
TPadesSignatureFieldOptionscreates configurable signature field names, required seed values, reason and legal-attestation lists, acceptable signer certificates, and field locks- Local and remote signing can author approval or certification signatures with ISO 32000-1
FieldMDPandDocMDPtransforms
Changed
- Certification signatures preserve existing catalog permissions whilst registering the new signature through
/Perms /DocMDP
Version 3.66.0
Added
RenderPageBandedToStreamwrites PNG or TIFF output directly to a caller stream with configurable band height, PNG compression, and output byte limitsRenderPageBandedToEncoderfeeds sequential page bands to caller-defined codecs and returns band, row, memory, completion, and output telemetry
Fixed
RenderPageBandednow preserves full-page render geometry and clips each requested band instead of rescaling the complete page into every band
Version 3.65.0
Added
TPdfParallelRenderReportnow reports source size, peak captured memory, storage backend, and shared backing kind
Changed
RenderPagesParallelshares the captured source through immutable memory, a read-only file mapping, orFPDF_LoadCustomDocumentrandom access instead of allocating a second full-document byte array- Spilled parallel-render sources remain under
SaveMemoryLimitand no longer require reloading the complete PDF into addressable process memory
Version 3.64.0
Added
ImportImposednow has an overload returningTPdfImpositionExecutionReportwith native import, unique source, blank slot, XObject template, form object, content generation, and output page counts
Changed
- Zero-geometry imposition sends every ordered source page through one
FPDF_ImportPagesByIndexcall before blank insertion and native N-up composition - Custom-geometry imposition reuses one native XObject template per unique source page, reads cached page metrics without changing the source page, and preallocates exact plan storage
Version 3.63.0
Added
BeginPageObjectEditTransaction,CommitPageObjectEditTransaction, andRollbackPageObjectEditTransactiongroup native page-object mutations into an atomic page-scoped batch with validated snapshot rollbackPageObjectEditTransactionStatusreports the bound page, dirty state, successful mutation count, and content-generation count
Changed
- Committed object batches now invoke
FPDFPage_GenerateContentonce instead of once per insert, remove, transform, property, mark, annotation-object, or appearance mutation - Saving, page changes, page deletion, nested edit transactions, and failed native insert or annotation updates are rejected before deferred content can be lost
Version 3.62.0
Added
ReadPageObjectsSnapshotcaptures caller-owned page-object facts with object, path, clip, mark, text, string, and deadline budgetsPageObjectsSnapshotprovides revision-aware LRU reuse with configurable capacity and occupancy, hit, and miss telemetry
Changed
PageComplexitynow reuses the immutable page-object snapshot instead of repeating native object enumeration, transparency, path, and image queries
Version 3.61.0
Added
TPdfnow exposes a unified thumbnail LRU for embedded and rendered previews with configurable entry and byte ceilings plus hit, miss, eviction, occupancy, and revision telemetryRenderPageThumbnailaccepts rotation, render options, background colour, andTPdfColorSchemewhilst preserving the caller-owned bitmap contract
Changed
- Repeated thumbnail extraction and rendering reuse native PDFium results through revision, page, source, size, rotation, flags, background, and colour-scheme keys, including cached absence of optional embedded thumbnails
TPdfThumbnailViewsynchronises its visible-page bitmap cache with document thumbnail revisions so edits cannot leave stale previews
Version 3.60.0
Added
ReadTextPageSnapshotcaptures Unicode, UTF-16 mappings, character geometry and style, and normalised text-object metadata in one pass with explicit character, object, font-name, and deadline budgetsTextPageSnapshotprovides deep caller-owned copies through a configurable revision-aware LRU with capacity, count, hit, and miss telemetry
Changed
GetStructuredTextand physical-layoutGetTextInReadingOrdernow reuse the same text snapshot and apply O(n log n) geometry sorting
Fixed
- Small text and structure snapshot caches now evict the oldest page whilst storing new data under the requested page index, preventing cross-page cache aliasing
Version 3.59.0
Added
LifecycleActionPolicyselects disabled, explicit-only, or compatible automatic execution of PDF document and page lifecycle actionsExecuteDocumentLifecycleActionexposes document JavaScript, open, close, save, and print actions, whilstExecutePageLifecycleActionruns page open and close actions without changingPageNumber
Changed
- Headless page loads now receive the same automatic page open and close actions as viewer-driven loads, with temporary pages reused or released under the render lock
Version 3.58.0
Added
ReadStructureElementsandVisitStructureElementsprovide iterative tagged-structure traversal with explicit depth, element, attribute, and time budgets plus detailed completion statusStructureElementsForPageexposes one-based page snapshots without changingPageNumber, backed by a configurable revision-aware LRU cache with hit, miss, and count telemetry
Changed
- Accessibility, reflow, validation, and viewer consumers now reuse caller-owned structure snapshots until a relevant document or page edit invalidates them
Version 3.57.0
Added
- Complete native form-host callbacks now provide lifetime-safe lazy page handles, interaction-view cursor routing, value-change notification, selected-text rectangles, URI events, and GoTo destination events
FormHostCallbacksCompletereports callback readiness, whilstFormSelectionRectsandClearFormSelectionRectsexpose bounded page-space selection geometry
Fixed
- XFA current-page callbacks now translate correctly between PDFium's zero-based page indexes and the component's one-based
PageNumber - AcroForm and XFA URI callbacks now preserve raw URI bytes and require explicit host approval before any external launch
Version 3.56.0
Added
- Indexed
PageMetricssnapshots expose a page's dimensions, rotation, label, transparency, and five standard page boxes without changing the active page
Changed
- Repeated page-metadata reads reuse an automatically invalidated native snapshot cache, reducing page opens in thumbnail, preflight, and document-analysis workloads
Version 3.55.0
Added
- Path inspection exposes exact cubic Bézier control points when the loaded PDFium build provides
FPDFPath_GetBezierControlPoints, with an optional capability probe for older DLLs FormFieldTypeAtPoint,TPdfView.FormFieldTypeAt, and indexedFontFlagsproperties expose native form and font facts without raw handlesTPdf.Signaturesreturns all native signature contents, ByteRanges, subfilters, reasons, times, and permissions in one caller-owned snapshot
Changed
- Form-field presence checks now use direct native point hit testing instead of opening and closing annotation handles
Fixed
- PDF/E-1 validation now permits ordinary AcroForm fields, embedded files, and FileAttachment annotations whilst precisely reporting top-level AcroForm
/XFAand/NeedAppearances true, including indirect and object-stream values
Version 3.54.0
Added
FPdfProductionadds measured multi-codec image selection, colour and font processing backends, SVG paths, styled replacement plans, transactional XFA packet updates, barcode vectors, Portfolio models, and safe RichMedia extractionFPdfStandardsExecutionadds measurement and GeoPDF conversion, transactional PDF/A repair, PDF/UA-2 plans, external multicolour profiles, historical DSS and VRI evidence, DPart queries, deep PDF/E facts, and fixed-memory PDF/R stripsTPdf.ImportImposedcomposes bounded N-up and booklet plans through native N-up or page-XObject paths with exact gutter, bleed, and creep geometry, whileTPdf.CompareWithreports semantic, geometric, and tolerant pixel differences- PAdES signing now supports pluggable path validators and HSM providers, signature-attached PDF MAC,
cms-algorithm-protection, and offline signature-policy documents
Changed
- The layout engine accepts bounded HTML and Markdown, flows across columns, and resolves fixed, auto, and fractional grid tracks
- XFDF round trips now retain multivalue and rich-text fields, popups, actions, destinations, appearance overlays, custom namespaces, and explicit presence state
Version 3.53.0
Added
ConfigurePdfLibraryprovides immutable native renderer, font, V8, Brotli, user-font-path, and sandbox configuration before the first PDFium load- Native structure attributes, annotation relationships, annotation file attachments, typed dictionary values, focus policies, link and form z-order queries, and default TTF mapping diagnostics are available through bounded high-level APIs
TPdfView.ReplaceFormTextAndKeepSelectionpreserves the active selection across repeated edits and right-button release events now reach the native form engine
Changed
- Deterministic document time now uses a stable UTC calendar conversion as well as the fixed epoch, producing the same metadata in every host time zone
- Attachment string writes validate the native result and encode dictionary keys as UTF-8
Version 3.52.0
Added
TPdf.GetImageObjectRenderedBitmapreturns an image object's rendered result with its current matrix, colour space, masks, and rendering state appliedTPdf.TextObjectGlyphWidth,TPdf.TextObjectFontSize, andTPdf.SetTextObjectFontSizeexpose native glyph measurement and exact text-object font-size editingTPdf.TransformPageObjectClipPath,TPdf.DetachFormObjectChild,TPdf.SharePageObjectMark, andTPdf.IsAnnotationObjectSubtypeSupportedadd precise content-object editing and capability inspection
Version 3.51.0
Fixed
- Eight
TPdfmembers that earlier release notes announced were declared in the private section and could not be called from outside thePDFiumunit; they are now public as documented:LinkAtPoint,GetTextRenderMode,GetTextObjectRenderedBitmap,IsAnnotationSubtypeSupported,ChooseRenderFlags,AttachmentHasKey,GetAttachmentStringValue, andSetAttachmentStringValue
Changed
- The English reference documentation now covers every public member of
TPdfandTPdfView: 88 members that had no reference page received one, and the class pages, the navigation index, and the API reference list them all - Reference pages that previously pointed at a shared page now link to the page of the member itself, so a search result opens the description of the API that was searched for
- The API reference documents the enumerations and records reachable from public signatures, including load and stream reporting, text, font and OCR types, layout builder types, PAdES validation types, batch and validation types, and parallel rendering types
Version 3.50.0
Added
- Every GUI demo now opens with ready-to-use content instead of an empty form: viewer and lab demos load a generated sample document, report demos produce a completed report at startup, and processor demos pre-generate sample inputs so the main action runs with one click
MultiPageViewer,SplitViewandFontPropertiesgenerate in-memory sample documents at startup (a six-page showcase, two side-by-side comparison documents, and a multi-font page for click-to-inspect)- Processor demos such as
MergePDF,BatchExport,SplitPDF,ExtractText,PDFtoJpg,PrintPDFandPrintPreferencespre-generate sample PDFs next to the executable and pre-fill their input controls, with idempotent regeneration that never overwrites existing files FormFillandExtractImagesauto-load the sample files shipped in their demo folders,ImageToPDFgenerates two sample bitmaps,WatermarkStamppre-builds its stamp samples, andXfdfLabopens on a generated document carrying text and highlight annotations
Changed
CreatePDFnow generatesSample.pdfnext to the executable at startup without showing a dialogue, so the document exists the moment the demo opensTPdf.AboutInfoand installer metadata now report Version 3.50.0 consistently
Version 3.49.0
Added
FORM_GetTextDirectionandFORM_SetTextDirectionfrom the updated PDFium binaries are now bound, keeping the dynamic binding layer at full coverage of all 472 PDFium exportsTPdf.FocusedFormFieldTextDirectionandTPdf.SetFocusedFormFieldTextDirectionexpose the focused widget's in-memory text direction through the newTPdfFormTextDirectionenum (ftdUnknown,ftdAuto,ftdLTR,ftdRTL), withTPdfViewcounterparts that repaint the page scene after a direction change
Changed
FPDF_LIBRARY_CONFIGnow mirrors the PDFium version 6 layout with the experimentalm_BrotliEnabledfield for binaries built withPDF_ENABLE_BROTLITPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 3.49.0 consistently
Version 3.48.0
Added
- The
PDFViewerdemo now generates a six-page showcase document in memory at startup using the creation API, so the viewer opens with rendered content and no sample file on disk - A thumbnail panel built on
TPdfThumbnailViewprovides click-to-navigate page previews beside the bookmark tree in all three demo ports - The viewer search now highlights every match on the current page through
HighlightSearchTextinstead of a single result rectangle, with the match count reported in the status bar - One-click
Nightand2-Uptoolbar buttons toggle the night duotone rendering mode and the two-page spread display mode
Changed
- Text selection in the viewer now uses the built-in
TPdfViewselection engine with double-click word selection, drag selection, and clipboard shortcuts replacing the hand-rolled selection code - Pages render with a drop shadow and smooth scrolling for a modern reading experience
TPdf.AboutInfoand installer metadata now report Version 3.48.0 consistently
Version 3.47.0
Added
FPdfBenchmarkruns bounded PDF corpora with configurable warm-up and measured passes, page and pixel limits, cooperative cancellation, and per-case pass, fail, or skipped statusTPdfBenchmarkReportrecords input and saved byte sizes, load and first-page latency, render throughput, save and reopen timing, sampled peak working set, semantic and pixel SHA-256 hashes, repeated-run stability, expected hash gates, and independent reopen equivalence- Benchmark reports export formula-safe CSV and structured JSON for CI, release qualification, and longitudinal performance tracking
GetSkiaRenderCapabilities,RenderPageSkia, andRenderPageSkiaByIndexexpose optional native Skia page and form rendering with parsed-page cache reuse and no hard DLL export requirement- A versioned capability-gated print-output ABI exposes exact spot-plate enumeration, plate rendering, overprint detection, and overprint preview when supplied by the loaded PDFium module
Fixed
- PDFium builds without
PDF_USE_SKIAnow load normally instead of failing because experimental Skia exports are absent
Changed
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 3.47.0 consistently
Version 3.46.0
Added
ValidatePdfRnow checks raster-only page content, strip geometry, colour models, effective resolution, compression parameters, required metadata, and encrypted PDF 2.0 profiles through configurable validation optionsBuildPdfARepairPlanturns validation evidence into dependency-ordered remediation steps with safety classes, signature-impact guards, and JSON outputBuildPdfXProductionPreflightreports page boxes, embedded fonts, output intents, colourants, transparency, overprint, separations, image resolution, and production readiness without decoding image payloads- PDF/UA-2 structure validation now checks associated-file ownership, reading order, descriptions, relationships, and discoverability
Changed
TAssociateFile.Description,TPdf.ImageInfo, andTPdf.PageComplexityexpose the metadata needed by associated-file and production preflight workflowsTPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 3.46.0 consistently
Version 3.45.0
Added
TPdfXmpPacketparses, edits, clones, and serialises namespace-aware XMP with unknown namespaces, typed RDF containers, URI and resource values, qualifiers, language alternatives, packet wrappers, and preserved paddingTPdf.ReadXmpPacketandSaveAsWithXmpPacketexpose high-level metadata reading and atomic output, with signed-document changes requiring explicit authorisation
Security
- The bounded XML reader rejects DTDs and external entities and limits packet bytes, nesting, nodes, attributes, and numeric character references
Changed
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 3.45.0 consistently
Version 3.44.0
Added
TPdfValidationRuleRegistryregisters profile clauses with severity, dependencies, repair guidance, evidence, and built-in or custom predicatesTPdfValidationBudgetandTPdfValidationExecutionContextbound rules, failures, objects, recursion, UTF-8 evidence, reserved memory, elapsed time, fast fail, and cooperative cancellationValidatePdfFilesParallelvalidates files through isolated worker documents whilst preserving input order and aggregating issue distributions, timings, failures, cancellations, and load errors
Changed
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 3.44.0 consistently
Version 3.43.0
Added
TPdfStructureElementnow carries namespace, namespace role mapping, reference, associated-file, annotation, widget, label, and appearance facts for PDF/UA-2 semantic validationValidatePdfUa2StructureElementsand its focused validators check ISO/TS 32005 namespaces and containment, bounded table grids, annotations, forms, Formula/MathML associations, associated files, document roots, FENote, lists, TOC references, titles, and captions without loadingpdfium.dllClassifyPdfUaNamespaceidentifies the PDF 1.7, PDF 2.0, MathML, ARIA, DPUB, custom, and missing structure namespacesPdfUa2StructureHasIssueprovides a C++Builder-safe single-issue query without returning a Pascal set by value
Changed
ValidatePdfUaStructureElementsautomatically applies the new semantic rule set forpuc2whilst preserving the PDF/UA-1 rule pathTPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 3.43.0 consistently
Version 3.42.0
Added
TPdfUaSaveOptions.PdfUa2creates PDF/UA-2 output withpdfuaid:part2,pdfuaid:rev2024, and an effective PDF 2.0 catalogue versionValidatePdfUadetectspuc2and reports missing revision metadata, non-PDF-2.0 files, unnamed optional-content configurations, deprecated annotations, and generic H headings
Changed
- PDF/UA validation now selects profile-specific tab-order, XFA, and heading rules for PDF/UA-1 and PDF/UA-2
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 3.42.0 consistently
Version 3.41.0
Added
SetPageObjectMarkParamadds or replaces one integer, real, string, or blob parameter on an existing marked-content entry without replacing the markRemovePageObjectMarkParamremoves one selected property whilst preserving the mark name and every unrelated property
Changed
- Non-integral marked-content numbers now round-trip as
pmpFloatinstead of being truncated into integer snapshots - Failed parameter validation during
AddPageObjectMarkremoves the partially created native mark TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 3.41.0 consistently
Version 3.40.0
Added
ConfigureSystemFontProviderinstalls an application font mapper before PDFium starts and supplies validated TrueType or OpenType bytes for missing or substituted document fontsTPdfSystemFontPolicycontrols face substitution, native fallback, per-font byte limits, and bounded request cachingGetSystemFontProviderStatisticsreports mapping, cache, fallback, rejection, data-table, and live-handle activity
Changed
- Provider callbacks expose PDFium's requested face, weight, style, charset, and pitch whilst keeping callback failures inside the native boundary
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 3.40.0 consistently
Version 3.39.0
Added
AddCidType2Textembeds caller-supplied TrueType data with explicit per-glyph CID-to-GID geometry and CID-to-Unicode mappingsTPdfCidFontOptionsselects full embedding, preferred subsetting with fallback, or required subsetting and configures bounded font, glyph, and Unicode budgetsTPdfCidFontReportreports subset decisions, byte sizes, unique glyphs, embedding state, expected text, extracted text, and extraction integrity
Changed
- TrueType subsetting preserves requested glyph identifiers, rejects unsafe output, and rolls back every inserted page object if mapping or extraction verification fails
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 3.39.0 consistently
Version 3.38.0
Added
BuildReflowDocumentcreates a bounded reusable semantic node tree from Tagged PDF structure or physical-layout inference across a selected page rangeTPdfReflowDocument.ToHtmlemits escaped responsive headings, paragraphs, lists, figures, captions, page sections, and tables with header and span semanticsTPdfReflowOptionscontrols table detection, page sections, geometry, CSS, line breaks, page range, cancellation, and resource budgets
Changed
- Table content replaces overlapping paragraph blocks during reflow, and active-page state is restored after success, failure, or cancellation
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 3.38.0 consistently
Version 3.37.0
Added
ApplyOcrSearchLayerrenders selected pages through PDFium and sends bounded top-down BGRA pixels to a caller-suppliedIPdfOcrProviderTPdfOcrWordcarries Unicode text, confidence, and pixel-space quadrilaterals that are mapped through native page geometry into invisible searchable textTPdfOcrReportrecords per-page completion, existing-text skips, failures, cancellation, rendered pixels, and accepted or rejected words
Changed
- OCR insertion preserves original scan image streams, filters malformed or low-confidence results, commits once per page, and restores the active page
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 3.37.0 consistently
Version 3.36.0
Added
ExtractTablesdetects ruled and whitespace-aligned tables from native word geometry and transformed path rulingsTPdfTablereports rows, columns, merged spans, page bounds, header cells, detection mode, confidence, and direct CSV or JSON outputExtractDocumentTablesscans every page under shared budgets and marks matching tables that continue across page boundaries
Changed
- Table extraction enforces configurable word, ruling, cell, and table limits and restores the active page after document-level scans
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 3.36.0 consistently
Version 3.35.0
Added
GenerateTaggedLayoutcreates a new semantic layout document with native marked content, a Document structure tree, ParentTree and IDTree mappings, and document language metadataTPdfLayoutSemanticsmodels headings, sections, lists, figures, captions, tables, header associations, spans, alternate text, actual text, languages, and element IDsTPdfLayoutDocument.AddLinkemits URI Link annotations and associates each annotation with its Link structure element through OBJR and StructParent mappings
Changed
- Layout text defaults to paragraph semantics whilst headers, footers, rules, images, and reusable forms default to artifacts unless explicitly tagged
- Semantic plan validation rejects duplicate IDs, missing parents, cycles, invalid list or table containment, figures without replacement text, and unresolved table header IDs before document emission
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 3.35.0 consistently
Version 3.34.0
Added
TPdf.AddShapedTextwrites RTL, bidi, contextual, and ligature glyph runs through native system shaping and PDFium CID Type 2 font APIsShapePdfTextandTPdfUniscribeTextShaperexpose positioned glyph IDs, advances, offsets, source clusters, visual run positions, and bidi levels without modifying a document
Changed
- Generated ToUnicode maps cover every shaped glyph whilst
ActualTextstores the original logical Unicode string for conforming extraction and accessibility consumers - Marked-content strings with UTF-16 byte-order marks now decode correctly through
PageObjectMarks TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 3.34.0 consistently
Version 3.33.0
Added
TPdfLayoutCachedNodebuilds subclassed layout content on first use and supports repeated scaled placements throughAddCachedNodeTPdfLayoutPlanreports measurement cache hits, misses, cached-node placements, and reused native XObjects
Changed
BuildPlanreuses matching plans by complete page constraints, content, font, style, source, and measurer identities without repeating text measurementGenerateLayoutconverts each unique cached node to one destination-bound XObject and creates lightweight Form objects for every placementTPdf.AboutInfo, package metadata, and installer metadata now report Version 3.33.0 consistently
Version 3.32.0
Added
TPdfLayoutDocumentbuilds wrapped text, spacers, rules, images, reusable page XObjects, explicit page breaks, headers, and footers into a measured page planGenerateLayoutpaginates the complete layout before atomically appending native pages and page objects, with stable{page}and{pages}references
Changed
TPdf.AboutInfo, package metadata, and installer metadata now report Version 3.32.0 consistently
Version 3.31.0
Added
TPdfPagePlanbuilders describe delete, move, insert, split, and merge page operations without applying themValidatePagePlanreturns the exact old-to-new page map and inventories affected bookmarks, named destinations, page labels, form fields, tagged pages, imported features, and signatures
Security
- Plans that would leave dangling navigation targets or change signed content without explicit authorisation are rejected before any native page operation runs
Changed
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 3.31.0 consistently
Version 3.30.0
Added
SaveRecoverySnapshotwrites a checksummed, size-bounded recovery package containing the source fingerprint and verified document edit journalRestoreRecoverySnapshotreplays a recovery package only when its checksum, journal chain, source fingerprint, and recovered fingerprint all matchEnableRecoveryAutosaveatomically refreshes an explicit recovery file after each changed commit, undo, or redo without rewriting the source PDF
Changed
InspectRecoverySnapshotreports recovery source, fingerprints, entry count, position, and bounded storage without applying the packageImportEditJournaland recovery restore now require explicitAllowSignedDocumentauthorisation before applying edits to a signed PDF- Recovery package storage uses the configured bounded random-access store and same-directory write-through replacement for large journals and crash-safe autosave updates
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 3.30.0 consistently
Version 3.29.0
Added
BeginEditTransaction,CommitEditTransaction, andRollbackEditTransactiongroup arbitrary native document edits into atomic transactionsUndoEditandRedoEditapply SHA-256-verified inverse and forward deltas across page, object, annotation, attachment, and metadata changesExportEditJournalandImportEditJournalpersist bounded portable deltas with source-fingerprint and digest-chain validation for later replay
Changed
- Transaction snapshots use reproducible native output so unchanged commits remain empty even when ordinary PDFium saves contain non-deterministic identifiers or timestamps
- Failed commits and invalid journal replay restore the previous loadable document atomically, whilst entry count, stored bytes, and snapshot size stay under caller-configured limits
- Signed PDFs require explicit
AllowSignedDocumentauthorisation before a document edit transaction begins TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 3.29.0 consistently
Version 3.28.0
Added
TPdf.InspectOptionalContentenumerates OCG layers, default and alternate configurations, View/Print/Export usage states, zoom and language metadata, locked layers, order arrays, radio groups, OCMD policies, visibility expressions, and effective rendering stateTPdf.SaveAsOptionalContentConfiguredwrites a strictly verified copy with caller-selected layer states for a chosen usage and configuration
Changed
- Layer-state output now updates both configuration
/ONand/OFFarrays and OCG Usage state dictionaries so PDFium applies the requested visibility through its native rendering context - Configuration writes reject unknown groups, locked-layer changes, radio-group conflicts, encrypted staged files, and signed files without explicit authorisation, and remove automatic-state rules by default to keep the selected result deterministic
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 3.28.0 consistently
Version 3.27.0
Added
TPdf.RenderPageByIndexrenders any one-based page at an exact pixel size without changing the active editing page or firing page-change eventsPageSceneCacheCapacity,PageSceneCacheCount, andClearPageSceneCacheexpose bounded scene-cache control and diagnostics
Changed
- Indexed page renders, rendered thumbnails, and embedded-thumbnail extraction now reuse parsed PDFium page state through an eight-entry LRU cache by default
- Scene entries are invalidated on page activation, editing, page-tree changes, form-state callbacks, explicit clearing, and document teardown, with in-flight renders retained safely until release
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 3.27.0 consistently
Version 3.26.0
Added
TPadesSignatureAlgorithmInforeports each CMS signer digest, signature, public-key, and named-curve OID together with its independently evaluated algorithm policy stateInspectPadesSignatureAlgorithmandEvaluatePadesSignatureAlgorithmrecognise P-256, P-384, P-521, brainpoolP256r1, brainpoolP384r1, brainpoolP512r1, Ed25519, and Ed448 profiles
Security
- PAdES validation now rejects elliptic-curve and digest mismatches, ECDSA signature OIDs that disagree with the CMS digest, unnamed EC parameters, Ed25519 parameters, and Ed448 SHAKE256 output lengths other than 512 bits
- Native CMS verification remains the source of cryptographic validity, whilst unavailable algorithms and unrecognised curves are reported as
pcsUnsupportedinstead of being treated as invalid signatures TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 3.26.0 consistently
Version 3.25.0
Added
TPdf.ExportObjectGraphexports active classic, xref-stream, and object-stream objects as bounded typed JSON with explicit dictionaries, arrays, strings, names, scalar values, indirect references, stream byte counts, and optional SHA-256 stream digestsTPdf.SaveAsObjectGraphPatchedsets or removes schema-checked top-level dictionary values through typed null, Boolean, integer, real, name, text-string, and indirect-reference patch values
Security
- Object-graph export enforces object, recursion, string, and output-byte budgets, whilst patching validates every operation before delivery, rejects dangling references, duplicate operations, encrypted inputs, protected stream filter or length changes, and signed documents unless explicitly authorised
- Object-graph patches are staged as an incremental revision, materialised again for xref verification, strict-loaded through PDFium, and copied or atomically renamed only after all checks succeed
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 3.25.0 consistently
Version 3.24.0
Added
TPdf.ValidatePadesTrustverifies every discoverable detached signature against the exact originalByteRange, evaluates signing-certificate-v2 binding and current Windows system trust, and reports independent signature, chain, revocation, and timestamp statesTPdf.ValidatePadesTrustAsyncsnapshots the original loaded source before dispatch, reports staged progress for parsing, cryptography, chain building, AIA, OCSP, CRL, and RFC 3161 timestamp work, and supports cooperative cancellationTPadesTrustValidationOptionsselects offline or online trust, optional revocation and timestamp verification, a bounded URL retrieval timeout, a cancellation token, and a progress callback
Security
- Signature timestamp and Document Time-stamp tokens now validate their SHA-256 message imprint, attached CMS signature, TSA chain, and optional revocation state independently from the ordinary document signature
- Trust validation never hashes a PDFium-resaved copy, defaults to offline cache-only certificate retrieval, and reports unsupported or indeterminate states instead of treating unavailable native trust or revocation evidence as valid
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 3.24.0 consistently
Version 3.23.0
Added
TPdf.RenewPadesArchiveTimestampandRenewPadesArchiveTimestampToStreamappend a new RFC 3161 Document Time-stamp to an existing PAdES signature chain without changing any historical bytesTPadesArchiveTimestampOptionscontrols TSA access, nonce, reserved token capacity, and an optional complete DSS refresh whilstTPadesArchiveTimestampReportrecords the source and result levels, chain lengths, byte lengths, and returned timestamp identity
Fixed
- New and renewed PAdES B-LTA output declares ESIC ExtensionLevel 2, whilst B-LT validation no longer requires Level 2 unless a Document Time-stamp is present
Security
- Renewal hashes the exact original loaded bytes plus any requested DSS update, rejects encrypted or incomplete sources, validates the discoverable B-LTA result before writing output, and stages file output before replacement
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 3.23.0 consistently
Version 3.22.0
Added
TPdf.AnalyzeSignatureRevisionsreconstructs the original incremental revision chain and returns per-signature object changes classified against DocMDP and FieldMDP permissionsTPadesRevisionAnalysisReportdistinguishes allowed form, annotation, signature, and validation-material updates from disallowed page or document changes, unresolved cases, and suspicious shadow definitions
Security
- Revision analysis detects unreferenced object definitions, signature-object redefinitions, active content, malformed revision chains, and unresolved compressed objects whilst enforcing bounded revision, object, and change budgets
- Analysis always uses the original loaded file, memory buffer, custom stream, or completed progressive source rather than bytes rewritten by PDFium
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 3.22.0 consistently
Version 3.21.0
Added
TPdf.PreparePadesRemoteSignaturecreates a fixed-width detached-signature placeholder and returns a persistent request containing the SHA-256 document digest, exactByteRange, reservation coordinates, and prepared-PDF fingerprintTPdf.CompletePadesRemoteSignaturefinishes HSM, cloud, or interrupted signing sessions after validating the persisted request and returned CMSTPdf.SavePadesRemoteSigningRequestandTPdf.LoadPadesRemoteSigningRequestprovide a stable versioned binary session format for process and machine boundaries
Security
- Completion rejects modified prepared PDFs, altered
ByteRangecoordinates, reused non-empty placeholders, oversized CMS values, unsupported SignedData shapes, missing signing-certificate-v2 attributes, and CMS message digests that do not match the prepared document TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 3.21.0 consistently
Version 3.20.0
Added
TPadesDssOptions.Vriswrites one indirect/Type /VRIdictionary per signature, keyed by the uppercase SHA-1 of the complete decoded/Contentsvalue including paddingTPadesDssVriselects certificate, OCSP, and CRL material through validated indexes whilst PAdES B-LT and B-LTA signing now creates the new signature's VRI automatically
Changed
- DSS certificates, OCSP responses, and CRLs are content-hash deduplicated with stable first-occurrence ordering, exact-byte collision checks, and VRI reference remapping before any destination bytes are written
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 3.20.0 consistently
Version 3.19.0
Added
TPdf.GetStructuredTextconverts the current page into reusable block, line, and styled-span records whilst preserving source character indices, Unicode scalars, geometry, font names, sizes, weights, and text anglesTPdfStructuredTextOptionsselects content-stream or physical-layout order, optional font and semantic enrichment, and a fail-closed maximum character budget- Tagged PDF and heuristic readable-content fragments enrich blocks with structure kind, heading level, language, source, and structure-element identity whilst unmatched Figure alternate text remains represented
Changed
- Physical-layout extraction now uses O(n log n) character ordering, geometrically growing line and span buffers, line and column clustering, buffered Unicode construction, and adjacent non-null text-object font caching for predictable large-page performance
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 3.19.0 consistently
Version 3.18.0
Security
TPdf.SaveAsRedactedapplies every/Redactrectangle to an isolated document snapshot, removes each intersecting top-level page object, and paints an opaque replacement rectangle without changing the loaded document- Redacted output removes redaction annotations, optionally removes other intersecting annotations, deletes native embedded attachments, and strips catalogue
/AF, active content, forms, metadata, and unreachable prior-revision objects TPdfRedactionOptionscontrols replacement colour, overlapping-annotation removal, and a fail-closed page-object scan budget whilstTPdfRedactionReportrecords every removal and output metricTPdfSanitiseOptions.StripAssociatedFilesnow removes catalogue-level associated-file references by default
Changed
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 3.18.0 consistently
Version 3.17.0
Added
TPdf.RenderPagesParallelrenders one-based page requests concurrently whilst every worker owns an independently loaded PDFium module, document, and page state sourced from one captured document snapshotTPdfParallelRenderOptionscontrols DPI, worker count, rotation, native render flags, background colour, per-page pixel limits, and aggregate retained-output limitsTPdfParallelRenderReportpreserves request order and returns caller-owned top-down BGRA or RGBA buffers with per-page success, cancellation, failure, dimensions, timing, and diagnostic details- Progressive worker rendering polls
IPdfCancellationTokenbetween native chunks whilst invalid requests and budget failures remain isolated to their corresponding results TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 3.17.0 consistently
Version 3.16.0
Added
TPdfEncryptionRevision.erR7adds ISO/TS 32003 AES-256-GCM output with/V 6,/R 7,/CFM /AESV4, and the required PDF 2.0 developer extension- Every encrypted string and stream receives a unique 96-bit IV, unchanged-length ciphertext, and a 128-bit authentication tag, whilst
EncryptMetadata = Falsepreserves metadata stream bytes DecryptAesGcmDocumentBytesvalidates user or owner passwords, encrypted permissions, optional standalone PDF MAC data, and every GCM tag before returning PDFium-compatible plaintext bytes- AESV4 output can be combined with
TPdfEncryptOptions.EnableIntegrityProtectionso per-object GCM authentication and whole-document ISO/TS 32004 PDF MAC protection coexist - Encryption now uses valid classic cross-reference entries instead of interpreting object-shaped text inside stream data as indirect objects
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 3.16.0 consistently
Version 3.15.0
Added
TPdfEncryptOptions.EnableIntegrityProtectionwrites ISO/TS 32004 standalone PDF MAC authentication codes for AES-256 Standard Security Handler revision 5 and 6 documentsTPdf.ValidatePdfMacverifies the exact original source bytes, strict EOF-covering/ByteRange, CMSAuthenticatedData, password-derived file key, authenticated attributes, wrapped MAC key, and HMAC valueFPdfHmacadds HMAC-SHA256 and HKDF-SHA256 whilstFPdfAesadds RFC 3394 AES-256 Key Wrap and authenticated unwrap primitivesTPdfMacValidationResultdistinguishes valid, absent, invalid, and unsupported authentication codes with diagnostic textTPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 3.15.0 consistently
Version 3.14.0
Added
TPdf.ValidatePadesnow verifies detached CMS signatures against the exact original/ByteRangesegments on Windows, including signed attributes and the signature valueTPadesValidationResultexposes aggregate integrity status and per-signature ByteRange, CMS,signing-certificate-v2, system trust, revocation, and timestamp states without conflating unsupported or unchecked evidence with an invalid signature- Signer certificate binding is checked with SHA-256, certificate chains use cache-only Windows system trust evaluation, and native error codes remain available for diagnostics
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 3.14.0 consistently
Version 3.13.1
Fixed
TPdf.ValidatePadesnow inspects the original file, buffered memory, or custom stream bytes instead of a PDFium-resaved copy that could invalidate offsets or discard signature dictionaries- PAdES
/ByteRangechecks now accept signatures that cover an earlier complete PDF revision followed by valid incremental updates, whilst also validating Document Time-stamp ranges TPadesValidationResult.SourceStatusdistinguishes original source validation from unavailable or incomplete progressive input, and compliance predicates reject results without original bytesTPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 3.13.1 consistently
Version 3.13.0
Added
FPdfSha3provides dependency-free SHA3-256, SHA3-384, SHA3-512, and SHAKE256 primitives for ISO/TS 32001 and related PDF 2.x cryptographic work- Incremental contexts absorb arbitrarily split input whilst SHAKE256 supports repeated squeeze calls and output that crosses sponge rate boundaries
- One-shot byte-array and lowercase hexadecimal helpers complement the streaming API, with explicit lifecycle and size validation across Delphi, C++Builder, and Lazarus
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 3.13.0 consistently
Version 3.12.0
Added
TPdf.ImportFDFimports FDF form data from files or streams and applies parsed values through the existing widget field pathFdfImportFromStreamandFdfImportFromFileparse direct or indirect hierarchical fields, PDF literal and hexadecimal strings, PDFDocEncoding, Unicode text, name values, and explicit empty values under bounded resource budgets- FDF export now writes non-ASCII field names and values as standards-compliant UTF-16BE text strings and safely escapes source file names
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 3.12.0 consistently
Version 3.11.0
Added
TPdf.DetectPageSkewrenders the current page at low DPI and detects the skew angle by projecting dark pixels onto candidate rotation angles, returning the angle that maximises row-sum variance (text-line alignment) with ~0.1 degree accuracyTPdfSkewReportexposes the detected angle, confidence, and sample dimensionsTPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 3.11.0 consistently
Version 3.10.0
Added
TPdf.GetTextInReadingOrderextracts the current page text in raw content-stream order or physical-layout order (top-to-bottom, left-to-right) throughFPDFText_GetCharBox+ position-sorted character extraction, so multi-column and visually reordered text reads naturallyTPdfReadingOrderenum selects betweenroContentOrderandroPhysicalLayoutTPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 3.10.0 consistently
Version 3.09.0
Added
TPdfImageOptimizeOptions.PreserveBilevelskips 1-bit bilevel images (ImageMask / line-art scans) duringOptimizeImagesso nearest-neighbour downsampling does not destroy their crisp edgesTPdfImageOptimizeOptions.MinDimensionskips images smaller than the threshold (typically icons or decorative elements that do not benefit from further reduction)TPdfImageOptimizeOptions.Defaultprovides the recommended starting point (150 DPI target, 1.5 ratio, bilevel preserved, min dimension 8)TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 3.09.0 consistently
Version 3.08.0
Added
TPdfTileCacheprovides a bounded LRU cache of rendered page tiles keyed by document revision, page, zoom, rotation, render flags, and device rectangle, so unchanged tiles are not re-rendered on repaints and stale tiles from a prior save are evicted automaticallyTTileKeyexposes the composite cache key with a staticCreatefactory and anEqualscomparatorTPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 3.08.0 consistently
Version 3.07.0
Added
TPdf.GetAnnotationFontColorandTPdf.SetAnnotationFontColorwrap the previously-bound-but-unusedFPDFAnnot_GetFontColorandFPDFAnnot_SetFontColor, exposing widget text-colour read and write for form-field editing without touching the annotation dictionary directlyTPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 3.07.0 consistently
Version 3.06.0
Added
TPdf.RenderPageBandedrenders the current page in horizontal bands via a callback, so posters and engineering pages can be exported without ever allocating a full destination bitmap — each band renders into a freshly createdTBitmapof the requested band height and is freed after the callback returnsTPdfBandCallbackexposes the per-band contract (band index, top-y offset, bitmap) with a Boolean return that lets callers cancel the banded render earlyTPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 3.06.0 consistently
Version 3.05.0
Added
TPdf.RenderPageProgressiveWithColorSchemedrives the native progressive render loop with a low-vision colour scheme throughFPDF_RenderPageBitmapWithColorScheme_Start, letting callers override path fill / stroke and text fill / stroke colours for accessibility whilst keeping the cancellation-aware Continue loopTPdfColorSchemeexposes the fourTColoroverride fields with aDefaultthat delegates to PDFium's built-in colours when all fields areclDefaultTPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 3.05.0 consistently
Version 3.04.0
Added
TPdf.ExportFDFserialises form field values as an FDF (ISO 32000-1 §12.7.11) document beside the existing XFDF path, reusing the sameTXfdfFielddata model so callers collect fields once and emit either formatFdfExportToStreamandFdfExportToFileinFPdfXfdfexpose the low-level FDF serialiser for callers that build field collections independently of a loadedTPdfTPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 3.04.0 consistently
Version 3.03.0
Added
TPdf.SaveAsSanitisedwrites a clean single-revision copy that strips active content from the catalogue (/OpenAction, catalogue/AA,/Names,/AcroForm,/Metadata) and then prunes unreachable objects so the orphaned JavaScript, action, and attachment bodies disappear from the file bodyTPdfSanitiseOptionsexposes independent per-vector strip controls plus an optional reachability prune pass;TPdfSanitiseReportrecords stripped entry count, pruned object count, byte counts, and any errorTPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 3.03.0 consistently
Version 3.02.0
Added
TPdf.SaveAsPageLabelledwrites a full PDF copy whose catalogue/PageLabelsnumber tree is replaced with the supplied ranges, applying decimal, upper/lowercase roman, and upper/lowercase letter numbering styles with optional prefix text strings and start numbers per ISO 32000-1 §12.4.2TPdfPageLabelRange,TPdfPageLabelRanges,TPdfPageLabelStyle, andTPdfPageLabelReportexpose the range model, style enum, and per-save byte/range counts- Existing catalogue
/PageLabelsentries are detected and rejected unlessReplaceExisting=Trueis passed, in which case the old entry is stripped before the new ranges are injected TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 3.02.0 consistently
Version 3.01.0
Added
TPdf.FlattenPageRotationbakes the current/Rotateof every page into the content stream, page boxes, and annotation rectangles, then resets/Rotateto 0 — wrappingFPDFPageObj_TransformF+FPDFAnnot_GetRect/SetRect+FPDFPage_SetMediaBox/SetCropBox+FPDFPage_SetRotationso the visual layout is preserved without relying on the rotation display hintTPdfFlattenRotationOptionsexposes per-page annotation transform, page-box swap, and auto-update controls;TPdfFlattenRotationReportrecords processed, skipped, and failed pages plus total transformed objects and annotationsTPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 3.01.0 consistently
Version 3.00.0
Added
TPdf.StampPagesFromPdfstamps a source page as a positioned, scaled, optionally rotated Form XObject overlay or underlay across one or more target pages, wrappingCreateXObjectFromPage+FPDFPageObj_SetMatrix+FPDFPageObj_SetBlendMode+FPDFPage_InsertObjectAtIndexwith explicit page-box, anchor, margin, scale, rotation, blend, and z-order policiesTPdfOverlayOptionsandTPdfOverlayReportexpose the placement, transform, blend, and z-order controls plus per-page stamped, failed, and skipped countsTPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 3.00.0 consistently
Version 2.99.0
Added
TPdf.RefreshAppearanceselectively regenerates a single widget's appearance stream throughFPDFAnnot_SetAP, avoiding a full-pageNeedAppearancesrebuildTPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.99.0 consistently
Version 2.98.0
Added
TPdfView.MouseDownnow routes right-button events to the native form fill engine throughFORM_OnRButtonDown, enabling context menus and widget interactions on right click- Route map items 78 (link-annotation mapping), 82 (widget presentation), and 83 (structure attribute model) confirmed as already complete through existing infrastructure
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.98.0 consistently
Version 2.97.0
Added
TPdf.SetDeterministicTimeandTPdf.RestoreActualTimelet tests and reproducible builds inject a fixed creation, modification, and current time through supported native callbacksTPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.97.0 consistently
Version 2.96.0
Added
TPdf.GetWidgetAdditionalActionJavaScriptreads widget additional-action JavaScript for a given event trigger throughFPDFAnnot_GetFormAdditionalActionJavaScriptwithout executing any scriptTPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.96.0 consistently
Version 2.95.0
Added
TPdf.GetObjectTextextracts the Unicode text of a text page object throughFPDFTextObj_GetTextfor precise content editing and encoding diagnosticsTPdf.GetObjectsByTypereturns the indices of all page objects matching a category (text, path, image, form, shading) for selective category outputTPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.95.0 consistently
Version 2.94.0
Added
TPdf.AttachmentHasKey,GetAttachmentStringValue, andSetAttachmentStringValueread, write, and probe custom file-spec extension values on embedded attachmentsTPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.94.0 consistently
Version 2.93.0
Added
TPdf.InsertObjectAtIndexinserts a page object at a requested stack position viaFPDFPage_InsertObjectAtIndexrather than always appendingTPdf.UpdateAnnotationObjectcommits an edited annotation appearance object throughFPDFAnnot_UpdateObjectso changes to annotation-owned page objects persist reliablyTPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.93.0 consistently
Version 2.92.0
Added
TPdf.InsertClipPathcreates a rectangular clip path and inserts it into the current page through the nativeFPDF_CreateClipPathandFPDFPage_InsertClipPathpaths, complementing the existingPageObjectClipPathinspectorTPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.92.0 consistently
Version 2.91.0
Added
TPdf.GetPageComplexityscans the current page and reports image, path, and text object counts plus total path segments, total image pixels, and transparency presence for rendering planningTPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.91.0 consistently
Version 2.90.0
Added
TPdf.IsAnnotationSubtypeSupportedasks the loaded PDFium DLL which annotation subtypes it supports before editingTPdf.ChooseRenderFlagsselects native render flags (halftone, limited image cache) from final scale and destination size for adaptive image subsamplingTPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.90.0 consistently
Version 2.89.0
Added
TPdf.GetTextRenderModeexposes the native text rendering mode (fill, stroke, clip) of a text page object for authoring diagnosticsTPdf.GetTextObjectRenderedBitmaprenders a single text object to an isolated bitmap through the nativeFPDFTextObj_GetRenderedBitmappathTPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.89.0 consistently
Version 2.88.0
Added
TPdf.GetThumbnailnow falls back to rendering a replacement when the page has no embedded thumbnail, implementing the embedded-thumbnail-first preferenceTPdf.LinkAtPointreturns whether a native link exists at a page-space coordinate usingFPDFLink_GetLinkAtPointrather than rectangle-only scansTPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.88.0 consistently
Version 2.87.0
Added
TPdf.AuditActiveContentreturns aTPdfActiveContentAuditsnapshot of JavaScript action count, embedded file count, signature count, XFA form type, and document permissions without executing any script or actionTPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.87.0 consistently
Version 2.86.0
Added
TPdf.GetFeatureInventoryscans every page once and returns a unified record of text, path, image, form XObject, and shading object counts alongside attachment, signature, form type, permission, and PDF version factsTPdfFeatureInventoryaggregates document-wide facts that previously required separate property calls into a single snapshotTPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.86.0 consistently
Version 2.85.0
Added
TPdf.SaveAsReproduciblerewrites the document so that two saves of the same in-memory state produce byte-identical output- Non-deterministic
/Infotimestamps (/CreationDate,/ModDate) are stripped and the source/ID(derived from wall-clock-dependent bytes) is omitted, whilst object order and generation stay stable TPdfReproducibleReportreports kept and pruned object counts plus the number of stripped timestamp entriesTPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.85.0 consistently
Version 2.84.0
Added
TPdf.SaveAsInlineImagesExternalisedrewrites the document extracting everyBI/ID/EIinline image into a reusable image XObject and replacing the inline block with a/ImN Dooperator- Inline-image dictionary abbreviations (
/W,/H,/BPC,/CS,/F, colour-space values, and filter values) are expanded to their full image-XObject names so the extracted object is standards-compliant - The page
/Resources /XObjectdictionary is updated with the new XObject references, and the rewritten content stream is Flate-compressed TPdfInlineImageExternaliseReportreports externalised, skipped, and failed counts plus the created XObject countTPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.84.0 consistently
Version 2.83.0
Added
TPdf.SaveAsFlateRecompressedrewrites the document and re-encodes eligibleFlateDecodestreams at maximum compression, replacing a stream only when the measured byte saving clears a caller thresholdTPdfFlateRecompressOptionsselects a minimum saving in bytes and a minimum saving ratio so already-optimal streams are left untouchedTPdfFlateRecompressReportreports recompressed, skipped, and failed stream counts together with the original and recompressed stream byte totals- Object numbers and generations stay stable; only the recompressed stream payloads and their direct
/Lengthvalues change, so every surviving cross-reference remains valid TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.83.0 consistently
Version 2.82.0
Added
TPdf.OptimizeImageswalks every page image object and downsamples those whose effective placement DPI exceeds a caller-selected target, then commits each touched page through the native content generatorTPdfImageOptimizeOptionsselects the target DPI and a minimum ratio so only images that are genuinely over-sampled are re-encodedTPdfImageOptimizeReportreports optimised, skipped, and failed image counts together with a structured failure message- Downsampling uses a nearest-neighbour pass over the native PDFium bitmap buffer, preserving the source format, stride, and alpha channel, and
FPDFImageObj_SetBitmapre-encodes the survivor TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.82.0 consistently
Version 2.81.0
Added
TPdf.SaveAsDeduplicatedrewrites the document as a single clean revision that collapses compatible fonts, images, and form XObjects onto one shared representative- A recursive content fingerprint combines each resource dictionary, its full reachable subgraph, and its raw stream payload, so duplicates merge only when their entire content is identical
- Every cross-reference to a merged-away duplicate is rewritten to the surviving representative whilst the rebuilt classic cross-reference table keeps object numbers stable
TPdfDedupReportreports kept and pruned object counts plus per-category merged font, image, and form XObject countsTPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.81.0 consistently
Version 2.80.0
Added
TPdf.SaveAsReachablerewrites the document as a single clean revision that keeps only the indirect objects reachable from the catalogue and the trailer /Info dictionaryTPdfPruneReportreports the kept and pruned indirect object counts together with the source and output byte sizes, and structured failure reasons for encrypted or malformed input- Unreachable orphan objects left behind by incremental updates, page merges, or repaired saves are swept, whilst the rebuilt classic cross-reference and trailer preserve
/Root,/Info, and/IDwithout renumbering TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.80.0 consistently
Version 2.79.0
Added
TPdf.CreateDocumentSearchcreates a forward or backward document-wide search that returns one match at a time without building a full-document text indexTPdfDocumentSearchResultreports the one-based page, character range, matched text, and page-space rectangles for every result- Search sessions accept
IPdfCancellationToken, retain only the current PDFium page and text handles, and become safely finished when the document closes TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.79.0 consistently
Version 2.78.0
Changed
TPdfRangeRequestSchedulernow pre-empts overlapping lower-priority transfers so page-critical PDFium hints do not wait behind background downloads- Externally available sparse bytes cancel redundant active transfers, whilst superseded or duplicate transport callbacks return False without publishing stale coverage
- Priority promotion preserves independent retry histories, and transport pre-emption no longer consumes the retry budget of unaffected range tails
TPdfRangeRequestStatistics.SupersededRequestCountreports transport work displaced by higher-priority hints or externally supplied coverageTPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.78.0 consistently
Version 2.77.0
Added
TPdf.SaveAsNormalizedContentwrites syntax-normalised page content to a stream or atomically replaced file and reports normalised, skipped, and coalesced page countsNormalizePdfContentSequenceprovides bounded standalone token normalisation for decoded content-stream sequences
Changed
- Page
/Contentsarrays can now be coalesced into one stream whilst preserving strings, names, inline-image payloads, unknown operators, and cross-stream graphics state - Malformed tokens, unbalanced state scopes, unsupported filters, encrypted input, and signed-document rewrites have explicit policies and structured status reporting
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.77.0 consistently
Version 2.76.0
Added
TPdfStreamInspectorinventories arbitrary physical PDF stream objects and reports object offsets, raw lengths, filter chains, DecodeParms, external-file markers, encryption state, and native image or attachment pathsCopyRawDatacopies complete encoded payloads or validated byte windows, whilstDecodeDataapplies ASCIIHex, ASCII85, LZW, Flate, RunLength, TIFF 8-bit, and PNG predictors in declared orderTPdfStreamInspectOptionsbounds source, raw, decoded, dictionary, stream-count, and expansion-ratio resources, with structured reports for limits, malformed data, unsupported codecs, encryption, and write failures
Changed
- Stream length resolution now exposes exact spans for direct and indirect
/Lengthvalues, including zero-length streams and payloads containing the literalendstreamsequence TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.76.0 consistently
Version 2.75.0
Added
TPdfLoadOptionsadds compatible, strict, and recovery policies to file, memory, byte-range, and custom-stream loadingTPdfLoadReportreports the native recovery route, xref validity, damaged offsets, entry conflicts, revision counts, audit budgets, and structured issues for classic, hybrid, and xref-stream documentsTPdf.SaveAsRepairedcreates a full single-revision copy and independently strict-loads it before delivering the verified stream or atomically replacing a target file
Changed
- Existing load overloads retain compatible behaviour and now publish native xref validity and recovery status through
LastLoadReport - Strict loading rejects documents that required native xref rebuilding or failed structural audit, whilst signed repair output requires explicit caller authorisation
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.75.0 consistently
Version 2.74.0
Added
TPdf.MergeFilesmerges file-backed source lists with per-source page ranges and passwords whilst keeping at most one source document openTPdfBatchMergeOptionsadds stop or skip error handling, source-scoped or chunked imports, form and outline policies, insertion control, progress callbacks, cancellation, viewer-preference copying, and rollback controlTPdfBatchMergeReportreports committed and rolled-back pages, source outcomes, native import calls, largest batch, peak open sources, policy detections, issues, and the terminal status
Changed
- The default batch path performs one native page import per source so PDFium can reuse cloned objects across that source, then closes the source before opening the next file
- Chunked mode provides finer cancellation points and smaller native batches, whilst failed partial sources and stop or cancellation outcomes can remove all pages inserted by the operation
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.74.0 consistently
Version 2.73.0
Added
TPdfRandomAccessStoreprovides thread-safe sequential and positioned I/O, keeps small content in bounded memory, and spills once to private temporary storage at a caller-selected ceilingTPdf.SaveMemoryLimitandSaveTemporaryDirectoryconfigure save staging, whilstLastSaveSpillCountandLastSaveLargestMemoryBufferexpose measurable per-save diagnostics
Changed
- Save, standards conversion, validation, encryption, DSS, and PAdES staging buffers now share bounded working storage with exclusive delete-on-close spill files and memory scrubbing
- Custom PDFium block callbacks serialise ordinary stream seeks and use cursor-independent positioned reads when backed by
TPdfRandomAccessStore - The file-based XFA capability scan now reads fixed-size overlapping blocks instead of copying the complete PDF into memory
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.73.0 consistently
Version 2.72.0
Added
TPdf.BeginIncrementalSave,CommitIncrementalSave, andEndIncrementalSaveprovide a revision session that appends only changed or newly created indirect objectsTPdfIncrementalCommitInforeports changed-object count, appended bytes, total output bytes, and successful revision count for each commit
Changed
- Every dirty commit preserves the complete previous output as an exact byte prefix, emits no revision when nothing changed, and continues the source's classic or xref-stream format
- Native xref-stream incremental output is repaired with its required type, self entry, length, index, and object terminator before further processing
- Encrypted documents are rejected before a session begins, whilst signed documents require explicit caller permission so signature policy cannot be bypassed accidentally
- The file overload completes a sibling temporary file before atomically replacing the destination and rolls session state back after any write or replace failure
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.72.0 consistently
Version 2.71.0
Added
TPdf.SaveAsObjectStreamwrites PDF 1.5+ files with bounded compressed object groups and a pure xref stream containing complete type-2 entriesPackPdfObjectStreamscan modernise classic, hybrid, xref-stream, and existing object-stream input after resolving the active revision
Changed
- Page-local object ordering, adaptive xref field widths, direct catalogue access, and configurable member and decoded-byte ceilings balance file size with random-access performance
- The file overload completes a sibling temporary file before atomically replacing the destination, whilst invalid incremental, version, and grouping options are rejected before output begins
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.71.0 consistently
Version 2.70.0
Added
TPdf.SaveAsLinearizedwrites a true Fast Web View PDF to a stream or file using first-page object grouping, two cross-reference sections, and Annex F page-offset and shared-object hint tables- Active object-stream members are materialised automatically, allowing xref-stream and object-stream inputs to become range-friendly output without changing visible page content
Changed
- The file overload completes a sibling temporary file before atomically replacing the destination, whilst the stream overload retains the normal PDFium save options and explicit version checks
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.70.0 consistently
Version 2.69.0
Added
TPdfRangeRequestSchedulerconverts PDFium byte-range hints into prioritised, coalesced, size-bounded transport work without forcing a contiguous download- Full and partial completion, bounded retries, sparse availability deduplication, request statistics, and generation-safe cancellation support HTTP Range and custom transport pipelines
TPdfProgressiveDocument.RangeRequestsautomatically receives document, form, and page hints, promoting only the exact bytes that block an interactive page
Changed
CancelProgressiveLoadnow cancels active range work before native availability and stream teardown, and stale transport completions are ignored safelyTPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.69.0 consistently
Version 2.68.0
Added
TPdfProgressiveDocumentkeeps PDFium's availability session alive whilst a remote or growing random-access stream receives the byte ranges PDFium requestsCheckDocumentAvailability,CheckFormAvailability, andLoadAvailablePagereturn mergedTPdfDownloadRangehints so a host can fetch only the data needed to open and display a linearized pageAvailableByteCountsupports monotonic contiguous downloads, whilstOnDataAvailablesupports sparse and out-of-order range caches
Changed
- Linearized files use PDFium's native progressive document, form, and page gates; non-linearized files automatically switch to the native custom-stream loader after the complete file is present
TPdfStreamAdaptercan expose a logical final size that differs from the bytes currently stored, whilst preserving the explicit 4 GiBFPDF_FILEACCESSlimitTPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.68.0 consistently
Version 2.67.0
Added
TPdfView.AllowFormEventsswitches off the mouse, keyboard and focus events the viewer forwards to the form-fill layer, for a read-only viewer or one that drives form interaction itself- Form fields still render normally with it off: page load and close are deliberately left ungated, since those initialise the form layer rather than react to input
- The switch joins the existing
AllowUserPageChangeandAllowUserTextSelectiontoggles and defaults to True, so existing behaviour is unchanged
Changed
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.67.0 consistently
Version 2.66.0
Added
- Named actions a document raises (ISO 32000-1 §12.6.4.11) now reach the host through the new
OnNamedActionevent; previously every one of them was discarded - Left unhandled, the four standard navigation names —
NextPage,PrevPage,FirstPage,LastPage— move the page, clamping at the first and last rather than wrapping TPdf.PerformNamedActionlets an application trigger the same behaviour directly, returning False for a name that has no library-supplied meaning
Fixed
- An encryption test measured a stream body by scanning backwards from
endstream, which occasionally mistook a ciphertext byte for a line terminator and reported an intermittent failure; the library was correct throughout
Changed
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.66.0 consistently
Version 2.65.0
Added
BuildToUnicodeCMapgenerates the ToUnicode CMap (ISO 32000-1 §9.10.3) a CID font needs so its text can be copied, searched and read by assistive technology — without one the text renders correctly but extracts as nothing- Entries are chunked at the 100-per-block limit the specification sets, duplicate glyphs are written once, and
.notdefis skipped - The CMap follows the CID = GID convention, so no
CIDToGIDMapstream is needed beside it
Changed
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.65.0 consistently
Version 2.64.0
Added
- Ink and stamp annotations draw themselves from their own page objects rather than from the page content stream, and those objects are now reachable:
AnnotationObjectCountandAnnotationObjectInforead them,AddPathToAnnotationhands the annotation a path built withCreatePath, andRemoveAnnotationObjectdeletes one - Building a stamp’s appearance no longer requires an external tool: create the path as usual, then give it to the annotation instead of to the page
- PDFium accepts page objects on ink and stamp subtypes only, so any other subtype is refused with a message naming the restriction rather than failing obscurely
Changed
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.64.0 consistently
Version 2.63.0
Added
TPdf.AddStandardFontTextdraws text with one of the 14 fonts every PDF reader is required to provide, embedding no font program at all — the resulting file is measurably smaller than the same text drawn withAddText, which embeds the system face it finds- The new
TPdfStandardFontenum names all 14 faces, so a caller cannot mistype a base font name; PDFium matches those names exactly and a typo would silently yield no font - PDF/A and PDF/X both require every font embedded, so output aimed at those profiles should keep using
AddText
Changed
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.63.0 consistently
Version 2.62.0
Added
TPdf.TextObjectGlyphOutlinereturns the outline of one glyph of a text object’s font as path segments, for converting text to vector art or inspecting a glyph a font substitution may have altered- The result reuses the existing
TPdfPathSegmentstype, so it reads exactly like the outline of a drawn path object - Coordinates are in the font’s own design space, normalised so one em is 1.0; the requested font size does not scale them, so a caller wanting device units multiplies by the point size itself
- An empty result means the font exposes no outline for that glyph, which is not an error; asking for a glyph of a non-text object raises
Changed
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.62.0 consistently
Version 2.61.0
Added
TPdf.InspectAvailabilityreports what PDFium can tell about a PDF without loading it as a document: whether the file is linearized (“web optimised”), whether a full parse would succeed, whether it carries form data, and which page a viewer would show first- The new
TPdfAvailability,TPdfLinearizationandTPdfFormAvailabilitytypes carry the answers; the stream is read but not retained, and its position is restored on return - This closes the last gap in the
FPDFAvail_*family, which was bound and loaded but had no caller anywhere in the library - Delphi, Lazarus, and C++Builder each cover the reported facts, the stream-position guarantee, and the nil-stream rejection
Changed
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.61.0 consistently
Version 2.60.0
Added
- Marked content (ISO 32000-1 §14.6) is now reachable from the high-level API:
PageObjectMarksreads every BDC tag and its property list off a page object,AddPageObjectMarkwrites one,RemovePageObjectMarkdeletes one, andPageObjectMarkedContentIDreports the MCID - New
TPdfContentMark,TPdfContentMarkParamandTPdfMarkParamKindtypes carry the tag name and its typed parameters (integer, float, string, blob), with the value kind resolved from PDFium rather than guessed from the getter that succeeds - Adding a mark rebuilds the page content stream, so the tag survives a save; this had to be explicit because
SaveAsdoes not regenerate content on its own - Delphi, Lazarus, and C++Builder each carry six cases, including one that inflates the saved content stream to confirm the BDC operator and its property list really landed
Changed
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.60.0 consistently
Version 2.59.0
Added
TPdfAnnotationgainsHasLinkUriandLinkUri, soCreateAnnotationcan now produce a working web link: the annotation is saved with a/URIaction pointing at the given address- Setting a link URI on any subtype other than
anLinkraises, since only a Link annotation carries an action dictionary - The field is write-only for now; reading a link target back goes through the
FPDFLink_*family, which needs the document handle - Delphi, Lazarus, and C++Builder all verify the saved bytes carry the
/URIaction and the target address
Changed
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.59.0 consistently
Version 2.58.12
Added
- PDF/X validation reports
pvxiTrimBoxWithArtBoxwhen a page carries/TrimBoxand/ArtBoxtogether; both state the finished page, so a RIP has no way to know which one is authoritative (ISO 15930) - PDF/X validation reports
pvxiPageBoxOutsideMediaBoxwhen/TrimBoxor/BleedBoxreaches outside/MediaBox, including a box with a negative origin; a box past the medium cannot be imaged - Rectangles are normalised before comparison, so either corner order is accepted, and a box touching the media edge exactly still validates
- Preflight reports classify both issues under structure and name the concrete remedy
- Delphi, Lazarus, and C++Builder all cover the two rejected cases and the conforming one
Changed
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.58.12 consistently
Version 2.58.11
Added
- PDF/UA validation reports
pvuaiTociWithoutTocwhen a document tags TOCI entries but never tags the TOC container they belong to, which leaves assistive technology announcing table of contents items with no table of contents (ISO 14289-1 §7.7) - Preflight reports classify the issue under structure and recommend wrapping the entries in a TOC element
- C++Builder gains its first PDF/UA test coverage alongside the Delphi and Lazarus cases
Changed
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.58.11 consistently
Version 2.58.10
Added
- PDF/A validation reports
pvaiSymbolicTrueTypeEncodingwhen a symbolic TrueType font carries an/Encodingentry; ISO 19005-1 §6.3.7 admits only the font’s built-in cmap, so an/Encodingwould contradict it - The symbolic flag is read from the
/FontDescriptor, whether it is written inline in the font dictionary or referenced indirectly; a non-symbolic font keeps its required/WinAnsiEncodingor/MacRomanEncodingwithout being flagged - Preflight reports classify the issue under content and recommend removing the entry
- Delphi and Lazarus cover the flagged case plus both accepted cases; C++Builder covers the flagged and the non-symbolic case
Changed
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.58.10 consistently
Version 2.58.9
Added
- PDF/A validation reports the container implementation limits of ISO 19005-1 Annex C:
pvaiNameOverLimitfor names longer than 127 bytes,pvaiArrayOverLimitbeyond 8191 elements,pvaiDictOverLimitbeyond 4095 entries, andpvaiNestingOverLimitbeyond 28 levels of nesting - The limits are inclusive, so a container sitting exactly on one still validates; tests pin both the rejected and the accepted side of each boundary
- Preflight reports classify the four issues under structure and name the concrete limit in each recommendation
- Delphi and Lazarus cover all four limits plus the boundary cases; C++Builder covers the array limit and the boundary
Changed
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.58.9 consistently
Version 2.58.8
Added
- PDF/R validation reports
pvriPageImageMismatchwhen the image count does not match the page count; ISO 23504-1 §6.5.1 makes every page exactly one strip image, so a page with none or with several is not conforming - Delphi, Lazarus, and C++Builder tests cover a page without an image, a page with two, and the conforming one-image case
Changed
- The PDF/R marker-injection tests now start from a source page that already carries a strip image, since marker injection adds metadata and cannot supply page content
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.58.8 consistently
Version 2.58.7
Added
- PDF/R validation reports
pvriFontForbiddenwhen a page names a font resource; a PDF/raster page carries the scanned image and nothing else (ISO 23504-1 §6.5.2) - PDF/R validation reports
pvriForbiddenImageFilterfor strip encodings outside the white list, so/LZWDecode,/RunLengthDecode,/ASCII85Decode,/ASCIIHexDecode,/JBIG2Decode, and/Cryptare rejected whilst/CCITTFaxDecode,/DCTDecode,/JPXDecode, and/FlateDecodepass (ISO 23504-1 §6.6) - Preflight reports classify both issues under content and recommend the concrete remedy
- Delphi, Lazarus, and C++Builder tests cover a font resource, a rejected filter, and a page using only white-listed encodings
Changed
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.58.7 consistently
Version 2.58.6
Added
- PDF/E validation reports
pveiFontNotEmbeddedwhen a document shows font usage but carries no embedded font program, so the requirement is checked on the DLL-free path as well as through PDFium - An engineering drawing has to render identically decades later, so ISO 24517-1 exempts none of the standard 14 fonts; the check applies to
/Type1,/TrueType,/Type0, and/MMType1alike - Preflight reports classify the new issue under content and recommend embedding every font program
- Delphi, Lazarus, and C++Builder tests cover a descriptor without a program, an embedded
/FontFile2, and a document that uses no font at all
Changed
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.58.6 consistently
Version 2.58.5
Added
InjectPdfEMarkersnow writes the output intent ISO 24517-1 §6.2 requires: an embedded sRGB ICC destination profile, a/GTS_PDFE1output intent naming it, and the catalogue/OutputIntentsarray, all as part of the same incremental update- The profile stream derives its
/Nfrom the ICC header rather than assuming three components, so a CMYK profile would be described correctly - PDF/E validation reports
pveiMissingOutputIntentandpveiMissingIccProfile, so a candidate without a stated colour condition is no longer accepted - Delphi, Lazarus, and C++Builder tests cover an accepted output intent, one without a destination profile, and a catalogue with no output intent at all
Changed
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.58.5 consistently
Version 2.58.4
Added
- PDF/X validation now reports
pvxiFontNotEmbeddedfrom a byte scan, so an unembedded font is caught on the DLL-free path instead of only through the PDFium-backed check - Unlike PDF/A, the standard 14 fonts are not exempt in PDF/X, so any font usage without an embedded font program is reported
- The check stays conservative: it fires only when the file shows font usage yet carries no
/FontFile,/FontFile2or/FontFile3at all, because counting descriptors against programs produces false positives on shared descriptors - Delphi, Lazarus, and C++Builder tests cover a descriptor without a program, an embedded program, and a document that uses no font
Changed
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.58.4 consistently
Version 2.58.3
Added
- PDF/X validation now reports
pvxiColorSpaceForbiddenwhen a PDF/X-1a candidate carries/DeviceRGB,/CalRGBor/Lab, which ISO 15930-1 §6.2 excludes from its CMYK exchange - The check is gated on PDF/X-1a alone, so PDF/X-3 and later keep permitting RGB and the device-independent spaces they pair with the output intent
- Only unambiguous colour space name tokens are tested; an
ICCBasedstream needs its/Nresolved and stays with the object-model layer - Delphi, Lazarus, and C++Builder tests cover a flagged RGB space, a flagged Lab space, an accepted CMYK and greyscale pair, and the permitted case on PDF/X-3
Changed
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.58.3 consistently
Version 2.58.2
Added
- PDF/X validation now reports
pvxiTransparencyForbiddenfor a transparency group or an active soft mask, which ISO 15930-1 §6.2 (PDF/X-1a) and ISO 15930-3 §6.3 (PDF/X-3) forbid - The check is gated on the detected conformance, so PDF/X-4 and PDF/X-6 keep permitting transparency and a file whose level could not be identified is never flagged for a rule that may not apply to it
- A soft mask explicitly switched off with
/SMask /Noneis not treated as transparency PdfHasActiveSMaskmoved fromFPdfPdfainto theFPdfPdfCommoninterface so every validator can share one soft-mask rule- Delphi, Lazarus, and C++Builder tests cover a flagged group on X-1a, a flagged soft mask on X-3, a disabled soft mask, and the permitted case on X-4
Changed
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.58.2 consistently
Version 2.58.1
Added
- PDF/X validation now checks the shape of the output intent required by ISO 15930-7 §6.2.4:
pvxiOutputIntentSchemereports a subtype that is present but is not/GTS_PDFX, andpvxiOutputIntentMissingIdentifierreports a missing/OutputConditionIdentifier - The subtype is matched as a whole name token, so a longer name such as
/GTS_PDFXVersionno longer passes, whilst a#xxescaped spelling of the same name still does - An output intent that carries no subtype at all is left alone, because its absence is already reported by the marker-level issues
- Preflight reports file both issues under the output intent category and suggest the fix
- Delphi, Lazarus, and C++Builder tests cover the accepted subtype, a PDF/A subtype, a longer name token, an absent subtype, and a missing condition identifier
Changed
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.58.1 consistently
Version 2.58.0
Changed
- All 35 callbacks PDFium invokes from its own C++ frames (form fill, XFA, JavaScript platform, progressive render pause, and stream read and write) now contain any Pascal exception and return the documented failure value instead of unwinding across the language boundary
- An event handler that raises, a failing allocation, or an unexpected error inside a callback can therefore no longer take the process down or leave PDFium in an undefined state
Fixed
- Registering a form timer leaked its entry when the underlying timer could not be created
Added
- Delphi, Lazarus, and C++Builder tests now cover saving into a destination stream that refuses writes and assert the document stays usable and savable afterwards
Version 2.57.8
Fixed
- Older Delphi releases (XE5 and earlier) stopped compiling the trial library with
E2003 Undeclared identifier: 'GetTickCount64'inFPdfPades.pas, because the Windows unit shipped with those compilers does not export the symbol - The same compilers also failed on
GetUserDefaultLocaleNameinPDFium.pasand on theTBytestoarray of Byteassignment inGetXfaFormPackets, so the XFA locale callback and packet snapshot now build on those compilers as well
Changed
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.57.8 consistently
Version 2.57.7
Changed
- Every save-side rewrite now truncates the destination stream before writing instead of only rewinding it, so a caller-supplied buffer that already held a longer document cannot keep a stale tail past the new
%%EOF - Delphi, Lazarus, and C++Builder tests now cover saving into a pre-filled stream
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.57.7 consistently
Version 2.57.6
Fixed
- The object scan that precedes encryption accepted digit runs of any length, so a long number anywhere in the file could wrap into a negative or bogus object number and add a phantom entry to the rebuilt cross-reference table
- Object numbers above the ISO 32000-1 Annex C limit and generations above 65535 are now rejected as object headers instead of being truncated
Added
- Delphi, Lazarus, and C++Builder tests now assert the exact in-use entry count of the rebuilt table
Changed
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.57.6 consistently
Version 2.57.5
Fixed
- Encrypting with
EncryptMetadata = Falsewrote/EncryptMetadata falseinto the Encrypt dictionary but still ciphered the document metadata stream, so a reader following that declaration found unreadable XMP - A
/Type /Metadatastream is now copied unchanged when metadata encryption is switched off, whilst every other stream is still encrypted
Added
AnsiNameTokenMatchesKeyis now part of theFPdfPdfCommoninterface for delimiter-aware name comparisons- Delphi, Lazarus, and C++Builder tests now cover both metadata encryption modes
Changed
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.57.5 consistently
Version 2.57.4
Fixed
- The cross-reference table rebuilt whilst encrypting omitted the mandatory object 0 free-list head required by ISO 32000-1 §7.5.4, so its first subsection started one object late
- Every rebuilt entry claimed generation 0; objects written with a higher generation now keep it, so the table agrees with the object headers it points at
Added
- Delphi, Lazarus, and C++Builder tests now cover the free-list head entry and generation preservation in the rebuilt table
Changed
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.57.4 consistently
Version 2.57.3
Fixed
- Encrypted output dropped the
streamkeyword of every stream object, so the saved file was no longer valid PDF syntax and strict readers reported the page content as neither a stream nor an array of streams - The
/Lengthrewrite matched/Lengthas a plain substring, so a stream dictionary carrying/Length1(any embedded font) had its key name corrupted whilst the real length stayed stale - A stream stating its length indirectly as
/Length N 0 Rhad the object number overwritten with the new length; the entry is now replaced by the direct encrypted length - A stream dictionary with no
/Lengthat all now receives one instead of leaving the reader without a length
Added
AnsiFindDictKeyTokenis now part of theFPdfPdfCommoninterface for top-level, delimiter-aware dictionary key lookups- Delphi, Lazarus, and C++Builder tests now cover
/Length1preservation, indirect length replacement, and stream-body size agreement
Changed
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.57.3 consistently
Version 2.57.2
Fixed
SaveAsEncryptedandSaveAsEncryptedToStreamwithRevision = erR6produced documents that rejected their own correct password in roughly one file out of four, because the ISO 32000-2 §7.6.4.3 algorithm 2.B round counter started one round too low and the extra round changed the/U,/O,/UE, and/OEvalues- R6 encrypted documents now reopen with the user or owner password in any conforming reader, and still reject a wrong password
Added
- Lazarus and C++Builder test suites gained encryption coverage that was previously Delphi-only: R6 key lengths, Encrypt dictionary fields, a repeated encrypt and reopen round trip, and wrong-password rejection
Changed
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.57.2 consistently
Version 2.57.1
Changed
- Typing in a form field, moving the caret, and toggling checkboxes now repaint only the area PDFium reports as damaged instead of the whole viewer
- Damage boxes are normalised for the upward page Y axis, widened by one pixel so anti-aliased widget borders stay clean, and clipped to the visible client area
- A damage box that is scrolled completely out of the viewport no longer schedules a repaint, whilst an inactive view or an unmapped page still falls back to a full repaint
- Delphi, Lazarus, and C++Builder tests now cover bounded form invalidation, flipped page boxes, off-screen boxes, and inactive-view safety
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.57.1 consistently
Version 2.57.0
Added
TPdfThumbnailView.Orientationsupports vertical and horizontal thumbnail layouts whilst preserving the existing vertical defaultFirstVisiblePageIndex,LastVisiblePageIndex, andEnsureCurrentPageVisibleexpose and control the thumbnail viewport with one-based page indexes
Changed
- Changing
CurrentPageIndexnow scrolls the selected thumbnail into view in either orientation - Delphi, Lazarus, and C++Builder tests now cover orientation defaults, switching, visible ranges, and selected-page visibility
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.57.0 consistently
Version 2.56.2
Changed
HighlightSearchText,AddSearchTextHighlight, andClearHighlightnow invalidate only the device rectangles for search ranges that were added or removed instead of repainting the full viewer- Replacing highlights with the same matches or appending duplicate matches no longer schedules an unnecessary repaint
- Delphi, Lazarus, and C++Builder tests now cover bounded invalidation, idempotent updates, clearing, and inactive-view safety
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.56.2 consistently
Version 2.56.1
Changed
TPdfThumbnailViewnow reuses rendered bitmaps for pages that remain visible across repaints and adjacent scroll positions- The cache retains only the current visible page range and releases entries precisely when pages leave that range, the assigned document changes, or thumbnail dimensions change
- Delphi, Lazarus, and C++Builder tests now cover cache reuse, viewport pruning, size invalidation, document replacement, and component destruction
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.56.1 consistently
Version 2.56.0
Added
TPdfView.CutSelectedFormTextToClipboardandTPdfView.PasteFormTextFromClipboardprovide Unicode clipboard editing for the focused editable form widget
Changed
- Focused form editors now handle the standard copy, cut, paste, and select-all keyboard shortcuts before forwarding text input to PDFium
- Cut and paste reject read-only fields and sessions without form-fill or modify permission, whilst cut copies successfully before removing selected text
- Delphi, Lazarus, and C++Builder tests now cover no-focus, round-trip shortcut, and read-only rejection behaviour
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.56.0 consistently
Version 2.55.0
Added
TPdfView.AddSearchTextHighlightappends unique matches for another search term to the current page overlay, allowing several queries to remain highlighted together
Changed
HighlightSearchTextremains the replacement entry point and now shares the additive scanner, whilst duplicate character ranges are ignored andClearHighlightremoves the complete accumulated set- Delphi, Lazarus, and C++Builder tests now cover distinct-query accumulation and duplicate-range suppression
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.55.0 consistently
Version 2.54.0
Added
TPdfnow exposes complete page-object snapshots, batched style updates, affine object transforms, path segments, clip paths, and Form XObject children- Character inspection now includes fill and stroke colours, font name and flags, loose glyph bounds, effective matrices, text-object handles, and character-to-text index conversion
- Annotations now round-trip border geometry and normal, rollover, and down appearance streams
- New raw and decoded thumbnail accessors, page-content and annotation transforms, and
RenderPageWithMatrixprovide direct advanced rendering and editing paths
Changed
- Page-object style changes can be committed as one batch so PDFium regenerates page content only once
- Matrix rendering uses the existing zero-copy bitmap path when the destination bitmap layout is compatible
Version 2.53.1
Fixed
- The built-in Chinese Copy menu caption now uses encoding-independent Unicode code points and displays correctly in Lazarus builds
- Older Delphi toolchains can compile
FPdfAsyncwhen theirWinapi.Windowsunit omits theGetTickCount64declaration
Version 2.53.0
Added
- New
Tests.ApiCoveragetest fixture covering public TPdf APIs that previously had zero end-to-end test coverage:GetPageBox/SetPageBox(MediaBox/CropBox read/write, missing-box errors, and save round-trip),FlattenPage/FlattenAllPages(return value and page-count preservation),GenerateFormAppearances(no-op on non-form documents),SaveAsEncrypted/SaveAsEncryptedToStream(AES-256 with password round-trip — verifies that the encrypted file refuses to open without the password and opens with it),DeletePageboundary validation (page 0 and out-of-range raiseEPdfError), and theHasContents/HasAuthorannotation sentinels introduced in v2.38.0 (verifyingDefault(TPdfAnnotation)leaves themFalse)
Version 2.52.0
Added
TPdfView.CopySelectedFormTextToClipboardcopies the text selection inside the focused AcroForm widget to the Windows clipboard asCF_UNICODETEXT
Changed
- Page-text and focused-form copy operations now share the same defensive Unicode clipboard writer and leave the clipboard unchanged when their selection is empty
- Delphi, Lazarus, and C++Builder tests now cover inactive or unfocused form-copy calls and a focused form selection round trip through the Windows clipboard
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.52.0 consistently
Version 2.51.0
Added
TPdfView.SelectLineAtselects the visual text line containing a one-based page and zero-based character index without requiring mouse input
Changed
- Programmatic line selection, triple-click selection, and
Shift+HomeorShift+Endnow share one character-box line-boundary model - Delphi, Lazarus, and C++Builder tests now cover stable line selection and invalid page or character indexes
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.51.0 consistently
Version 2.50.0
Added
TPdf.LoadDocumentnow accepts a zero-basedIndexandCountwindow into aTBytesbuffer, allowing embedded PDFs to load without allocating a temporary byte-array slice
Changed
- Byte-range loading rejects negative or out-of-bounds windows before changing document state and preserves the existing buffered and borrowed-buffer lifetime options
- Delphi, Lazarus, and C++Builder tests now cover embedded PDF windows and invalid byte-range arguments
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.50.0 consistently
Version 2.49.1
Added
TPdfView.FitModenow supportspfmFitHeightfor fitting the current page to the visible viewport height whilst allowing horizontal scrolling when needed
Fixed
- Fit modes now converge after scrollbar visibility changes the client area, keeping fit-page, fit-width, and fit-height results consistent across VCL and LCL
- Delphi, Lazarus, and C++Builder viewer tests now cover
pfmFitHeightselection and enum round trips TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.49.1 consistently
Version 2.49.0
Added
- The public PDFium binding surface now covers all 470 exported functions in the reviewed headers, including attachment description access through
FPDFAttachment_SetDescriptionandFPDFAttachment_GetDescription TPdfnow exposes attachment descriptions, cross-reference validity, trailer end offsets, security-handler revision, 64-bit memory loading, signature byte ranges, web-link text ranges, and expanded image data, filter, metadata, and ICC profile snapshots- Form helpers now support native field focus, focused choice-option queries and updates, mouse-wheel forwarding, writable ink strokes, and form overlays after progressive rendering
Changed
FormFieldCount, form-field indexes, and tab order now describe only widget annotations instead of including unrelated page annotations- Headless
TPdfpages now enter and leave the form-fill page lifecycle so native focus and focused-field APIs work without aTPdfView - Attachment description exports are capability-gated so applications using an older PDFium build can still load the library and detect the unavailable feature
Fixed
- Progressive page rendering now paints form controls when form filling is enabled
- Delphi, Lazarus, and C++Builder tests now cover the new document diagnostics, attachment descriptions, ink paths, form behaviour, signature byte ranges, web-link ranges, and image metadata
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.49.0 consistently
Version 2.48.0
Added
TPdfMatrixnow exposes factories, cloning and assignment, finite-state and invertibility diagnostics, tolerance-based comparison, translation access, determinant reporting, and affine decomposition- Prepend composition, pivot-aware rotation, scaling, skewing and flips, plus stretch, contain and cover rectangle mapping support local-space and fitted-layout workflows without manual coefficient arithmetic
- Non-mutating inverse access, inverse point mapping, vector and quadrilateral transforms, dynamic point and rectangle batches, in-place variants, and one-pass transformed bounds expand the reusable geometry surface
Changed
- Translation, scaling and axis flips now update only the affected coefficients instead of routing through general affine multiplication
- Rectangle transformation normalises its input once, uses a specialised exact axis-aligned path where possible, and computes general rotated bounds without temporary point records
- Point and rectangle batch transforms allocate one result array or reuse caller storage, whilst transformed point bounds are accumulated in one pass without an intermediate array
Fixed
- Rectangle mapping rejects zero-sized, non-finite, and
Single-overflowing results before publishing an unusable matrix - Delphi, Lazarus, and C++Builder tests now verify composition order, pivot invariants, inverse round trips, fitted rectangles, decomposition, and bulk geometry behaviour
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.48.0 consistently
Version 2.47.0
Added
FPdfAsyncnow provides structured cancellation reasons and messages, removable callback registrations, timeout-backed sources, cancellation waiting, and atomic try-cancel operations through extended interfaces that preserve the original APITPdfFuture<T>.RunExadds configurable reply dispatch and worker priority whilst result envelopes expose operation IDs, value validity, exception class names, completion timing, and reusable completion helpersTPdfAsyncExecutoradds a reusable fixed worker pool with four FIFO priority lanes, optional bounded-queue backpressure, cancelable task handles, timeout-aware waiting, task snapshots, aggregate statistics, and graceful shutdown
Changed
- Repeated asynchronous jobs can reuse worker threads and O(1) queue operations instead of creating a thread for every task, whilst synchronised completion remains available for UI hosts
- Executor and future failures preserve exception class and message diagnostics, cancellation keeps its original reason, and callback exceptions remain isolated from worker lifecycle and shutdown
- Delphi, Lazarus, and C++Builder tests now cover the extended cancellation, future metadata, task control, backpressure, priority ordering, statistics, failure, and shutdown surface
Fixed
- Concurrent cancellation owners now receive a deterministic first-writer result instead of relying on a separate observation and cancel sequence
- Main-thread idle waiting processes synchronised task replies, preventing a completed worker from leaving the executor permanently non-idle during coordinated shutdown
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.47.0 consistently
Version 2.46.0
Added
FPdfAsn1now exposes identifier classes, 64-bit high-tag-number encoding and decoding, parsed TLV records, zero-copy child reader windows, typed primitive decoders, and content or encoded-value slices- DER writers now support the full unsigned 64-bit INTEGER range, validated arbitrary INTEGER content, ENUMERATED, automatic UTCTime or GeneralizedTime selection, application and private tags, multi-value SEQUENCE, and canonically sorted SET OF output
ValidateDerreturns offset-aware validation errors whilst enforcing configurable nesting, node-count, content-length, error-count, root, and optional SET ordering limits
Changed
- DER concatenation and multi-value composition use one output allocation, writer buffers expose reserve, count, capacity, and ownership-transfer operations, and SET OF sorting now uses
O(n log n)merge sorting - BOOLEAN, INTEGER, BIT STRING, OBJECT IDENTIFIER, NULL, UTF8String, PrintableString, IA5String, UTCTime, and GeneralizedTime values receive canonical form checks during encoding, typed decoding, or validation
- The Lazarus runtime package now exports
FPdfAsn1, and Delphi, Lazarus, and C++Builder test suites exercise the same public DER surface
Fixed
- Context-specific tag numbers greater than 30 are no longer truncated into the low five identifier bits
- Malformed high-tag identifiers, non-minimal definite lengths, invalid UTF-8, non-zero BIT STRING padding, invalid time fields, trailing roots, and resource-limit violations are rejected deterministically
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.46.0 consistently
Version 2.45.0
Added
FPdfPreflightReportnow assigns Info, Warning, or Error severity to every issue and exposes per-standard and report-level severity, status, category, issue-code, lookup, search, flattening, and filtering APIs- Preflight reports now export SARIF 2.1.0, JUnit XML, NDJSON, and native XML through matching
To*andSave*ToFilemethods for CI, automation, and streaming pipelines - Stable SHA-256 report fingerprints identify equivalent validation results independently of source paths and generation timestamps
Changed
- JSON, CSV, text, Markdown, and HTML reports now include severity and expanded status summaries; HTML adds accessible table captions and a status summary
- Issue and standard collection construction uses geometric capacity growth, query results are pre-sized, JSON escaping writes into one bounded output buffer, and all report files use one direct UTF-8 writer
- Issue-category summaries use deterministic ordering, timestamps include milliseconds, JSON carries
formatVersion: 2, and CSV cells neutralise spreadsheet formulae
Fixed
- JSON export now preserves valid supplementary Unicode pairs and replaces isolated UTF-16 surrogate code units instead of emitting malformed scalar data
- HTML export now escapes apostrophes, and filtered report views own independent issue arrays instead of sharing mutable result storage
TPdf.AboutInfo, Lazarus package metadata, and installer metadata now report Version 2.45.0 consistently
Version 2.44.0
Added
- Bookmarks and destinations expose open state, descendant counts, action targets, destination view modes, and up to four view parameters
Metadata,GrantedPermissions,UserGrantedPermissions,HasPermission, andUserHasPermissionprovide typed document-inspection snapshots and permission queriesExtractThumbnail(PageNumber)renders a requested page without changing the active page, and RFC 3161 timestamp results expose policy, generation time, and nonce details
Changed
- Bookmark, JavaScript, metadata, destination, and thumbnail paths use validated two-pass buffers, geometric collection growth, and cycle-safe traversal
- Save post-processing resolves the active catalogue, page tree, and open action through the current xref revision, caches decoded object streams, and scans PDF dictionaries with lexical boundaries
- Shared PDF parsing now enforces exact object headers, generations, dictionary keys, stream lengths, predictor geometry, integer ranges, and comment, literal-string, and hexadecimal-string boundaries
- RFC 3161 response validation now binds both nonce and SHA-256
messageImprint, requires a structurally valid signer, and applies strict DER length, OID, INTEGER, and GeneralizedTime rules
Fixed
- Incremental documents no longer select inactive duplicate catalogues or malformed reference suffixes when adding a default open action
- Timestamp tokens with long-form DER lengths retain the complete encoded token, whilst malformed CMS optional-field ordering and empty signer sets are rejected
- Clean Delphi builds now write PAdES nonce seed fields through aligned-safe byte copies and pass XFA response bytes with the exact native pointer type
TPdf.AboutInfo, Lazarus package metadata and installer metadata now all report Version 2.44.0 consistently
Version 2.43.0
Added
- XFDF field and annotation records now expose presence flags that distinguish an omitted XML value from an explicitly empty value
Changed
- XFDF import accepts namespace-prefixed elements and attributes, mixed text and CDATA content, entity references, and whitespace-significant values while rejecting invalid Unicode scalar references
- XFDF import and export use indexed field matching and bounded geometric buffers, improving throughput and peak allocation behaviour for deeply nested forms, large annotation collections, ink lists, vertices, and markup quadrilaterals
- PDF/A and PDF/UA validation use bounded growth for large page, stream, structure-name, and RoleMap collections; PDF/UA RoleMap resolution now follows direct arrays and exact-generation indirect name or array objects
Fixed
- XFDF round-trips now preserve deeply nested field paths, explicit empty field values, explicit empty annotation contents, and the distinction between absent and empty contents
- Invalid memory-buffer loads and out-of-range page assignments are rejected without leaving partial document or page state, and a failed native page reload preserves the previously active page
- Large marked-content identifiers and signature metadata buffers are bounded and validated before allocation or native access
Version 2.42.0
Added
TPdfMatrixnow providesInvert,TryInvert,TransformPoint, andTransformRectfor coordinate mapping, hit testing, normalised bounds, and explicit singular-matrix handlingTPdf.WrapTextgained aBreakLongWordsoverload that splits CJK and other text without spaces while keeping valid UTF-16 surrogate pairs togetherTPdfAnnotation.AttachmentPointSetsexposes every quadrilateral in multi-line markup annotations while the existingAttachmentPointsfield remains an alias for the first set
Changed
- Text extraction, readable-content construction, word lookup, and spoken-text offset mapping now use bounded allocation and binary lookup paths, reducing repeated allocations and linear scans on large pages
- ASN.1 serialisation and encrypted PDF generation now use geometric output buffers; encrypted-object ordering uses
O(n log n)sorting and xref rows are written directly to the final buffer WrapTextpreserves CR, LF, and CRLF line boundaries and reuses one native measurement object for the whole operation- XFDF import and export preserve every markup quadrilateral; import also applies RGB/interior colours and parses decimal coordinates independently of the process locale
Fixed
- Legacy callers can again update annotation content and author by assigning non-empty strings without setting the newer
HasContentsandHasAuthorsentinels - Explicitly empty annotation strings now use a valid zero-terminated native buffer, so clearing
/Contents,/T, and other optional text keys no longer passes a nil pointer to PDFium
Version 2.41.0
Changed
- Preflight report
SaveJsonToFile,SaveMarkdownToFileandSaveTextToFilenow write UTF-8 on Delphi (matching the existingSaveHtmlToFile), instead of the system ANSI code page. Non-ASCII characters in file paths, recommendations and scope notes were garbled on Delphi when saved through these methods SaveCsvToFilenow writes UTF-8 with a BOM prefix, so Excel for Windows auto-detects the encoding. Without the BOM, Excel treats a UTF-8 CSV as code-page 1252 and mangles any non-ASCII characters
Fixed
- The
ExtractImagesdemo leaked the cachedTBitmapobjects inFExtractedImageswhen the form was closed without explicitly clearing them first. The form now overridesDestroyto callClearExtractedImages, releasing every cached bitmap
Version 2.40.0
Changed
TPdf.RenderPage(HDC, ...)now masks FPU/SSE exceptions around theFPDF_RenderPagecall, matchingTPdfView.RenderPage(HDC)(fixed in v2.25.0) and every bitmap-returning rendering entry point. TheTPdf-level direct-to-DC overload previously left FPU exceptions unmasked on pre-D12 compilers
Fixed
ColorToARGBnow returns a fully transparent pixel (alpha 0) forclNoneandclDefaultinstead of treating the sentinel value as a literal RGB colour. The previous behaviour produced a dark, nearly opaque fill when a caller passedclNoneexpecting “no colour”
Version 2.39.1
Fixed
- Explicit PDF 1.3 saves now remove
/SMask /None,/AIS false, and/TK trueentries that only repeat the initial graphics state while continuing to reject non-default transparency state
Version 2.39.0
Changed
CreatePDFandImageToPDFnow use confirmed save destinations and report success only whenSaveAscompletes successfullyBatchExport,PDFtoJpg, andSplitPDFnow allocate unique output directories so repeated runs and same-named inputs preserve earlier resultsSplitViewnow wraps search once without leaving hidden page state behind after cancellation or no match, and aborts incomplete print jobs instead of submitting partial output
Fixed
MergePDFnow rejects malformed page-range tokens and source-overwriting output paths, counts the pages actually imported, and refuses to save an empty result- The Delphi and C++Builder
Attachmentdemos now commit same-path saves through rollback-safe file replacement so a failed rename cannot remove the original PDF
Version 2.38.0
Changed
SetAnnotationDatanow guards the/Contentsand/Authorwrites behindHasContents/HasAuthorsentinels onTPdfAnnotation, matching the existingHasName/HasSubject/HasIconpattern. Previously these two fields were written unconditionally, so assigning aDefault(TPdfAnnotation)record to update only colour or flags silently overwrote the annotation's existing content and author with empty strings.GetPageAnnotationnow sets the sentinels so a read-modify-write cycle preserves the original values
Fixed
GenerateFormAppearancesnow reads the checkbox/radio button value viaFPDFAnnot_GetFormFieldValue(which walks to the parent field dictionary per ISO 32000-1 §12.7.5) instead ofFPDFAnnot_GetStringValue(Annot, 'V', ...)(which reads the widget dictionary). The widget usually carries no/V, so/ASwas never synced to the checked state and a flattened checkbox/radio rendered as unchecked
Version 2.37.0
Changed
ParseTsaUrlnow clamps the port to1..65535after parsing; an oversized port value would otherwise wrap viaDWORDtruncation and could land on a valid port- XFDF
ParseFieldnow accepts a depth parameter (default 0, capped at 64) and returns an empty field at the limit, so a maliciously nested 100 000-deep<field>chain can no longer overflow the stack
Fixed
- TSA HTTP request now guards against an empty request body before passing
@ReqDer[0]toWinHttpSendRequest. A zero-length dynamic array dereference would access an ungrounded pointer;BuildTimeStampReqalways returns a non-empty SEQUENCE, but the call site now defends the contract
Notes
- The
FPdfTsaWinheader comment about HTTPS revocation checking has been corrected: WinHttp validates the server certificate chain by default but does not perform CRL/OCSP revocation checking unless explicitly enabled viaWinHttpSetOption. The previous wording claimed revocation checking “comes for free”, which was misleading
Version 2.36.0
Changed
- TSA HTTP requests now send an explicit
Content-Lengthheader in addition to theContent-TypeandAcceptheaders. WinHttp synthesises it from the total length, but some RFC 3161 proxies require an explicit header and reject the request with411 Length Requiredwithout it - XFDF export now drops C0 control characters (other than TAB/LF/CR which are already escaped) instead of emitting an invalid backslash-hex sequence. The previous
\-01Fescape is not valid XML (backslash has no special meaning in XML), so any conforming reader would have rejected the document as malformed InjectAssociatedFilesnow writes/Subtypeon the EmbeddedFile stream dictionary when the caller suppliesTAssociateFile.MIMEType. The field was declared and documented but the injector previously hard-coded/Type /EmbeddedFileand ignored it (ISO 32000-2 §7.11.4 allows/Subtypeon the stream)
Fixed
- XFDF import skipped the first content byte after a UTF-8 BOM and the first byte when no BOM was present:
BytesToAnsi(Bytes, 4, ...)(BOM) andBytesToAnsi(Bytes, 1, ...)(no BOM) used off-by-one start offsets becauseBytesToAnsitakes a 0-based array index. The calls now use3and0 ExtractSignatureValuehad two dangling-ifindentation bugs whereR.Position:= CNran unconditionally for the optionalcertificates [0]andsignedAttrs [0]branches. The branches are now wrapped inbegin/endso the position is advanced only when the optional TLV was actually read (same class of bug fixed inAddSignatureTimestampToCmsin v2.22.0)
Version 2.35.0
Changed
TFPDFAvail_IsDocAvail,TFPDFAvail_IsPageAvailandTFPDFAvail_IsFormAvailnow takehints: PFX_DOWNLOADHINTSinstead ofvar hints: FX_DOWNLOADHINTS, so the documentednullptrquery-only mode (check current availability without requesting more data) is reachable from Delphi. The PDFium header explicitly allowshintsto be null; the previousvarbinding made that impossibleTFPDF_SetSystemFontInfonow takespFontInfo: PFPDF_SYSFONTINFOinstead ofvar pFontInfo: FPDF_SYSFONTINFO, so callers can passnilto tell PDFium to stop using a previously registered system font interface (the documented disable path)TPdfThumbnailView.Paintnow computesVisibleRowswith the same formula asUpdateScrollBarRange(ClientHeight div RowHeight), so the number of rows painted matches the scrollbar page size. The previous paint-only formula ((ClientHeight - FMarginY) div RowHeight + 1) could differ by one row at edge heights, wasting a render on an off-page row or missing the last visible row
Version 2.34.0
Added
TPdf.SaveAsEncrypted/SaveAsEncryptedToStream— high-level API that saves the document then encrypts it with PDF 2.0 AES-256-CBC (V=5/R=5/R=6). Takes aTPdfEncryptOptionswith user/owner password, permissions and revision; delegates toEncryptDocumentBytes- StrF literal-string encryption:
EncryptDocumentBytesnow encrypts(...)literal strings in non-stream objects (Info dictionary, etc.) to AES-256-CBC hex strings, matching the stream encryption format (16-byte IV + PKCS7 ciphertext). Hex strings<...>are left untouched
Version 2.33.0
Added
- Full-document AES-256-CBC encryption injector in
FPdfEncrypt.pas.EncryptDocumentBytestakes a plaintext PDF and a password, encrypts every indirect stream object (16-byte IV + AES-256-CBC PKCS7 under the file key), patches/Length, appends the/Encryptdictionary object, and rebuilds a complete classic cross-reference table + trailer with/Encryptand/ID. Completes the PDF 2.0 encryption stack (AES block + GCM + SHA-512/384 + R6 key derivation + dictionary + document sweep) EncryptStreamPayloadhelper — the PDF 2.0 AES-256 stream format (IV prepended to AES-CBC-PKCS7 ciphertext), reusable by callers that manage their own object layout
Version 2.32.0
Added
- The new
FPdfSha512.pasunit provides SHA-512 / SHA-384 hashing (FIPS 180-4), written entirely in Pascal and checked against the FIPS-180-4 B.1 known-answer test. PDF 2.0 R6 password hashing requires these functions: each round uses the mod-3 result of a 128-bit value to choose SHA-256/384/512 - The new
FPdfEncrypt.pasunit derives PDF 2.0 encryption keys and builds the Encrypt dictionary. It implements ISO 32000-2 §7.6.4.3 algorithm 2.B (the R6 hashing loop, combining AES-128-CBC with iterative SHA-256/384/512 selection), derives the 32-byte file encryption key and the/O,/U,/OE,/UEand/Permsentries, and constructs the V=5/R=5/R=6 Encrypt dictionary using/CFM /AESV3. Byte buffers follow the TBytes model
Version 2.31.0
Added
- The new
FPdfAes.pasunit supplies AES block cipher primitives (FIPS 197): AES-128 and AES-256 implemented entirely in Pascal, with CBC mode helpers and a CSPRNG backend. The FIPS-197 Appendix C.2 / C.3 known-answer tests verify the implementation. These primitives form the cryptographic foundation of the PDF 2.0 encryption stack - AES-GCM authenticated encryption (NIST SP 800-38D) in the new
FPdfAesGcm.pasunit. Implements GHASH (GF(2^128) multiplication), GCTR and the GCM AEAD construction on top of the AES block primitives. NIST GCM test cases 1 and 3 (AES-128) match the authoritative ciphertext and tag exactly; test case 13 (AES-256) round-trips. GCM is the ISO/TS 32003 mode for PDF 2.0 - PDF/A Level A ParentTree and ClassMap integrity validation (ISO 19005-1 §6.8.3).
pvaiParentTreeMissingflags a StructTreeRoot without the /ParentTree number tree;pvaiClassMapUnresolvedflags a /C class reference without a /ClassMap
Version 2.30.0
Added
- Associate Files injection (
InjectAssociateFiles/TPdf.SaveAsWithAssociateFiles, ISO 32000-2 §7.11.4). The newFPdfAssocFilesunit attaches/AFarrays of filespec references to the catalogue or any page dictionary, covering all eight ISO 32000-2 Table 45/AFRelationshipvalues. Reuses the incremental-update pattern proven byInjectPadesDssMarkers - PDF/X-6 (ISO 15930-9:2020) support.
TPdfXConformanceaddspxc6; the injector and validator thread it throughpdfxid:GTS_PDFXVersionidentification. PDF/X-6 is the PDF 2.0-based successor to PDF/X-4 for complete exchange - PDF/A forbids the
/Threadaction (ISO 19005-1 §6.6.1 whitelist gap). The forbidden-action list now covers Thread alongside Launch, ResetForm, ImportData, SetOCGState, SetState, GoTo3DView, Rendition and Hide
Fixed
- PDF/A-4e validation path now honours the same tagged-structure, MarkInfo and word-break checks as Level A. The v2.29.0 save-side downgrade covered
PdfAIsLevelE, but threeValidatePdfACompliancegates checkedPdfAIsLevelAalone, so a PDF/A-4e document lacking tagged structure passed silently - OCG
/BaseStatetest drift: the v2.28.0 PostProcess pass correctly widened acceptance to/ONor/OFF(ISO 32000-1 Table 8.70), but the Delphi and C++ tests still expected/OFFto be rejected. Tests now use a truly invalid value (/Undefined) and a new positive test locks the/OFFacceptance - Geospatial
/Subtype /GEOover-matching:ContainsDictionarySubtype('GEO')matched any dictionary carrying the token, including unrelated ones like a stray/ViewerPreferences << /Subtype /GEO >>. The newContainsMeasureDictionarySubtypeadditionally requires/Type /Measureor a Measure-exclusive sibling key, so non-Measure dictionaries no longer trip the ADBE ExtensionLevel 3 requirement
Version 2.29.0
Added
- PDF/A-4 (ISO 19005-4:2020) support across the validator, XMP injector and Pdfium object-model layer.
TPdfAConformanceaddspac4base,pac4fandpac4e; the base level is PDF 2.0 (ISO 32000-2) and replaces the legacy A/B/U levels with base + F (form) + E (accessibility).ValidatePdfAreads apdfaid:part=4XMP packet (base omits the conformance element),SaveAsPdfAemits it, andSignPadesWithPdfAacceptspac4baseas a long-term archive container FPDFBookmark_GetColorbinding — the last unbound PDFium public export (469/469).TBookmarkgainsHasColorandColorfields populated from the bookmark/Carray (ISO 32000-1 §12.3.3). The binding uses tolerant loading so older DLLs that predate the export keep working- PDF/E-1 (ISO 24517-1 §5) header version check
pveiBadPdfVersion— PDF/E-1 is based on PDF 1.6 and a non-1.6 header is now flagged - PDF/R-1 (ISO 23504-1)
pvriEncryptVersionMismatch— encryption is permitted only on a%PDF-2.0header; a 1.x body carrying/Encryptis now flagged (previously a no-op statement) - PDF/R-1
pvriBadMediaBox— each pageMediaBoxshall be[0 0 w h];PdfRHasNonZeroMediaBoxOriginis a locale-independent ASCII scanner that skips indirect-reference MediaBoxes - PDF/A Level A
pvaiRoleMapUnresolved(ISO 19005-1 §6.8.3.4) — a present-but-incomplete RoleMap that leaves custom/Sstructure types unmapped is now flagged, closing the gap left by the existing presence-onlypvaiRoleMapMissingcheck
Fixed
PdfVersionToName(20)returned"1.0"instead of"2.0", corrupting the catalogue/Versionentry and validator messages for every PDF 2.0 save. The formatter now splits major.minor explicitly for version codes>= 20FPdfAsn1.pasnegative-INTEGER encoder failed to compile under Delphi 12 (E2015onInteger(-(V<0))), blocking the whole test project. Fixed by usingInt64(-Ord(V<0))for the sign-extension mask- PDF/A forbidden-annotation list now includes
/RichMediaacross all parts (previously missed; ISO 32000-1 §12.5.6.35 forbids it in PDF/A)
Version 2.28.0
Added
TPdfVersionnow includespv20for PDF 2.0 (ISO 32000-2).DecodePdfVersion(20)returnspv20instead ofpvUnknown, andEncodePdfVersion(pv20)emits 20 so a PDF 2.0 document's version is no longer lost on read-back and can be written explicitly
Changed
DecodeDatenow parses PDF date strings with optional trailing fields per PDF Reference 3.8.3, instead of requiring the full 23-characterD:YYYYMMDDHHmmSSOHH'mm'form. Conformant truncated dates such asD:20260712,D:20260712153000, andD:20260712153000Zare now accepted; previously they were rejected by a hardLength=23gate. Timezone hour offset is now validated against the real-world UTC-12..UTC+14 range instead of> 23FPdfMeasure.MeasureTextnow encodes the font name as FPCAnsiString/ DelphiUTF8Encode, matching the library's other FPDF_BYTESTRING call sites, instead of a bareAnsiStringcast that garbled non-ASCII family names through the current code page
Fixed
TDerWriter.Integernegative-value path crashed or produced malformed DER: the loopwhile V <> -1 do V := V shr 8leftInnerempty forValue = -1(range error on the subsequentInner[Length(Inner)-1]) and over-produced bytes for other negatives. The encoder now extracts two's-complement bytes with sign-extending shifts and stops correctly when the remainder is pure sign extension. CMS/PAdES INTEGER fields are positive, so this only affects callers passing negative values, but the path is now correctTPdf.GetCharacterOriginandTPdfView.GetCharacterOriginignored theFPDFText_GetCharOriginreturn value and returned an uninitialised point on failure. The result is now zero-initialised and a failed read returns the origin (matchingGetCharacterRectangle's contract)
Version 2.27.0
Changed
- Searches are now wrapped once across the Delphi, C++Builder and Lazarus
PDFViewerandMultiPageViewerdemos,EnterandF3move to the next result, the search context is reset when match options change, andEscis reserved for cancelling an active search or print job - Viewer printing now follows the current rotation and selects portrait or landscape output accordingly, so toolbar rotation is mirrored in the printed pages
- All three
ViewerInteractionLabdemos now honourCtrl+A,Ctrl+C,Enter,F3andEscshortcuts without intercepting native edit-control selection and copy commands
Fixed
- Print cancellation in the C++Builder and Lazarus viewers now aborts the printer job rather than submitting the pages rendered before cancellation
- The Delphi
MultiPageViewerCancel button is now wired up to its handler, whilst C++Builder and LazarusMultiPageViewersearch fields retain native arrow, Home and End key editing
Version 2.26.0
Changed
TPdf.GetObjectBitmap,TPdf.GetBitmap,TPdf.GetThumbnailand theirTPdfViewcounterparts now take the render lock around theFPDFImageObj_GetBitmap/FPDFPage_GetThumbnailAsBitmapcall, matchingRenderPageandRenderTile; these PDFium rendering-side calls previously ran without the lock and could race with a concurrentUnloadPage/ReloadPageon the same documentTPdf.RenderPageThumbnailnow honours the page/Rotateentry: the fit is recalculated from the rotated dimensions for/Rotate 90or270pages so that the thumbnail aspect ratio matches what the viewer displays, rather than using the intrinsic (unrotated) dimensions returned byFPDF_GetPageSizeByIndex
Fixed
TPdfView.GetCharacterRectangledisregarded the return value ofFPDFText_GetCharBox, handing an uninitialisedTPdfRectangletoPageToDevicewhenever PDFium reported failure; the rectangle is now zero-initialised, and a failedGetCharBoxreturnsRect(0,0,0,0)- The URI path and file path buffer length in
GetLinkAnnotationswas out by one: the secondFPDFAction_GetURIPath/GetFilePathcall passedsize(which includes the trailing NUL) as the buffer length for a buffer allocated assize-1; the call now passessize-1so it cannot write beyond the allocation on a PDFium build that does not self-clamp
Version 2.25.0
Changed
TPdf.AddText,SetText,AddPathandInsertFormObjectFromXObjectnow invalidate the cached text page and link annotations before the page content is regenerated, matchingSetTextPositionsandRemoveObject; previously aGetText/GetWebLinks/FindFirstcall after editing the page returned stale text and link data captured before the edit, and the retainedFPDF_TEXTPAGEhandle was used after content regeneration with undefined behaviourTPdfView.RenderPage(HDC, ...)now takes the render lock and masks FPU/SSE exceptions around theFPDF_RenderPagecall, matching every other rendering entry point; the previous direct-to-DC overload could race with a concurrentUnloadPage/ReloadPageon the same document and left FPU exceptions unmasked on pre-D12 compilers- The Delphi
PrintPDFdemo now callsPrinter.Aborton cancellation rather than letting thefinallyblock reachPrinter.EndDoc, which submitted the pages rendered before the cancel; the Lazarus demo already behaved correctly
Fixed
TPdf.GetCharacter,TPdf.GetCharcodeand theirTPdfViewcounterparts truncated astral-plane code points (emoji, CJK Extension B) returned byFPDFText_GetUnicodeto the low 16 bits viaWideChar(), producing a lone surrogate that corrupted downstream text processing; characters above U+FFFF now return U+FFFD (the replacement character), andGetTextretrieves the full UTF-16 encoding of astral charactersGetWebLinkscalledSetLength(Rectangles, FPDFLink_CountRects(...))without guarding against a-1return, which raised anEOutOfMemoryon a malformed page; a negative count is now clamped to zeroTPdf.Destroynow scrubs thePasswordstring from memory (viaUniqueString+FillChar) before the reference-counted buffer is released, so the password is not left readable on the heap once the component has been destroyed
Version 2.24.0
Added
TPdf.DeletePage,GetAttachment,GetAttachmentName,GetAttachmentType,SetAttachmentandDeleteAttachmentnow validate the page and attachment index and raiseEPdfErrorfor an out-of-range value, matching the existing behaviour of the annotation accessors; previously an out-of-range index was passed straight to PDFium and produced a silent no-op or undefined behaviour
Fixed
- Page-object handle leaks on failure in
TPdf.AddText,AddBitmapandAddJpegImage: whenFPDFText_SetText,FPDFImageObj_SetBitmap,FPDFImageObj_SetMatrixorFPDFImageObj_LoadJpegFileInlineraised after the object was created but beforeFPDFPage_InsertObjecthanded it over to the page, the nativeFPDF_PAGEOBJECThandle leaked; each path now destroys the object as the exception propagates, before re-raising TPdf.UnloadPagediscarded an in-progressFPathhandle (set byCreatePathbut not yet consumed byAddPath) by setting it tonilwithout callingFPDFPageObj_Destroy; the handle is now destroyed, so a path that is created and then abandoned (or interrupted by a page switch) no longer leaksTPdf.InsertFormObjectFromXObjectomitted theUpdatePage(FPDFPage_GenerateContent) call that every sibling insertion (AddText/AddPath/AddBitmap/AddJpegImage/SetText/RemoveObject) performs, so a Form XObject inserted this way vanished on the next reload or save;UpdatePageis now called after the insertion
Version 2.23.0
Fixed
- Optional-content
/BaseStatevalidation now accepts/OFFalongside/ON(ISO 32000-1 Table 8.70 permits both); the previous check rejected legitimate/OCProperties /D /BaseState /OFFconfigurations with a “malformed optional content” error even though the file was conformant - Optional-content
/Intentvalidation now accepts/Designand name arrays such as[/View /Design], and not only the literal/View; ISO 32000-1 Table 8.70 defines/Intentas a name or an array of names drawn from/Viewand/Design, and the previous single-value check over-rejected standard authoring output - Geospatial Measure dictionary detection for the PDF 1.7
/Extensions /ADBEExtensionLevel 3 gate no longer requires/Type /Measure, which ISO 32000-1 Table 254 marks as optional; GeoPDF producers that omit/Type(PDFBox, QGIS, FME) previously bypassed the gate and silently produced non-conformant PDF 1.7 output, and the detector now matches/Subtype /GEOon its own
Version 2.22.0
Changed
TPdfViewfit-zoom calculations (GetPageZoom,GetPageWidthZoomandGetPageHeightZoom) now useClientWidth/ClientHeightrather than the windowWidth/Height, sopfmFitPage/pfmFitWidth/pfmFitHeightsize the page to the visible viewport instead of the outer frame including scrollbars and borders, removing the redundant scrollbar that appeared when the fitted page was slightly larger than the client areaAddSignatureTimestampToCmsnow raises an explicitExceptionnaming the unreadable CMS SignerInfo field (version / sid / digestAlgorithm / signedAttrs / signatureAlgorithm) rather than silentlyExit-ing and letting a partial parse flow on as though it were a complete signed CMS; a missingbegin/endblock around the optionalsignedAttrs [0]branch, which leftR.Positionun-advanced, is also corrected
Fixed
- CNG private-key handle leak in
ResolveWinSigner: whenCryptAcquireCertificatePrivateKeysucceeded but the subsequent issuer/serial extraction orTWinCmsSigner.Createraised, theNCryptKeyHandlewas never freed because its ownership transfers to the signer only on a successful constructor; the post-acquire setup is now wrapped so that the handle is released viaNCryptFreeObjectfirst on any failure EcDsaP1363ToDernow rejects an all-zerororshalf rather than emitting anINTEGER 0; ECDSA signatures withr = 0ors = 0are invalid (RFC 4754 §6 / FIPS 186-4 §6 require1 ≤ r, s ≤ n-1) and would otherwise be accepted as genuine by a lenient verifier
Version 2.21.12
Fixed
- Explicit PDF 1.5 to PDF 1.7 saves now reject malformed catalogue
/OCPropertiesstructures, including missing/OCGsor/Dentries, invalid default configuration values and non-array state entries
Version 2.21.11
Fixed
- Explicit PDF-version saves now reject direct or indirect page
/Annotsentries whose annotation dictionaries omit the required/Subtypeor/Rectentry
Version 2.21.10
Fixed
- Explicit PDF 1.7 saves now require geospatial
/Type /Measure /Subtype /GEOdictionaries and Projection annotations to declare/Extensions /ADBEwith/BaseVersion /1.7and/ExtensionLevel 3or later
Version 2.21.9
Fixed
- Explicit PDF 1.7 saves now require RichMedia annotations and
RichMediaExecuteactions to declare/Extensions /ADBEwith/BaseVersion /1.7and/ExtensionLevel 3or later
Version 2.21.8
Fixed
- Explicit PDF 1.7 saves now require PRC 3D streams to declare
/Extensions /ADBEwith/BaseVersion /1.7and/ExtensionLevel 1or later, instead of treating PRC as a core PDF 1.7 feature
Version 2.21.7
Fixed
- Explicit PDF 1.4 and older saves now reject image XObject
/SMaskInDataentries, including an explicit value of0, because embedded JPEG 2000 soft-mask channels require PDF 1.5 or later
Version 2.21.6
Fixed
- Explicit PDF 1.4 and older saves now reject 16-bit image XObjects, which require PDF 1.5 or later, whilst PDF 1.5 to PDF 1.7 targets preserve their
/BitsPerComponent 16image data
Version 2.21.5
Fixed
- Explicit PDF 1.4 and older saves now reject document catalogue
/PageLayout /TwoPageLeftand/TwoPageRightvalues, which require PDF 1.5 or later, whilst PDF 1.5 to PDF 1.7 targets preserve the requested two-page layout
Version 2.21.4
Fixed
- Explicit PDF 1.3 saves now reject document catalogue
/Langentries, which require PDF 1.4 or later, whilst PDF 1.4 to PDF 1.7 targets preserve the language identifier
Version 2.21.3
Fixed
- Explicit PDF 1.3 saves now reject document
/EmbeddedFilesname trees, which require PDF 1.4 or newer, without rejecting embedded-file streams referenced through older file specifications
Version 2.21.2
Fixed
- Explicit PDF 1.3 saves now refuse active metadata streams, which need PDF 1.4 or later; saves targeting PDF 1.4 through PDF 1.7 retain them
Version 2.21.1
Fixed
- Hybrid-reference validation now applies supplemental
/XRefStmentries before the classic xref placeholders of the same revision, so compressed annotations and other version-protected objects are no longer skipped when the compatibility table marks them as free
Version 2.21.0
Changed
- All Delphi, C++Builder, and Lazarus viewer demos can open a PDF passed as the first command-line argument, and the
MultiPageViewerdemos for C++Builder and Lazarus provide explicit select-all and copy shortcuts
Fixed
- Viewer examples now reject invalid bookmark and link page targets, retain load errors and consistently validate manual zoom input. Printing uses the requested page with its filled forms rather than repeating the visible page, and cancelled Delphi print jobs are aborted before partial output is submitted
Version 2.20.0
Changed
- All Delphi, C++Builder, and Lazarus viewer demos now provide consistent shortcuts for open, find, save, print, zoom, and page navigation, whilst each
ViewerInteractionLabvariant also supports page transition, validated manual zoom 10–600%, stable interaction files, and click-coordinate return checks
Version 2.19.1
Fixed
- The explicit PDF version validation now follows the active revision chain of classic, hybrid, or xref-stream documents, including compressed object entries, so replaced, free, and unreferenced objects no longer produce incorrect version results
Version 2.19.0
Changed
- The attachment, image-export, text-export, page-conversion, and split demos for C++Builder and Lazarus now use dedicated output folders or safely completed files, fixed names with zero padding, responsive progress updates, and item-level error counts in the completion summary
Fixed
- The
CJKTextLabdemo for C++Builder now measures text via the exported PDFium processing functions, andMergePDFavoids an ambiguous VCL message overload, enabling clean RAD Studio 37 builds
Version 2.18.3
Fixed
- The PAdES B-LTA Document Time-stamp is now registered as a discoverable signature field — an invisible Widget accessible via the first page
/Annotsarray and the AcroForm/Fieldsarray (ETSI EN 319 142-1 §5.4.3) — rather than as an inaccessible orphan object that signature-field enumeration validators could not locate; existing annotations and fields are preserved
Version 2.18.2
Fixed
- PAdES signing and the classic cross-reference writer now raise a clear error when a byte offset exceeds the fixed 10-digit field width (~9.3 GB). Previously this could leave the
/ByteRangeplaceholder unwritten, producing an invalid signature, or overrun the 20-byte xref line (ISO 32000-1 §7.5.4); xref-stream output uses 8-byte binary fields and is unaffected
Version 2.18.1
Fixed
- PAdES signing now resolves indirect
/Annots,/AcroForm, and/Fieldsreferences on the first page with a full object header (ISO 32000-1 §7.5.3) and the actual generation number of the reference; the previous plain substring search could match an object number inside a longer one (resolving5 0 Rto15 0 obj) and a hard-coded generation overlookedgen>0objects, which could corrupt the signature field arrays or reject valid documents - When the catalogue, first page,
/Annots,/AcroForm, or/Fieldsresides inside an object stream, signing now probes an expanded copy before failing rather than immediately rejecting the document
Version 2.18.0
Added
ReadPdfVersionInforeports the header version, effective core version, catalogue override, and the Adobe developer extension level from a PDF stream
Changed
- The explicit PDF 1.3–1.7 save now validates catalogue, page-resource, XFA, processing, and developer-extension structures within the owned object scope; the encrypted explicit version and the incremental PDF 1.3 normalisation are rejected to preserve document integrity
- Saving to a file path now writes to a sibling temporary file and replaces the destination only after all compressions, normalisations, and version checks succeed
Fixed
- The PDF 1.3 output now carries the required full
/ProcSetresource and removes PDF 1.4 transparency keys when they only repeat the PDF 1.3 default graphics-state values - Files with hybrid-reference, xref-stream, and object-stream entries are no longer overwritten by the classic xref compressor, preventing loss of compressed-object records
- Names resembling transparency or catalogue keys inside strings, comments, or unrelated resource maps no longer cause a false target-version failure
Version 2.17.0
Added
- PAdES signatures are now registered as invisible Widget annotations in the first page
/Annotsarray and the AcroForm/Fieldsarray, preserving existing annotations and form fields
Changed
- Incremental updates for PDF/A, PDF/X, PDF/E, PDF/R, PDF/UA, PDF/VT, and PAdES now preserve the cross-reference representation of the source file: xref-stream documents receive an xref-stream update per ISO 32000-1 §7.5.8.1, whilst classic documents continue to receive an xref table
- Cross-reference offsets,
startxref,/Prev, PAdES ByteRange values, and wide SHA-256 processing now use 64-bit positions with chunked hashing, enabling files larger than 2 GB in 64-bit builds - Generated writable XMP packets now reserve 2048 bytes of padding before the packet-close processing instruction
Version 2.16.10
Fixed
- Object-stream expansion no longer resurrects stale object copies that an incremental update moved outside the object stream into a plain definition (ISO 32000-1 §7.5.7); conformance checks and marker injection previously resolved the obsolete catalogue or metadata dictionary in such files
Version 2.16.9
Fixed
- In Free Pascal, string text that is not valid UTF-8 is now expanded byte-by-byte as Latin-1 and written as UTF-16BE hex strings; previously the raw high bytes leaked into a literal string, which is not a valid PDF 1.7 text-string encoding
- Stream decoding now recognises raw deflate data without the RFC 1950 zlib wrapper (a common fault in buggy writers) and decompresses it in raw mode, so conformance checks are no longer effectively blind to such streams
Version 2.16.8
Fixed
- Incremental updates written via the single-pass post-processing path now refresh the second (changing) trailer
/IDelement per ISO 32000-1 §14.4; caching and synchronisation tools previously saw a stale identifier after every update
Version 2.16.7
Fixed
- Stream-body blanking now requires the
streamkeyword to be followed by an end-of-line (ISO 32000-1 §7.3.8.1); the word inside a literal string such as(downstream)previously triggered blanking of the entire following structure up to the nextendstream - The PDF/X and PDF/E forbidden-feature scans also blank literal strings and comments (§7.2.2), so values such as
/Title (see /JavaScript docs)or a commented token no longer cause false detection ofJavaScript,AcroForm, orLZWDecode
Version 2.16.6
Fixed
- PDF/VT DPM entries are now validated on write as documented: key names that violate the NMTOKEN rule of ISO 16612-2 §6.6 or the registrar-prefix rule of Annex E, and duplicate names, are rejected rather than written to the DPart dictionary
Version 2.16.5
Fixed
- Removing a dictionary entry whose value is a hex string (e.g.
/Check <...>) now removes the entire entry; injectors previously left behind an orphan hex value, creating a syntactically corrupt dictionary - Removing an entry whose indirect reference uses newlines between tokens (ISO 32000-1 §7.3.10) no longer leaves behind the generation number and the
Rkeyword
Version 2.16.4
Fixed
- Maximum object-number scanning no longer requires object headers to start a line (ISO 32000-1 §7.5.3), so injectors can no longer claim an object number that collides with an inline header
N G obj; object numbers are bounded by the Annex C upper limit - Streams whose
/Lengthis an indirect reference now resolve the referenced integer object and use its value when it lines up with the closingendstream; previously such streams were bounded by a pattern search, which truncated bodies legitimately containing theendstreambyte sequence — typical of embedded PDF attachments
Version 2.16.3
Fixed
- Stream-compression passes through unmodified cross-reference-stream documents (PDF 1.5+ without a classic
trailerkeyword); the rebuild path previously misread a wrongstartxrefas a table position and synthesised a guessed trailer - The compressor skips XMP metadata streams so that a PDF/A document retains its mandatory unfiltered metadata stream (ISO 19005-1 §6.7.2), and leaves external file streams (
/Fwith/FFilter) untouched - The rebuilt cross-reference table scans a copy of the document with streams stripped, so binary stream content can no longer spoof object headers or inflate the table; the rebuilt trailer's
/Sizenow reflects the actual table, and object numbers are capped at the Annex C ceiling - Finding the initial cross-reference table now accepts CR-only line terminators (ISO 32000-1 §7.5.1) and cannot match the letters
xrefinsidestartxref; stream keyword scanning gained the sameendstream-tail guard used elsewhere and now advances beyond skipped stream bodies
Version 2.16.2
Fixed
- Integer parsing in byte-level PDF readers now accepts the explicit
+sign (ISO 32000-1 §7.3.3) and rejects digit runs that would overflow, so hostile or corrupt documents cannot wrap lengths and offsets
Version 2.16.1
Fixed
- The PDF/UA injector writes the catalogue
/Langvalue as a canonical PDF text string; previously it passed the value through an XML escaper, so language tags containing&or parentheses produced a corrupt entry and non-ASCII input was written as raw UTF-8 - The PDF/E Info
/ISO_PDFEVersionentry uses the shared text-string encoder, preserving lawful non-ASCII values in PDF 1.7 - XML escaping for XMP packets now strips control characters that are invalid in XML 1.0, so metadata from a corrupt source document cannot render the metadata stream unprocessable
- PDF-to-XMP date conversion now checks numeric date fields and pads a missing minute field, preventing malformed ISO 8601 dates in generated XMP. On non-Windows platforms the fallback timestamp includes the time of day as well as the date
Version 2.16.0
Added
- Stream decoding now reconstructs
/DecodeParmspredictors (PNG predictors 10-15 and TIFF predictor 2, ISO 32000-1 §7.4.4.4) after FlateDecode, honouring/Colors,/BitsPerComponentand/Columns. Object streams compressed with a predictor, a common choice among PDF 1.5+ writers, previously exposed differenced bytes, leaving their objects invisible to conformance scans and marker injection
Fixed
- FlateDecode detection now parses the
/Filtervalue as a name or array rather than substring matching, so cascaded filter chains and occurrences of the word in unrelated values no longer cause false decompression
Version 2.15.1
Fixed
- The dictionary scanner now skips literal strings, hex strings, and comments during
<</>>balancing (ISO 32000-1 §7.2.2), so dictionaries with values such as(A >> B)or a hex string adjacent to the closing delimiter are no longer truncated - Literal-string extraction now decodes the complete escape set of §7.3.4.2 Table 3 —
\n \r \t \b \f, octal\ddd, line continuations and normalisation of unescaped end-of-line markers — rather than copying the escape character verbatim, restoring correct/Producer,/GTS_PDFXVersionand/ISO_PDFEVersioncomparisons for writers that emit octal escapes - Marker injectors now escape CR, LF and other control characters in literal strings, preserving their values byte for byte through the reader's end-of-line normalisation
Version 2.15.0
Fixed
- Incremental updates from PDF/A, PDF/X, PDF/E, PDF/R, PDF/UA, PDF/VT injectors and from PAdES and DSS paths now preserve the permanent file identifier of the source document: the first trailer
/IDelement is carried verbatim (ISO 32000-1 §14.4) and only the second (changing) element is refreshed - PAdES signatures, DSS injection, and B-LTA Document Time-stamps now carry the
/Inforeference from the source trailer (ISO 32000-1 §7.5.6), so document properties no longer vanish from reader panels after signing; the Document Time-stamp trailer also gains the/IDarray - The fallback
/Infotrailer lookup for cross-reference-stream documents now locates the XRef stream dictionary correctly and preserves the reference's generation number; it previously never matched on conforming PDF 1.5+ files, silently dropping/Info
Version 2.14.4
Fixed
- The signature dictionary
/Mdate written byTPdf.SignPadesandSignPadesBytesnow carries the mandatoryD:prefix and the UTC offset indicatorZ(ISO 32000-1 §7.9.4)
Version 2.14.3
Fixed
- Dictionary key lookups in the shared PDF reader now match complete name tokens (ISO 32000-1 §7.3.5); previously a stream whose dictionary listed
/Length1before/Length(typical of FontFile streams) was truncated to the wrong byte count, silently blinding PDF/A, PDF/UA and other conformance scans that read font, CMap or metadata streams - Trailer
/Encrypt,/Root,/Size, and/Infolookups no longer match longer keys with a common prefix (such as/EncryptMetadata) - Object-stream expansion no longer trusts corrupt or hostile
/Nvalues: non-integer values now yield 0 rather than an uninitialised number, and an upper bound derived from/Firstprevents oversized allocations whilst malformed documents are scanned
Version 2.14.2
Fixed
- The PDF/X, PDF/VT, PDF/UA, PDF/E, and PDF/R marker injectors now pass encrypted source documents through unmodified rather than appending plaintext update sections; previously the latest trailer lost the
/Encryptentry (ISO 32000-1 §7.5.6), so conforming readers misread the encrypted body as plaintext TPdf.SignPades,SignPadesBytesandInjectPadesDssMarkersnow raiseEPadesCryptofor encrypted source documents instead of silently producing a corrupt or unverifiable file; remove encryption before signing or embedding DSS material
Version 2.14.1
Fixed
TPdf.SignPadesandSignPadesBytesnow back-fill all four/ByteRangefields in the signature dictionary. Previously the final three retained their zero placeholders, declaring an empty byte range and causing signatures to fail verification in conforming validators- PAdES B-LTA Document Time-stamp dictionaries receive the same
/ByteRangeback-fill fix ValidatePadesCompliancenow accepts the standard signature layout, whose byte-range gap contains the hexadecimal/Contentsvalue, and checks that the second range segment reaches exactly the end of the file. Previously the coverage check accepted only gapless ranges
Version 2.14.0
Added
TPdf.ExportXFDFserialises every form field value and annotation across all pages to an XFDF document (ISO 19444-1), emitting<fields>for hierarchical form values and<annots>for every supported annotation subtype (text, highlight, underline, strikeout, squiggly, line, circle, square, caret, polygon, polyline, stamp, ink, freetext, fileattachment, sound, link, redact)TPdf.ImportXFDFimports an XFDF document back into the loaded PDF, recreating annotations on the corresponding pages- The
TPdfAnnotationrecord gainedName(NM),Subject,ModificationDate(M),CreationDate,Icon,Opacity(CA), line endpoints, polygon/polyline vertices and ink-list gesture fields, so XFDF round-trips preserve the full annotation metadata - A new
XfdfLabdemo in the Delphi, C++Builder, and Lazarus sets demonstrates the round-trip export/import
Version 2.13.6
Fixed
ValidatePdfAnow treats catalogue/Metadatastreams without/Type /Metadataor/Subtype /XMLas missing XMP metadata viapvaiMissingXmpMetadata- PDF/A preflight reports now classify
pvaiMissingXmpMetadataas Metadata and recommend a catalogue/Metadatastream with/Type /Metadata,/Subtype /XML, unfiltered XMP andpdfaidmarkers
Version 2.13.5
Fixed
ValidatePdfAnow reports Widget annotations without an appearance dictionary, and PDF/A-2/PDF/A-3 annotations without/AP, viapvaiAnnotationApDictViolation- PDF/A preflight reports categorise
pvaiAnnotationApDictViolationas content that injectors cannot repair
Version 2.13.4
Fixed
ValidatePdfAnow reports PDF/A-2 and PDF/A-3 inline images with/Ior/Interpolateequal totrueviapvaiImageDictionaryViolation- PDF/A preflight reports categorise
pvaiImageDictionaryViolation
Version 2.13.3
Fixed
ValidatePdfAnow reports PDF/A-1 inline images using/LZWDecodeor its abbreviated/LZWfilter inside content streams throughpvaiInlineImageLzwForbidden, bringing this into line with the existing PDF/A-2 and PDF/A-3 inline-image checks- The inline-image filter scanner now skips leading resource names such as
/GS1, avoiding stalls when scanning broader PDF/A-1 content streams
Version 2.13.2
Added
TPdf.SetFocusedFormFieldTextwrites text into the currently focused form field's edit buffer viaFORM_ReplaceSelection, the mirror ofFocusedFormFieldText; for AcroForm text and combo fields the value is committed to/Vwhen focus is lost and persists, whilst for XFA text fields the write lands in the in-memory buffer only, because PDFium exposes no public API to reconcile XFA values back to the datasets packet, so it does not survive a save- The JavaScript host platform is now attached whenever the V8 engine is available, irrespective of whether the document is XFA — so embedded AcroForm JavaScript (doc-level scripts, field calculations,
app.alert) can run too; previouslym_pJsPlatformwas wired only for XFA documents, leaving AcroForm JS silently disabled
Changed
- JavaScript platform attachment is now independent of the XFA decision in
InitializeFormFill— them_pJsPlatformtable is built wheneverV8FeaturesAvailableis true, applied after the XFA version and callback wiring rather than nested inside it
Version 2.13.1
Added
- New host events expose information previously absorbed by v2.13.0 callbacks:
OnXfaUriAction,OnXfaPageCountChanged,OnXfaFocusChange,OnXfaEmail,OnXfaHttpRequest,OnXfaOpenFile,OnJavaScriptBeep,OnJavaScriptPrint,OnJavaScriptMail,OnJavaScriptSubmitForm - The read-only
TPdf.XfaFormPacketsproperty returns a one-shot snapshot of all XFA packets (TXfaPacketList), fulfilling theTXfaPacket/TXfaPacketListtypes that were previously declared but unused - XFA-specific PDFium error codes
FPDF_ERR_XFALOAD/FPDF_ERR_XFALAYOUTare now mapped and exposed viaLastPdfError
Changed
FFI_DoURIActionWithKeyboardModifiernow consultsOnXfaUriActionbefore handing a URI from an XFA field to the shell, giving the host a veto; unassigned handlers retain the previousShellExecuteWdefaultDecodeFormFieldTypenow routes XFA field types viaIsXfaFormFieldrather than an explicit 8-branch case, keeping the enum aligned withFPDF_FORMFIELD_XFA_*by ordinal offset
Fixed
ValidatePdfAnow reports PDF/A-1 claims that use PDF 1.5 cross-reference streams or object streams through the newpvaiPdfA1Pdf15Structureissue; object streams remain permitted for PDF/A-2 and PDF/A-3
Version 2.13.0
Added
- Full XFA (XML Forms Architecture) runtime support:
TPdf.InitializeFormFillnow wires all 14 version-2FPDF_FORMFILLINFOcallbacks (FFI_DisplayCaret,FFI_GotoURL,FFI_PageEvent,FFI_PopupMenu,FFI_OpenFile,FFI_EmailTo,FFI_UploadTo,FFI_GetPlatform,FFI_GetLanguage,FFI_DownloadFromURL,FFI_PostRequestURL,FFI_PutRequestURL,FFI_OnFocusChange,FFI_DoURIActionWithKeyboardModifier) and attaches anIPDF_JsPlatform, so an XFA-enabledpdfium.dllcan render and script dynamic XFA forms - New
Lib\FPdfXfa.pasunit declaring the XFA constants (FXFA_PAGEVIEWEVENT_*,FXFA_MENU_*,FXFA_SAVEAS_*,FPDF_FORMFIELD_XFA_*) and theTXfaPacket/TXfaSaveFormattypes that were previously only referenced in comments - Static XFA packet reader on
TPdf:GetXfaPacketCount/GetXfaPacketName/GetXfaPacketContent/GetXfaPacketByNameplusGetXfaTemplate/GetXfaDatasets/GetXfaConfigextract the XFAtemplate,datasetsandconfigpackets as raw XML without needing an XFA-enabled runtime — useful for compliance auditing and data migration - Capability probes: global
XfaFeaturesAvailable, per-documentTPdf.XfaRuntimeAvailable(whetherFPDF_LoadXFAactually succeeded) andTPdf.XfaStaticReadable(whether the packet reader exports resolve) TPdfFormFieldTypeextended withfiXfa,fiXfaCheckBox,fiXfaComboBox,fiXfaImageField,fiXfaListBox,fiXfaPushButton,fiXfaSignature,fiXfaTextField, withDecodeFormFieldTypemapping the newFPDF_FORMFIELD_XFA_*values- JavaScript host events on
TPdf:OnJavaScriptAlert,OnJavaScriptResponse,OnXfaGotoUrl, andOnXfaRuntimeMissinglet the host customise JS dialogs and XFA navigation, or react when an XFA document cannot run the engine - New
XfaLabdemo for Delphi
Changed
TPdf.LoadDocumentnow pre-scans the input for XFA markers (/XFAin the AcroForm dictionary, or catalogue/NeedsRendering) and, when found, auto-selectspdfium.v8.dllby settingEnableV8Engine := Truebefore the singleton library is first loaded; once a plainpdfium.dllhas been loaded the process cannot switch, soOnXfaRuntimeMissingsignals that caseTPdf.GetPageCountnow reflects the page count the XFA engine reports viaFFI_PageEventafter dynamic repagination, rather than only the static PDF page tree- When an XFA document is opened without an available runtime,
InitializeFormFillnow fixesversion=1andxfa_disabled=1. Previously it requested version 2 with unassigned callbacks, risking a bad callback pointer dereference
Version 2.12.2
Fixed
ValidatePdfACompliancenow reports used custom XMP namespaces withoutpdfaExtension:schemas, whilst still accepting standardpdfaidmetadata without extension declarations- PDF/A-3 embedded-file validation now requires both top-level
/Fand/UFentries on filespec dictionaries and ignores nested/EFstream keys when checking those names
Version 2.12.1
Fixed
ValidatePdfACompliancenow decodes escaped PDF name tokens before matching JavaScript, LZWDecode, Type1 and related forbidden names, so obfuscated but semantically identical names are reported correctly- PDF/A inline-image checks now reject
/Filterand/Fvalues that use/LZWDecode, abbreviated/LZWor/Crypt, including array and escaped-name forms - PDF/A validation now reports metadata streams with forbidden stream filters, OutputIntent ICC profiles whose
/Ncomponent count is missing or inconsistent, and PDF/A-3 embedded file specs with a missing or invalid/AFRelationship
Version 2.12.0
Added
- TSA HTTP requests now use
WinHttpSetTimeoutsto set an explicit 30 s timeout for each phase: resolve, connect, send and receive. This replaces WinHttp's implicit defaults, preventing a slow or unreachable timestamp authority from hanging the signing thread indefinitely - Per-request nonce derivation for PAdES B-T / B-LTA timestamp requests when the caller omits
TPadesSignOptions.Nonce: a SHA-256 fold of monotonic counter, wall clock,GetTickCount64and process id replaces the previous fixed$100000000fallback, so two requests issued within the same millisecond no longer reuse the same anti-replay nonce PdfInflatenow limits decompressed output to 256 MiB, preventing a hostile or corrupt zlib stream from exhausting memory through a “zlib bomb”; the allowance is generous for real PDF streams
Changed
TPdfViewoverlay blending (search highlight, text selection, reading word, spread selection) no longer uses per-pixelGetPixel/SetPixelV; the rectangle is now blended through a 32-bpp off-screenTBitmapandScanLinein a single pass, removing thousands of GDI kernel crossings per paint and making large selections responsiveFPdfAsn1.TDerReader.ReadIntegernow rejects INTEGER fields longer than 8 bytes (and 8-byte negatives whose sign bit would requireshl >= 64), returning 0 rather than computing a wrong value through undefined-shift behaviour on CMS/PAdES ASN.1 inputParseTimeStampRespno longer echoes the request nonce asTPadesTimestamp.Nonce. Until the TSTInfo walker verifies the returned nonce, this field remains 0 to mean “not verified”, avoiding a misleading assurance that the timestamp response is fresh
Fixed
PointsToPixelsreturned its input unchanged for every DPI: the divisor wasPointsPerInch(the 72 constant) instead of the literal 72, collapsing the formula toResult := Points; any external caller sizing points to device pixels through this helper now gets the correctPoints × PixelsPerInch / 72PdfMaxObjNumundercounted on documents that use object streams (PDF 1.5+ ObjStm): objects compressed inside an/ObjStmcarry noN 0 objmarker, so the raw-byte scan missed them, and injectors that allocateMaxObj+1for new objects could collide with hidden ObjStm members and silently corrupt the file; the scan now expands object streams first so that every object number is visibleInjectPdfAMarkersno longer forges a PDF/A conformance claim on an encrypted document: PDF/A (ISO 19005-1 §7.1) forbids encryption, and the injector previously copied the source through with the markers even though the very next validation would reject it; whenHasEncryptis set the source is now passed through unchanged, and the normalTPdf.SaveAsPdfApath already strips encryption (saRemoveSecurity) before injection, so this only affects direct callersPdfReadStreamBytesnow rejects a/Lengthlarger than the entire file before allocating the result buffer, closing an early-allocation route for corrupt or hostile indirect lengths
Version 2.11.0
Added
- The PDFium
FPDF_FILEHANDLERrecord now declares its six callbacks (Release,GetSize,ReadBlock,WriteBlock,Flush,Truncate) as real fields rather than comments, matching the C header layout; the XFA FFI file-transfer callbacks (FFI_OpenFile/FFI_EmailTo/FFI_UploadTo/FFI_DownloadFromURL) that return or consumePFPDF_FILEHANDLERremain unimplemented in the Pascal form-fill layer, but the type is now structurally correct for any future XFA submit/upload path - PDFium library load and unload (
LoadLibrary/UnloadLibrary) are now serialised by a process-global critical section, so twoTPdfFuture<T>worker threads (or a worker racing the main thread) can neither both observePDFiumLibrary=0and double-bind, nor free the DLL whilst another thread is mid-bind - The
initialization/finalizationsection now callsUnloadLibraryon unit unload, ensuringFPDF_DestroyLibraryruns (worker-thread join, V8 isolate disposal, font and cache teardown) instead of relying on the operating system to reclaim the DLL
Changed
TPdf.SetActivenow swallows any exception during load (previously onlyEPdfError), so a stream error or access violation during form and page setup leavesActive=Falserather than a partially-loaded component in an indeterminate state- Consistent character encoding for PDFium metadata key arguments:
TPdf.GetMetaTextnow uses the same FPCAnsiString/ DelphiUTF8Encodesplit asGetViewerPreferenceand the load paths, instead of a bareAnsiString(Tag)cast - The
BytesToAnsi,AnsiToBytes,WriteBytesandWriteStrhelpers were deduplicated:FPdfCompressnow imports them fromFPdfPdfCommon(itsWriteBytesToStream/WriteAnsiToStreamaliases are retired) and the redundant three-argumentBytesToAnsioverload inFPdfPdfais removed;FPdfAsn1keeps its local copy by design so that the cryptography layer stays free of the conformance-layer unit
Fixed
- Resource leak in
TPdf.LoadDocument(file, memory,TBytes,TMemoryStream, custom stream) andTPdf.CreateDocument: ifInitializeFormFillorReloadPageraised afterFPDF_LoadDocument/FPDF_CreateNewDocumenthad succeeded, the nativeFPDF_DOCUMENThandle leaked becauseFActivewas still False at that point; each path now wraps the post-load setup intry/exceptand closes the document on failure, leaving the component cleanly inactive - Friendlier PDFium DLL load diagnostics:
CheckLoadLibrarydetectsERROR_BAD_EXE_FORMAT(193) and reports a 32/64-bit architecture mismatch pointing at the matchingDLLs/Win32orDLLs/Win64build, instead of relaying only the generic operating-system error;CheckGetProcAddressnow states that the deployedpdfium.dllis older than the binding when a required export is missing, rather than the bare operating-system “procedure not found” text
Version 2.10.1
Fixed
- PAdES SignerInfo sid standardisation: the signer identifier now uses the RFC 5652 §5.3
issuerAndSerialNumberform (issuer Name + serialNumber, both extracted verbatim from the signer certificate DER), replacing the previous non-standardsubjectKeyIdentifier+ full-cert SHA-256 placeholder that Adobe Acrobat and other conforming validators rejected. A new TbsCertificate DER walker (ExtractIssuerAndSerial) reads the issuer SEQUENCE and the serial INTEGER as raw TLV bytes — serials commonly exceedInt64range, so the raw TLV is mandatory. ThesubjectKeyIdentifierform remains as a fallback only when cert DER parsing fails
Changed
TCmsSignerId.SerialNumber: Int64replaced withSerialDer: TBytes(the raw serialNumber TLV). The CMS builder embeds the sliced TLV verbatim inIssuerAndSerialNumber, avoidingInt64overflow on 20-byte CA serials (RFC 5280 §4.1.2.2 upper bound)
Version 2.10.0
Added
- PAdES B-LT long-term validation: when
TPadesSignOptions.Level >= plB_LT,SignPadesBytesappends an incremental update carrying a/DSSdictionary with the signer certificate and the full intermediate chain (the self-signed root is excluded per RFC 5652 §10.2.3), plus the/Extensions /ESICLevel 1 marker (EN 319 142-1 §5.4.2) - PAdES B-LTA archive timestamp: when
Level >= plB_LTAandTsaUrlis set, a Document Time-stamp signature dictionary (/SubFilter /ETSI.RFC3161) is appended whose/ByteRangecovers the entire file; the ESIC marker is promoted to Level 2. This completes the four PAdES baseline levels (B-B, B-T, B-LT, B-LTA) - Certificate chain collection:
ResolveWinSignernow callsCertGetCertificateChainand populatesTPadesResolvedSigner.ChainCertDerwith the intermediate CA certificates, so B-LT/DSS /Certscarries every cert needed to validate the signature without external lookups.CertFreeCertificateContextis now bound, closing the one-context-per-sign leak noted in v2.8.0 - PDF/A integration workflow:
TPdf.SignPadesWithPdfAconverts the document to PDF/A first (highest level the library emits today) then applies the requested PAdES signature — the long-term-archival container pattern EN 319 142-1 Annex A.7 recommends
Version 2.9.0
Added
- PAdES B-T trusted timestamp:
TPadesSignOptionsgainsLevel,TsaUrlandNoncefields. WhenLevel >= plB_TandTsaUrlis set,SignPadesBytesextracts the signature value from the built CMS, requests an RFC 3161 timestamp over it, and embeds the returned TimeStampToken as the SignerInfo unsigned attributesignature-time-stamp— the B-T trusted-time step (EN 319 142-1 §6.3 req o) FPdfTsa: cross-platform RFC 3161 client —BuildTimeStampReq(version 1, SHA-256 messageImprint over the signature value, nonce, certReq=true),ParseTimeStampResp(accepts PKIStatus 0/1, rejects 2+, extracts the TimeStampToken ContentInfo verbatim), andRequestTimestamp(one-shot build+POST+parse).PadesTsaAvailablegates the feature on platforms without an HTTP backendFPdfTsaWin: Windows WinHttp backend, dynamically bound from winhttp.dll (zero new compile-time dependency; HTTPS negotiated by the Windows certificate store). Mirrors theFPdfCryptoWindynamic-binding patternFPdfCms:ExtractSignatureValuewalks a built CMS to recover the raw signature octets (the TSA hash input), andAddSignatureTimestampToCmsrebuilds the ContentInfo with a newunsignedAttrs [1](0xA1) carrying the timestamp attribute. The stage-1 validator recognises the result as a B-T signature
Version 2.8.0
Added
- PAdES B-B signing stack: four new pure-Pascal/cross-platform building blocks (
FPdfSha256,FPdfAsn1,FPdfCms,FPdfCrypto) plus a Windows CNG backend (FPdfCryptoWin) letTPdf.SignPades/SignPadesToStreamproduce a PAdES B-B signature end-to-end. The signer certificate is resolved by SHA-1 thumbprint from the Current User “MY” store; RSA-PSS (recommended), RSA PKCS#1 v1.5 and ECDSA are all supported viaNCryptSignHash FPdfSha256: self-contained FIPS 180-4 SHA-256 (Init/Update/Final + one-shot helpers). FPC 3.2.2 ships no SHA-2 unit, so the library owns one to keep every CMS code path on a singleTSHA256Digesttype with no RTL branchingFPdfAsn1: DER encoder (TDerWriter) and reader (TDerReader) covering SEQUENCE/SET/OID/INTEGER/OCTET STRING/UTCTime/GeneralizedTime/context-specific tags, with the definite-length encoding and IMPLICIT-tag handling CMS requiresFPdfCms: CAdES SignedData builder (BuildSignedData) emitting the content-type, message-digest and signing-certificate-v2 signed attributes PAdES baseline mandates, with optional signing-time and commitment-type-indication. The signedAttrs digest is computed over the SET-tagged (0x31) form and re-emitted with the IMPLICIT [0] (0xA0) tag per RFC 5652 §5.4FPdfCrypto+FPdfCryptoWin: cryptographic-backend abstraction withPadesCryptoAvailable/ResolvePadesSigner, and the Windows implementation binding crypt32.dll / ncrypt.dll dynamically (no new compile-time DLL dependency). ECDSA signatures are re-encoded from the Windows IEEE P1363 r¦s form into the DERECDSA-Sig-ValueCMS requiresSignPadesBytes: byte-level signature injection — reserves a fixed-width/Contentshex slot, computes the covering/ByteRange, digests the document, builds and embeds the CMS, and appends the incremental update. The validator (v2.7.0) recognises the output as a PAdES B-B signature
Version 2.7.0
Added
- PAdES structural validator (ETSI EN 319 142-1 V1.2.1): the new
FPdfPadesunit andTPdf.ValidatePadesmethod inspect signature value dictionaries reachable from/ByteRange, walk the CMSSignedDatainside/Contentsfar enough to confirm the CAdES detached shape, and detect the four baseline levels (B-B, B-T, B-LT, B-LTA) plus Document Time-stamp dictionaries (/SubFilter /ETSI.RFC3161) - PAdES clause-level issue set: 26
ppei*enums cover/SubFilteracceptability (adbe.pkcs7.sha1andadbe.x509.rsa_sha1flagged as forbidden),/ByteRangefile coverage,/Certprohibition, CMSSignedDatashape (single signer, detached eContent, version range), the required signed attributes (content-type,message-digest,signing-certificate/v2), forbidden digests (MD5, SHA-1),/Reasonvscommitment-type-indicationmutual exclusion (req d), the B-T trusted-time requirement, the B-LT/DSS+/Certs+ ESIC Level 1 marker, and the B-LTA Document Time-stamp + ESIC Level 2 marker - DSS injector:
TPdf.SaveAsPadesDss/SaveAsPadesDssToStreamappend an incremental update carrying a/DSSdictionary (with/Certs,/OCSPs,/CRLsstream arrays) and the/Extensions /ESICmarker (Level 1 or 2) onto a copy of the document, preserving the original bytes — the B-LT/B-LTA validation-material embedding step (clause 5.4.2) - Cross-platform, zero-dependency stage: the validator and injector are pure-Pascal and work on every supported IDE (Delphi, Lazarus, FPC, C++Builder); no cryptographic backend is required for this release, and no new DLL dependency is introduced
Version 2.6.0
Changed
- Cross-standard deduplication: seven more duplicated helper functions (PdfEnclosingObjNum, PdfDictRefNum, PdfExpandObjectStreams, PdfTextStr, ExtractLiteralString, ExtractXmpAttr) have been removed from the individual standard units and consolidated into
FPdfPdfCommon, reducing ~300 lines of copy-paste maintenance burden - PreflightReport quality: PDF/X and PDF/E content-class issues that previously fell through to the generic “missing marker” category now carry accurate Content/Metadata/Security categories and clause-specific recommendations (~15 enums across both standards)
- PDF/E and PDF/R test coverage: six more zero-coverage enums gained positive tests (
pveiLzwForbidden,pveiJavaScriptForbidden,pveiFormFieldsForbidden,pveiEmbeddedFilesForbidden,pvriBadHeader,pvriProhibitedInfoEntry) - Lazarus build fix:
Tests.PdfVT(a Delphi-only DUnitX unit added in v2.5.x) is now excluded from the Lazarus project to restore compilation
Version 2.5.3
Added
- OutputIntent completeness (PDF/X-4 §6.2.4):
pvviOutputIntentSchemeflags an OutputIntent whose/Sis not/GTS_PDFX;pvviOutputIntentMissingIdentifierflags a missing/OutputConditionIdentifier - PDF/VT-2 Reference XObject exemption (§6.2.2):
pvviReferenceXObjectForbiddenno longer fires for aPDF/VT-2file, which may legally use Reference XObjects on an X-5g/5pg base - MIME boundary character validation (RFC 2046 §5.1.1):
vtmviBoundaryInvalidCharflags a boundary whose characters fall outside the bchars set or whose length exceeds 70
Fixed
InjectPdfVTMarkersnow writes Info/CreationDateand/ModDatefrom the save options, so the produced file round-tripsValidatePdfVTCompliancewithout a falsepvviInfoModDateMismatch(the injector previously rewrote the XMP dates but left the Info dictionary dates stale)
Version 2.5.2
Added
- Info
/ModDateconsistency (§6.3 NOTE 2, PDF/X-4 base):pvviInfoModDateMismatchflags an Info dictionary/ModDatethat, after PDF-date to XMP-date normalisation, does not equalxmp:ModifyDate - PDF/VT-2s inline chunk conformance (Annex A.2): the MIME validator now runs
ValidatePdfVTComplianceon every inlineapplication/pdfpart and flags a non-PDF/VT body viavtmviInlinePdfNotPdfVT
Version 2.5.1
Added
- DParts chunking validation (ISO 16612-2 §6.5 Table 4):
pvviDPartsBadChunkingflags a/DPartsarray whose non-final sub-arrays do not have exactly 8192 entries or whose last sub-array falls outside 1..8192 - RecordLevel cross-stream consistency (Annex A.2): the PDF/VT-2s MIME validator now extracts each inline PDF's
/RecordLeveland flags disagreement viavtmviRecordLevelMismatch, complementing the existing NodeNameList check - Recurring graphical object hints (§6.7):
pvviGtsScopeInvalidValueflags a/GTS_Scopeoutside {SingleUse, Record, File, Stream, Global, Unknown};pvviGtsScopeRecordWithoutRecordLevelflags/Recordwithout a/RecordLevel;pvviGtsXidNotUuidflags a/GTS_XIDthat is not an RFC 4122 uuid: URI;pvviGtsEnvMissingflags a missing/GTS_Envwhen/GTS_Scopeis Stream or Global (§6.7.4) - MIME forward-reference detection (Annex A.2):
vtmviForwardReferenceflags an inline PDF that cites a filename (via/EF /F) not introduced by an earlier attachment part in the stream
Fixed
ExtractNodeNameListFromPdfandExtractRecordLevelFromPdfinFPdfPdfvtMimeresolved a recurring off-by-one where the 1-based offset returned byAnsiFindKeywas treated as an absolute byte offset into the expanded PDF
Version 2.5.0
Added
- PDF/VT Document Part Metadata (DPM, ISO 16612-2 §6.6):
TPdfVTSaveOptionsgainedDpmEntriesandDpmTargetso a writer can attach a/DPMdictionary to the synthesised DPart node, with key-name validation against the Annex E second-class-prefix rule and the §6.6 NMTOKEN / uniqueness /GTS_Managed-shape rules on the validator side - PDF/VT-2s streaming exchange (Annex A): the new
FPdfPdfvtMimeunit providesBuildPdfVT2sStreamandValidatePdfVT2sStreamfor themultipart/mixedMIME envelope carrying inline PDF/VT chunks plus attachment ICC profiles, with theX-PDFVT-Stream-version: 1header ordering rule and cross-streamNodeNameListconsistency check TPdf.ValidatePdfVTnow performs an authoritative JavaScript-action count viaFPDFDoc_GetJavaScriptActionCount, complementing the byte-level/JavaScriptname scan
Fixed
- PDF/VT
Trappedcorrectness on the PDF/X-4 base: theptvUnknownenum value is removed (PDF/X-4 forbids/Unknown),ptvUnspecifiedis normalised to/Falseat write time (a missing/Trappedis also forbidden), and a newpvviTrappedInvalidissue flags an absent orUnknownvalue ValidatePdfVTCompliancenow expands object streams (PdfExpandObjectStreams) before scanning, so a catalog, OutputIntent or Metadata dictionary stored inside a compressed ObjStm (PDF 1.5+, typical of PDF/X-4 producers) is reachable by the byte-level lookups
Changed
- PDF/VT-1 now inherits the full PDF/X-4 content prohibitions:
pvviAcroFormForbidden(/AcroFormor/XFA),pvviAdditionalActionsForbidden(catalog/AA),pvviMissingTrimBoxandpvviReferenceXObjectForbidden(Reference XObject, X-5g/5pg only) - Cross-standard deduplication:
BuildDictObj,IccComponentCount, the built-in sRGB ICC profile (GetSrgbIccProfile),PdfTextStr,PdfEnclosingObjNum,PdfDictRefNumandPdfExpandObjectStreamswere promoted from triplicated local copies inFPdfPdfa/FPdfPdfx/FPdfPdfvtto a single canonical home inFPdfPdfCommon; the 3144-byte ICC literal now exists exactly once in the codebase
Version 2.4.0
Fixed
InjectPdfUaMarkersno longer drops the trailer/Inforeference on a cross-reference-stream base: the localSourceTrailerInfoRef(which lacked the xref-stream fallback) has been replaced by the sharedPdfSourceTrailerInfoRef(promoted from the PDF/A copy which had the fallback since v2.0.0)- The shared
PdfReadStreamBytesnow handles indirect/Length N G Rreferences (ported from the PDF/A local copy), so the PDF/VT, PDF/R and PDF/E validators no longer mis-read or skip XMP metadata streams produced by tools that use indirect Length (Acrobat, Ghostscript)
Changed
- Cross-standard deduplication: the local
PdfReadTrailercopies inFPdfPdfaandFPdfPdfx, the localSourceTrailerInfoRefcopies inFPdfPdfaandFPdfPdfua, and the localPdfReadStreamBytesinFPdfPdfahave all been deleted — the sharedFPdfPdfCommonversions now apply everywhere. This removes ~330 lines of duplicated code and eliminates the maintenance burden of keeping copies in sync - PDF/X test-debt closure: seven previously zero-coverage content-class enums gained positive tests (
pvxiLzwForbidden,pvxiJavaScriptForbidden,pvxiFormFieldsForbidden,pvxiAdditionalActions,pvxiEmbeddedFilesForbidden,pvxiMissingTrimBox,pvxiTrappedNotSet)
Version 2.3.0
Changed
- PDF/A test-debt closure continues: three more zero-coverage enums gained positive tests.
pvaiForbiddenRenderingIntent(§6.2.9) flags a non-standard rendering-intent name in a content stream.pvaiJpeg2000Violation(§6.2.2) flags a JPXDecode image with/NumComponentsoutside {1,3,4} at Part 2.pvaiInlineImageLzwForbidden(§6.1.10) flags an inline image using the LZW filter at Part 2
Version 2.2.0
Changed
- Cross-reference-stream regression tests: the existing
Validate_XrefStreamTrailer_DetectsConformancenow also verifies that the catalogue/Metadatareference is resolved and the XMPpdfaid:partis read on an xref-stream base (not just/Root+/ID). A newInjectPdfA_XrefStreamBase_RoundTripstest guards the injector's xref-stream path added in v2.0.0. Two cross-standard tests (PdfE_XrefStreamBase_NotRejectedAsUnparsable,PdfR_XrefStreamBase_NotRejectedAsUnparsable) verify the PDF/E and PDF/R validators no longer reject xref-stream PDFs as unparsable - PDF/A test-debt closure:
Validate_MinimalPdf_FlagsRequiredMarkersasserts that a bare minimal PDF triggerspvaiMissingPdfAIdentifier,pvaiMissingOutputIntent,pvaiMissingIccProfile,pvaiMissingXmpMetadataandpvaiMissingXmpDates— closing the symmetry gap with the PDF/E and PDF/X validators which already had equivalent tests. Two more zero-coverage enums gained positive tests:pvaiUnembeddedFontandpvaiSubsetMissingCidSet
Version 2.1.0
Fixed
- PDF/E was inadvertently left out of the v2.0.0 cross-reference-stream fix: both
InjectPdfEMarkersandValidatePdfECompliancestill calledPdfReadTrailerwithoutAcceptXrefStream, so the PDF/E injector silently failed on PDF 1.5+ output (pdfium’sSaveAsCopydefault). Both call sites now passTrue - The shared
PdfReadTrailercross-reference-stream fallback now carries the/Type /XRefguard that the PDF/A and PDF/X local copies already had, so a corruptstartxrefoffset pointing at an unrelated dictionary fails cleanly instead of being mis-parsed as the trailer - The indirect-reference
/Langresolver inValidatePdfUaCompliance(v2.0.0) was unreachable:PdfFindObjDictonly finds<<dictionaries, but a/Langstring object is(...)or<...>with no dictionary. Replaced with a direct object-body scan that locates the string token
Changed
- Seven dead-shadow helper duplicates (PdfStructureBytes, PdfHasName, PdfCountName, BuildStreamObj) that were byte-identical copies of the shared
FPdfPdfCommonversions have been removed fromFPdfPdfaandFPdfPdfua— the shared versions now apply everywhere viauses
Version 2.0.0
Fixed
- Cross-standard silent failure: the shared
PdfReadTrailerhelper (used by the PDF/UA, PDF/X, PDF/VT and PDF/R marker injectors and validators) now accepts anAcceptXrefStreamparameter and falls back to the cross-reference-stream object dictionary when notrailerkeyword is present (PDF 1.5+). Previously, pdfium’sSaveAsCopyoutput (which uses a cross-reference stream) caused every marker injector to silently fail — the source bytes were copied through unchanged and the call still returned success. The PDF/R-1.0 validator (whose PDF 2.0 base is always a cross-reference stream) was effectively a no-op. The PDF/A validator’s mature implementation was ported to the shared helper so every standard benefits - Trailer dictionary scanning in
InjectPdfUaMarkersandInjectPdfAMarkersnow uses the depth-awarePdfDictEndinstead of a bare>>search, so a trailer containing a nested dictionary (e.g./Encrypt << ... >>) is no longer cut short before a trailing/Infoentry
Changed
TPdf.ValidatePdfUanow suppresses the coarse byte-levelpvuaiFontNotEmbeddedwhen the precise Pdfium object-modelpvuaiPdfiumFontNotEmbeddedhas already fired, so the preflight report no longer carries two near-duplicate “embed your fonts” rows for the same defectpvuaiLangInvalidFormat(§7.2) now resolves an indirect-reference/Lang(N 0 R) to its string object and validates the content, so an indirectly-referenced language tag is no longer a blind spot
Version 1.99.0
Fixed
pvuaiLangInvalidFormat(§7.2) no longer gives hex-encoded/Langstrings a free pass: UTF-16BE pairs (with aFE FFBOM) and bare ASCII hex strings are now decoded and run through the same BCP 47 grammar check as literal(...)strings, so a malformed hex/Langis caught while a conformant one (e.g. a UTF-16BEen-US) is no longer at risk of being flagged
Changed
pvuaiFontMissingToUnicode(§7.21.7) now exempts/MacExpertEncodingalongside/WinAnsiEncodingand/MacRomanEncoding, matching the four exemption conditions the clause lists
Version 1.98.0
Added
pvuaiNeedAppearancesTrue(§7.18.4) flags an AcroForm whose/NeedAppearancesflag is true, so widget appearances are not reliably locked and assistive technology cannot associate them with the structure tree. Ported from the PDF/A validator and gated on/AcroFormpresence to narrow the scan surface
Changed
- veraPDF corpus regression: wired the §7.20 Reference-XObject pass+fail pair and the §7.21.4.2 subset CharSet/CIDSet pass+fail pairs into
Live_Corpus_ValidatePdfUaMatchesConformance. The §7.21.7 ToUnicode-forbidden-value and §7.18.6.2 media-clip pass samples were also wired as false-positive guards (their fail samples use dictionary layouts the byte-level scan does not catch, so only the pass side is wired) - The corpus pass-path assertion list gained 15 new zero-false-positive guards so every active
pvuai*byte-level and structure check is now exercised against conformant samples (previously only ~30 of the 60 active issues were guarded). ThepvuaiLangInvalidFormatguard was deliberately omitted because the byte-level checker conservatively flags hex-encoded/Langstrings it cannot decode
Version 1.97.0
Fixed
ValidatePdfUaStructureElementshardening: theEnclosingTableparent-chain walk now carries a hop counter (bounded by the element count), so a malformedParentIndexcycle on a synthetic structure-element array can no longer hang the caller. TheValidatePdfUaPageContentTaggingmarked-content-ID array allocation is now capped at one million entries, preventing a multi-GB allocation on a malformed/maliciousMarkedContentID
Changed
- The
pvuaiOrderedListMissingListNumberingenum doc comment now accurately describes what the check does: it flags anLelement whoseListNumberingvalue is outside the ISO 32000-1 Table 347 set (an absent attribute is not flagged). The earlier comment implied it also detected ordered lists missing the attribute, which the implementation does not do - The two
7.21.3.3-t02WMode-mismatch corpus fail samples are now wired intoLive_Corpus_ValidatePdfUaMatchesConformance— since v1.95.0 the CMap stream is FlateDecode-inflated, so the dictionary-vs-content comparison now runs on a readable side. The stale “not wired” comment was removed
Version 1.96.0
Added
- Cross-standard consistency:
TPdf.ValidatePdfUagains two checks ported from the PDF/A validator.pvuaiAnnotationFlagsViolation(§7.18.1) flags a non-exempt annotation carrying the Hidden / Invisible / NoView flag, which breaks the assistive-technology reading flow.pvuaiActionTargetMissing(§7.18.5) flags a GoToR / URI / SubmitForm action that lacks its required target key (/F+/D, /URI, /F), leaving the link unusable by AT
Fixed
- Cross-page structure-tree merge: the
AllElemsaccumulation loop inTPdf.ValidatePdfUanow rebases each element'sParentIndexfrom the page-local array to the merged array. Without this, page 2's child elements kept a page-local index that pointed into page 1's slice, silently corrupting every ParentIndex-dependent check (table/list structure, §7.4.4 H-child count, EnclosingTable) - RoleMap parsing:
PdfReadRoleMapPairsno longer terminates the whole key/value scan when a value is an indirect reference (N 0 R) or an array ([...]) — both valid RoleMap forms per ISO 32000-1 14.8.5.1. It now skips just that entry (Continue) instead ofBreak-ing, eliminatingpvuaiRoleMapUnresolvedfalse positives on types mapped after an indirect/array entry
Changed
FPdfPreflightReport: 18 activeTPdfUaValidationIssuevalues that previously fell through to the catch-all “missing marker” category and recommendation now carry accurate categories (Structure / Content / Metadata / Security) and clause-specific recommendations. Also fixed thepuaNone / pua1→pucNone / puc1typo inPDFSpecComplianceMatrix.md
Version 1.95.0
Changed
TPdf.ValidatePdfUarecall and soundness pass: the §7.21.3.3pvuaiCMapWModeMismatchcheck and the §7.21.7pvuaiToUnicodeForbiddenValuecheck now inflateFlateDecode-compressed CMap / ToUnicode streams before scanning (previously only uncompressed streams were judged, a known false negative). The sharedPdfInflate/PdfReadAndDecodeStreamhelpers were promoted fromFPdfPdfa/FPdfPdfxtoFPdfPdfCommonso every conformance unit shares one copy
Added
pvuaiSubsetCharSetEmpty(§7.21.4.2) flags a Type 1 subsetFontDescriptorthat carries a/CharSetkey whose string value is empty — the existingpvuaiSubsetMissingCharSetonly caught a missing key. An empty/CIDSetis not flagged, since a font with no CIDs may legitimately carry an empty bitmap
Version 1.94.0
Added
- Second-pass
TPdf.ValidatePdfUaaudit closed six ISO 14289-1 gaps surfaced by a clause-by-clause review and a re-scan of Pdfium native APIs already wrapped but unused by the PDF/UA path.pvuaiHeadingFormatInvalid(§7.4.3) flags user-defined heading tags that start with H but carry separators, spaces or Roman numerals instead of pure Arabic digits.pvuaiMissingDocumentOutline(§7.17, should) flags a multi-page document that carries no bookmark outline (single-page documents are exempt).pvuaiStructElementLangInvalid(§7.2) flags a structure element/Langvalue that is not a valid BCP 47 tag.pvuaiWidgetMissingPrintField(§7.14 / §7.18.4) flags a Widget structure element missing the PrintField attribute owner.pvuaiLinkNotInStructureTree(§7.18.5) flags a document whose/Subtype /Linkannotations are not exposed as Link structure elements.pvuaiPdfiumAnnotationMissingContentsandpvuaiPdfiumLinkMissingContents(§7.18.1 / §7.18.5) add a precise Pdfium object-model annotation scan that exempts hidden, off-crop-box, Popup and Widget annotations — eliminating the false positives of the byte-level heuristic, which cannot read the/Fflags or/Rect
Version 1.93.0
Added
TPdf.ValidatePdfUanow layers a Pdfium object-model pass on top of the byte-level inspector, mirroring the PDF/A round-7 architecture: it walks every page’s text objects viaFPDFTextObj_GetFont→FPDFFont_GetIsEmbedded(pvuaiPdfiumFontNotEmbedded, §7.21.4) and scans every character viaFPDFText_HasUnicodeMapError(pvuaiPdfiumUnicodeMapError, §7.21.7) andFPDFText_GetUnicode(pvuaiPdfiumNotDefGlyph, §7.21.8) — more precise than the byte-level heuristics, which only fire when zero font programs are present or no/ToUnicodeappears at all. The walk short-circuits at three levels: the page loop exits when all three Pdfium-layer issues are already set, the per-object loop exits on the first non-embedded font, and the character scan skips the.notdefpass whenUnicodeMapErroralready hit. PDF/UA was the last PDF-standard validator without a Pdfium object-model layer
Version 1.92.0
Added
- Created
Tests.PdfR— the first test file for the PDF/R-1 validator (FPdfPdfr), covering header validation, ObjStm prohibition, raster-marker detection, and a clean-file no-false-positive guard. All six PDF-standard test suites now have dedicated test files: PdfA(80), PdfUa(101), PdfX(7), PdfE(5), PdfVT(15), PdfR(4) = 212 tests total
Version 1.91.0
Added
ValidatePdfEandValidatePdfVTgained content-level checks previously available only in the PDF/A, PDF/UA and PDF/X validators:pveiLzwForbidden,pveiJavaScriptForbidden,pveiFormFieldsForbidden(PDF/E only),pveiEmbeddedFilesForbidden(PDF/E only),pveiOpiForbidden,pvviLzwForbidden,pvviJavaScriptForbidden,pvviEmbeddedFilesForbidden,pvviOpiForbidden.TPdf.ValidatePdfEandTPdf.ValidatePdfVTalso gain a Pdfium object-model layer (pveiPdfiumFontNotEmbedded/pvviPdfiumFontNotEmbedded) that walks page text objects viaFPDFFont_GetIsEmbedded, short-circuiting on the first non-embedded font
Version 1.90.0
Added
TPdf.ValidatePdfXnow layers a Pdfium object-model pass on top of the byte-level inspector: it walks every page’s text objects viaFPDFTextObj_GetFont→FPDFFont_GetIsEmbeddedand reports a non-embedded font aspvxiPdfiumFontNotEmbedded— more precise than the byte-level heuristic which only fires when zero font programs are present. The walk short-circuits on the first non-embedded font found
Changed
TPdf.ValidatePdfUastructure-tree walk: the per-pageValidatePdfUaPageContentTaggingcall (which builds a marked-content-ID claim map and cross-checks every text/image object) is now skipped on subsequent pages oncepvuaiUntaggedContentis already found — structure elements are still collected for the cross-page checks (Note unique ID, heading sequence), but the expensive per-page content-tagging pass stops early
Version 1.89.0
Changed
TPdf.ValidatePdfAPdfium object-model layer performance: the page/object walk now short-circuits at three levels — the page loop exits when all applicable Pdfium-layer issues are already found, the per-object loop exits when both per-object issues (font embed + transparency) are set, and the text-page character scan skips the.notdefpass whenUnicodeMapErroralready hit.Assigned()API-availability checks and conformance flags are cached to local booleans once before the loop instead of being re-evaluated on every page/object/character. On a large non-conformant document the walk can now stop after the first page instead of scanning all pages; on a conformant document the overhead per page is lower (no repeatedAssignedcalls)
Version 1.88.0
Added
ValidatePdfXgained eight new content-levelTPdfXValidationIssuevalues covering the print-exchange restrictions that PDF/X imposes beyond the file-format markers:pvxiLzwForbidden(/LZWDecode),pvxiJavaScriptForbidden(/JavaScript),pvxiFormFieldsForbidden(/AcroForm//XFA),pvxiAdditionalActions(/AA),pvxiEmbeddedFilesForbidden(/EmbeddedFiles//FileAttachment),pvxiOpiForbidden(/OPI//Alternates),pvxiMissingTrimBox(no/TrimBoxon any page), andpvxiTrappedNotSet(/Trappedabsent or/Unknown). The PDF/X validator previously checked only XMP/OutputIntent markers; this is its first content-level pass. SharedPdfStructureBytes/PdfHasName/PdfCountNamehelpers were added toFPdfPdfCommonso all conformance units can use them
Version 1.87.0
Added
- PDF/UA validation now covers the ISO 14289-1 §7.21.3 composite-font rules:
pvuaiCidSystemInfoMismatchflags Type0 fonts whose embedded CMap and descendant CIDFont disagree onRegistry/Orderingor whose CIDFontSupplementexceeds the CMap’s,pvuaiCMapNotEmbeddedflags CMaps referenced by name (asEncodingorUseCMap) that are not ISO 32000-1 Table 118 predefined CMaps, andpvuaiCMapWModeMismatchflags embedded CMaps whose dictionaryWModediffers from the WMode in their stream content
Fixed
- The §7.21.3.2
pvuaiCidFontMissingCidToGidMapcheck missed CIDFontType2 dictionaries whoseSubtypekey/value pair is separated by a newline, and now also flags aCIDToGIDMapname value other thanIdentity
Version 1.86.0
Added
- PDF/UA validation now covers the ISO 14289-1 §7.21.6 TrueType encoding rules:
pvuaiTrueTypeEncodingInvalidflags non-symbolic TrueType fonts whoseEncodingis missing or is neitherMacRomanEncodingnorWinAnsiEncoding(directly or viaBaseEncoding), andpvuaiSymbolicTrueTypeEncodingflags symbolic TrueType fonts carrying a non-standardEncodingname
Version 1.85.1
Changed
- The ISO 14289-1 §7.18.3 tab-order check
pvuaiMissingTabsOrdernow runs per page: every page carrying annotations must declare/Tabs /Sin its own page dictionary, so a conformant sibling page no longer masks a page without one
Version 1.85.0
Added
- PDF/UA validation now distinguishes dynamic from static XFA forms per ISO 14289-1 §7.15:
pvuaiXfaDynamicflags forms whose XFA configuration setsdynamicRendertorequired
Changed
- The former any-XFA candidate flag
pvuaiXfaPresentis retired and no longer raised (static XFA conforms to §7.15); the enum value remains for API compatibility
Version 1.84.0
Added
- PDF/UA validation now detects untagged real content required by ISO 14289-1 §7.1:
pvuaiUntaggedContentflags rendered text and image objects that are neither claimed by the page’s structure tree (via their marked-content IDs) nor marked as an Artifact - New page-level helpers
GetPageContentMarkInfosandValidatePdfUaPageContentTaggingwith theTPdfPageContentMarkInforecord for direct use
Version 1.83.0
Added
- PDF/UA validation now enforces the ISO 14289-1 §7.4.4 heading model:
pvuaiHeadingModelMixedflags documents that mix the genericHtag with numberedH1..Hnheadings, andpvuaiHeadingMultipleInNodeflags structure nodes carrying more than one childHheading
Version 1.82.0
Added
- PDF/UA validation now resolves the RoleMap required by ISO 14289-1 §7.1:
pvuaiRoleMapRemapsStandardflags RoleMap entries that redefine a standard structure type, andpvuaiRoleMapUnresolvedflags used non-standard structure types whose RoleMap chain is missing, dangling or cyclic — indirect chains that reach a standard type are accepted, and unused RoleMap entries are never judged - New helpers
PdfUaIsStandardStructType,PdfReadRoleMapPairs(with PDF name#hhescape decoding) andValidatePdfUaRoleMapUsagefor direct use
Version 1.81.0
Added
- PDF/UA validation now covers the ISO 32000-1 list tagging required by ISO 14289-1 §7.6:
pvuaiListStructureInvalidflags LI items outside an L container and Lbl/LBody parts outside an LI item, whilst accepting nested lists and the legitimate Lbl usage inside Note and BibEntry elements
Version 1.80.0
Added
- PDF/UA validation now covers the ISO 32000-1 table tagging required by ISO 14289-1 §7.5:
pvuaiTableStructureInvalidflags TH/TD cells outside a TR row and rows or row groups outside their Table container,pvuaiTableHeaderMissingScopeflags header cells whose relationship is determinable neither via a Scope attribute nor a Headers/ID association, andpvuaiTableHeadersUndefinedIdflags Headers references in documents that define no structure element IDs TPdfStructureElementexposes the table attributesScope,HasHeaders,HeadersIds,ColSpanandRowSpan, resolved during the structure-tree walk
Changed
- The structure-tree walk now reads all layout and table attributes in a single pass over each element’s attribute dictionaries instead of one scan per attribute
Version 1.79.1
Added
- Ported the
AnnotationsLabsample to Lazarus and C++Builder, joining the existing Delphi console sample
Fixed
TPdf.CreateAnnotationcould raise “Cannot set attachment points” for markup annotations that use quad points (Highlight, Underline, StrikeOut, Squiggly) because the new annotation had no quad slot yet to replace; it now appends the first quad instead
Version 1.79.0
Added
- New
AnnotationsLabDelphi console sample: creates Text, Highlight, Square and Circle annotations, writes them to a PDF, then reloads the file and enumerates the page annotation list
Version 1.78.0
Added
- New
TPdf.MeasureTextandTPdf.MeasureTextWidth: measure the rendered width and height of a string for a given font and size (PDF user units, 1 unit = 1/72 inch) without adding content to a page, making layout and word-wrap logic possible on top ofAddText; provided by the standaloneFPdfMeasureunit as a class helper - New
TPdf.WrapText: greedy word wrap built onMeasureTextWidththat splits text on spaces and packs words into lines no wider than a given width (PDF user units); an overlong single word gets its own line (no intra-word breaking), returning the wrapped lines as an array
Version 1.77.0
Added
ValidatePdfAgained three newTPdfAValidationIssuevalues covering the clauses previously rated “NO” or “reader behaviour” by the earlier gap audit (appended ordinals, existing values unchanged):pvaiPdfiumNotDefGlyph(PDF/A-2 6.2.11.8 — a character that resolves to Unicode 0 without a mapping error, the runtime symptom of a.notdefglyph reference; detected via the Pdfium object-model layer),pvaiWordBreakMissing(Level A 6.8.3.2 — a content-stream show string longer than 20 characters with no space, a likely merged-words violation; coarse heuristic that avoids CJK false positives), andpvaiLinkActionMissingTarget(6.6.3 — a GoToR/URI/SubmitForm action missing its display target key so a reader cannot present it)
Version 1.76.0
Added
ValidatePdfAgained three newTPdfAValidationIssuevalues (appended ordinals, existing values unchanged):pvaiNameNotValidUtf8(PDF/A-2/3 6.1.8 — a/BaseFontor/FontNametoken containing bytes ≥ 0x80 that do not form valid UTF-8),pvaiInlineImageLzwForbidden(PDF/A-2/3 6.1.10 — an inline image in a page content stream uses the LZW or Crypt filter), andpvaiTrueTypeDifferencesForbidden(6.3.7 Cor.2 — a non-symbolic TrueType font whose Encoding dictionary carries/Differences)
Version 1.75.0
Added
ValidatePdfAgained three newTPdfAValidationIssuevalues (appended ordinals, existing values unchanged):pvaiIntegerImplementationLimit(PDF/A-2/3 6.1.13 — a numeric token exceeding the 32-bit signed integer limit 2,147,483,647),pvaiBlendModeNotWhitelisted(PDF/A-2/3 6.2.10 — a/BMvalue outside the ISO 32000-1 §11.3.5 standard blend-mode set; complements the PDF/A-1pvaiTransparentColorSpacewhich only allows Normal/Compatible), andpvaiHexStringOddDigits(6.1.6 — a<...>hex string with an odd number of hex digits)
Version 1.74.0
Added
ValidatePdfAgained three newTPdfAValidationIssuevalues (appended ordinals, existing values unchanged):pvaiPermissionsViolation(6.1.12 — a/Permsdictionary carrying/DigestLocation,/DigestMethodor/DigestValuealongside/DocMDP),pvaiTransActionForbidden(PDF/A-2 6.5.1 — a Trans transition action, detected via the/S /Transaction-dict pattern to avoid false-matching/Transparency), andpvaiPdfiumObjectTransparency(PDF/A-1 6.4 — a page object carries real transparency perFPDFPageObj_HasTransparency, extending the Pdfium object-model layer introduced in v1.73.0 to catch blend-mode/soft-mask effects the byte-level name scan can miss)
Version 1.73.0
Added
TPdf.ValidatePdfAnow layers a Pdfium object-model pass on top of the byte-level inspector: it walks every page’s text objects viaFPDFPage_GetObject→FPDFTextObj_GetFont→FPDFFont_GetIsEmbeddedand reports a non-embedded rendered font aspvaiPdfiumFontNotEmbedded(ISO 19005 6.3.4), and loads each text page to scanFPDFText_HasUnicodeMapErrorand reports a broken Unicode mapping aspvaiPdfiumUnicodeMapError(6.3.8). These are checks the byte-level inspector cannot do — it only sees name tokens, not resolved font handles or per-character mapping state — and are merged into the byte-level result. The standaloneValidatePdfACompliancebyte-level function is unchanged
Version 1.72.0
Added
ValidatePdfAgained five newTPdfAValidationIssuevalues (appended ordinals, existing values unchanged):pvaiNeedsRenderingPresent(PDF/A-2 6.4.2 — the catalogue shall not carry/NeedsRendering),pvaiDestOutputProfileRef(PDF/A-3 6.2.3 — an OutputIntent shall not carry/DestOutputProfileRef),pvaiEmbeddedFileMissingUF(PDF/A-3 6.8 — a file spec with/EFshall also carry/UF),pvaiXmpPacketBytesAttr(6.7.5 — the XMP packet header shall not carry the deprecatedbytes=orencoding=attribute), andpvaiAnnotationToggleNoView(PDF/A-2 6.3.2 — the annotation/FToggleNoView bit, value 512, is forbidden)
Version 1.71.0
Changed
ValidatePdfUanow raisespvuaiOrderedListMissingListNumbering(ISO 14289-1 7.6): the structure-tree walker resolves theListNumberinglayout attribute on everyLelement via the Pdfium attribute API and flags any value outside the ISO 32000-1 Table 347 set (Decimal,UpperRoman,LowerRoman,UpperAlpha,LowerAlpha,None,Circle,Disc,Square). An absent attribute is not flagged, since the list may be unordered; this closes the last residual ISO 14289-1 gap recorded at the end of round 5
Version 1.70.0
Added
ValidatePdfUagained four newTPdfUaValidationIssuevalues (appended ordinals, existing values unchanged):pvuaiSubsetMissingCidSet(ISO 14289-1 7.21.4.2 — a CID subsetFontDescriptorshall declare/CIDSet),pvuaiToUnicodeForbiddenValue(7.21.7 — a ToUnicode CMap shall not map any code toU+FEFForU+FFFE; uncompressed streams are scanned for the<FEFF>/<FFFE>output forms),pvuaiLangInvalidFormat(7.2 —/Langshall be a valid RFC 1766 / BCP 47 tag; a permissive grammar acceptsen,en-US,zh-Hans,es-419and flags clearly non-conforming values), andpvuaiOrderedListMissingListNumbering(7.6 — retained for API completeness; not yet raised by the validator because reliably distinguishing ordered from unordered lists needs theListNumberingattribute value, which the structure-tree walker does not expose)
Version 1.69.0
Added
ValidatePdfUagained two newTPdfUaValidationIssuevalues (appended ordinals, existing values unchanged):pvuaiWidgetOutsideForm(ISO 14289-1 7.18.4 — a Widget structure element shall be nested within aFormelement; the structure-tree walker now verifies each Widget’s direct parent type) andpvuaiSubsetMissingCharSet(7.21.4.2 — a Type 1 subsetFontDescriptorshall declare/CharSet, identified by the six-letter+subset-name prefix on/FontName)
Version 1.68.0
Added
ValidatePdfUagained two newTPdfUaValidationIssuevalues (appended ordinals, existing values unchanged):pvuaiUriActionIsMap(ISO 14289-1 7.18.5 — a URI action dictionary shall not carry/IsMapwith valuetrue, since it disables the accessible link target) andpvuaiHeadingSequenceViolation(7.4.2 — numbered headings shall start atH1and a descending sequence shall not skip an intervening level, e.g.H1→H3is a violation). The heading check is the first structure-tree-level PDF/UA rule in the validator:ValidatePdfUaStructureElementsnow walks the typed element list and verifies theH1…H6(andH7+per 7.4.3) sequence in document order
Version 1.67.0
Added
ValidatePdfUagained five newTPdfUaValidationIssuevalues (appended ordinals, existing values unchanged):pvuaiLinkMissingContents(ISO 14289-1 7.18.5 — a Link annotation shall carry an alternative description via/Contents),pvuaiAnnotationMissingContents(7.18.1 — any non-exempt annotation without/Contentsshall have an alternative description; Popup and Widget are exempt),pvuaiEmbeddedFileMissingName(7.11 — a file specification dictionary shall contain/Fand/UF),pvuaiMediaClipMissingAlt(7.18.6.2 — a media clip data dictionary shall contain/CTand/Alt), andpvuaiCidFontMissingCidToGidMap(7.21.3.2 — an embedded Type 2 CIDFont shall contain/CIDToGIDMap)
Version 1.66.0
Added
ValidatePdfUagained five newTPdfUaValidationIssuevalues (appended ordinals, existing values unchanged):pvuaiRoleMapMissing(ISO 14289-1 7.1 — a tagged document with non-standard structure types shall carry a/RoleMap),pvuaiOptionalContentAsKey(7.10 — an optional-content configuration dictionary shall not carry the/ASauto-state key),pvuaiXfaPresent(7.15 — an AcroForm/XFApresence is flagged since dynamic XFA is forbidden),pvuaiTrapNetAnnotation(7.18.2 —/TrapNetannotations are forbidden), andpvuaiReferenceXObject(7.20 — Reference XObjects, keyed off the/Refmarker, are forbidden)
Fixed
ValidatePdfUano longer false-positivespvuaiEncryptionPresenton every encrypted file: PDF/UA permits encryption as long as the encryption dictionary/Pkey has bit position 10 (value 1024) set, which grants assistive-technology access (7.16). The precise violation is now reported via the newpvuaiEncryptionPBitMissing;pvuaiEncryptionPresentis retained in the enum for API compatibility but is no longer raised by the byte-level validator
Version 1.65.0
Added
ValidatePdfAgained five newTPdfAValidationIssuevalues (appended ordinals, existing values unchanged):pvaiCidFontMissingCidToGidMap(ISO 19005-1 6.3.3.2 Cor.2 — an embedded Type 2 CIDFont shall carry/CIDToGIDMap),pvaiSubsetMissingCharSet(6.3.5 — a Type 1 subsetFontDescriptorshall carry/CharSet),pvaiSubsetMissingCidSet(6.3.5 — a CID subsetFontDescriptorshall carry/CIDSet),pvaiWidgetActionForbidden(6.6.1 — a Widget annotation shall not carry/Aor/AA), andpvaiOptionalContentAsKey(ISO 19005-2 6.9 — an optional-content configuration dictionary shall not carry the/ASauto-state key, newly relevant because PDF/A-2 permits optional content)
Version 1.64.0
Added
ValidatePdfAgained eight newTPdfAValidationIssuevalues (appended ordinals, existing values unchanged):pvaiHeaderBinaryMarkerMissing(ISO 19005-1 6.1.2 — the%PDF-x.yheader must be followed by a%comment with at least four bytes greater than 127),pvaiExternalStreamRef(6.1.7 — a stream dictionary shall not carry/F,/FFilteror/FDecodeParms),pvaiOutputIntentScheme(6.2.2 — the OutputIntent/Sshall be/GTS_PDFA1),pvaiInfoXmpDateMismatch(6.7.3 — InfoCreationDate/ModDateshall also appear asxmp:CreateDate/xmp:ModifyDate),pvaiMarkInfoMissing(6.8.2.2 — Level A requires/MarkInfowith/Marked true),pvaiAnnotationApDictViolation(6.5.3 Cor.2 — the annotation/APdictionary shall contain only/N),pvaiEmbeddedFileMissingAFRelationship(ISO 19005-3 Annex E.2 — each associated filespec shall carry/AFRelationship), andpvaiJpeg2000Violation(ISO 19005-2 6.2.8.3 — a JPEG2000 image shall declare 1, 3 or 4 components)
Fixed
ValidatePdfAno longer false-positivespvaiAnnotationFlagsViolationon documents that use a single-letter font resource name such as/Font << /F 5 0 R >>; the/Fflag scan is now gated on an annotation context (/Subtypeof an annotation type), matching the documented behaviour (6.5.3)ValidatePdfAnow reports the PDF/A-3 associated-file requirement per file: a document is flagged only when an embedded/Type /Filespecthat references an embedded stream via/EFlacks/AFRelationship, instead of the previous whole-document any-or-none check (ISO 19005-3 Annex E.2)- Added the deprecated
/SetStateaction to the forbidden-action set alongside/SetOCGState, so the PDF Reference action name is caught directly (6.6.1)
Version 1.63.0
Added
- Added
TPdf.MeasureTextandTPdf.MeasureTextWidth: measure the rendered width and height of text in a given font and size without adding content to a page (in PDF user units, 1 unit = 1/72 inch), enabling layout calculations and automatic line wrapping on top ofAddText; provided by the standalone unitFPdfMeasureas a class helper
Changed
Demo\Delphi\MergePDF,Demo\CBuilder\MergePDF, andDemo\Lazarus\MergePDFenhanced across all three IDEs: added per-file page range selection, optional output path, deduplication, a run log, a cancel button, and a merge completion summary, with bookmarks and metadata carried over from the first source on importCreatePDFdemos across all three IDEs now include a “European Text” option to write accented text in Czech, French, German, Spanish, Portuguese, Polish, and Turkish, for verifying font selection and Unicode handling (the formerEuropeanTextsample has been merged in)- Removed the
ExtractTextPagesandEuropeanTextsamples: the per-page text output capability ofExtractTextPagesis now covered by the page-range and page-separator options inExtractText; the multilingual text rendering ofEuropeanTexthas been merged intoCreatePDF
Version 1.62.2
Fixed
- Rebuilt the C++Builder headers (
.hpp) for every RAD Studio release and platform (Win32/Win64/Win64x) after they drifted away from the Pascal sources, leaving outdated function signatures and omitted units in the C++Builder source distribution
Version 1.62.1
Fixed
- Restored source compilation for RAD Studio 12 Athens and earlier by removing a Delphi 13-only implicit array conversion from a
TArray<Byte>assignment in the PDF/UA validation path, which older IDEs could not compile
Version 1.62.0
Added
TPdf.RenderPageThumbnailnow renders any page by index into an aspect-fitted bitmap without changing the document's current page or loaded page, and without firingOnPageChange
Fixed
TPdfThumbnailViewno longer changes the host document'sPageNumberwhilst painting; each repaint had previously reloaded pages, firedOnPageChange, and discarded the text page, which could unsettle a linkedTPdfViewand start repaint loops. Thumbnails now render throughRenderPageThumbnailwithout those side effects- PDF/X conformance validation now checks cross-reference-stream documents (PDF 1.6, common for PDF/X-4) and objects stored in compressed object streams, rather than treating such files wholesale as non-conformant; the
GTS_PDFXVersionmarker is read from both element-form and RDF attribute-form XMP - PDF/R validation now raises
pvriInfoXmpMismatchwhen the Info dictionary and XMP disagree on Producer or Creator; the issue had been declared before but was never actually reported - Form-fill timers are now tracked per request, so a document running several timers at once, for example a JavaScript interval alongside the field caret blink, keeps them all instead of losing every timer except the most recent
TPdfViewpainting and its publicRenderPage/RenderTilemethods now hold the document render lock, serialising against worker-thread rendering of the sameTPdf(PDFium is not thread-safe)- Non-ASCII text written into PDF/X, PDF/R and PDF/VT metadata (OutputIntent condition names, Creator, Producer) is now encoded as a UTF-16BE string under ISO 32000-1 §7.9.2.2 rather than raw UTF-8, which conforming readers would misread
- Conformance helpers now read embedded metadata streams whose
/Lengthis an indirect reference correctly, load source bytes withReadBufferso a short read fails cleanly, and reject a negativestartxrefoffset instead of risking an out-of-range read
Version 1.61.0
Changed
- FFI/ABI declaration fixes may require recompiling code that implements the affected callbacks: the
FFI_OpenFileform-fill callback now carriescdecl(Win32 stack convention), and thevalueparameter ofFPDFAnnot_SetStringValueandFPDFAttachment_SetStringValueis nowFPDF_WIDESTRING(UTF-16LE) to match the PDFium headers - Progressive-load callbacks
FX_FILEAVAIL.IsDataAvailandFX_DOWNLOADHINTS.AddSegmentnow takesize_toffsets, andsize_tis pointer-width on Free Pascal / Lazarus Win64, where it previously truncated to 32-bit, fixing data-availability andoutsize_tAPI calls on FPC Win64
Fixed
- Memory safety: a use-after-free of the form-fill timer when destroying a
TPdfwith an active AcroForm cursor; a doubleFPDF_CloseDocumenton the error path ofImportNPagesToOne; Pascal exceptions escaping theFPDF_FILEWRITE/FPDF_FILEACCESScallbacks across the C boundary during save and JPEG insert; and an integer overflow in text extraction when reading from a start index to the end of the page TPdfFuture<T>now reliably delivers its result callback; the reply was previously almost always dropped, and could touch a freed thread, because the worker freed itself before the queued reply ran- PDF/A, PDF/X, PDF/E, PDF/R, PDF/VT and PDF/UA output now writes cross-reference entries that are exactly 20 bytes long, as required by ISO 32000-1 §7.5.4
- Standards marker injection no longer destroys a dictionary when the removed key, for example
/Trapped, was the last entry, which previously swallowed the closing>>and produced a malformed object - OutputIntent ICC profile streams now declare the required
/Ncomponent count for PDF/X and PDF/VT, already present for PDF/A; encrypted source documents are decrypted before PDF/X, PDF/E, PDF/R, PDF/VT and PDF/UA markers are injected, so the output is valid rather than silently corrupted - Generated XMP now emits the UTF-8 xpacket BOM as exact bytes, preventing corruption on Delphi installations whose ANSI code page is not Latin-1; incremental-update trailers now retain the document
/Inforeference SaveAswith compression no longer truncates streams whose/Lengthis an indirect reference, and rebuilt cross-reference tables now use 20-byte entries, genuine generation numbers, and drop the stale/Prevpointer- Conformance validation reads attribute-form XMP version markers for PDF/E and PDF/X, so attribute-serialised PDF/X-4 files are recognised, requires the exact
PDF/E-1identifier, reads indirect-/Lengthmetadata streams correctly, and no longer false-matches a structure element's/IDor/StructTreeRootkey when checking the PDF/UA trailer; a malformedstartxrefoffset no longer raises a range error TPdfThumbnailView: the last page is now reachable with the scroll bar, the host document's current page is restored after thumbnails are painted, and the standard mouse-leave handling is dispatched again- Greyscale page and image bitmaps are no longer rendered with a wrong palette;
TPdfViewis no longer left with a dangling reference when itsTPdfis freed first - Preflight reports now save HTML as UTF-8 to match the declared charset, and JSON string escaping produces correct
\usequences for non-ASCII characters on Free Pascal - Trial builds: the trial reminder dialogue now appears instead of being suppressed before it could show
TPdfStreamAdapternow rejects streams larger than 4 GiB with a clear error rather than silently truncating the length passed to PDFium
Version 1.60.1
Changed
- The AccessibilityReader demos for Delphi, Lazarus and C++Builder now route read-aloud through
TPdfReadingSession: each page is assembled into one spoken chunk withBuildSpokenTextFromWords, SAPI word positions feedFeedSpokenPosition, and the session advances pages and drives the view's word cursor, replacing the hand-written orchestration each demo previously carried - Word-level karaoke tracking in the demos now works with NVDA as well:
EstimatePacingpaces the reading cursor from elapsed speaking time, where NVDA had previously read aloud with no word tracking at all - Pause and Resume now work with NVDA in the demos too:
ResumeRestartsChunkre-speaks the current page from its start on Resume, whilst SAPI keeps its native in-place pause and resume
Version 1.60.0
Added
- Live low-vision rendering on
TPdfView: the newreInvertandreNightDuotonerender options recolour every rendered page tile, either with full colour inversion or a night duotone palette, before the search, selection, reading and word-cursor overlays are painted, bringing the existing bitmap colour transforms into the interactive viewer for both single-page and facing-pages layouts; toggling the options repaints immediately NightDuotoneInkandNightDuotonePaperset the night palette, defaulting to amber text on a black page;reInverttakes priority when both options are enabled
Version 1.59.0
Added
TPdfReadingSession: a read-aloud orchestration component that stays neutral about the speech engine. It keeps the chunk cursor, the word cursor and the playback state (Play/PlayFrom/Pause/Resume/Stop), advances through loadedTPdfSpokenTextchunks as the host reports the engine idle viaTick, translates spoken-text offsets back to page characters, and drives an attachedTPdfViewword cursor automatically; the host wires up any speech engine throughOnSpeakand the cancel / pause / resume request events, so the library links no speech API itselfFeedSpokenPositionconsumes engine word positions, such as SAPIStatus.InputWordPosition;EstimatePacingwithEstimatedWordsPerMinutepaces engines without a position signal;ResumeRestartsChunkre-speaks the current chunk for engines without a native pauseOnChunkChange,OnWordChangeandOnFinishednow fire only on genuine changes, and a freed attached view detaches itself automatically, so host code stays flicker-free and crash-safe
Version 1.58.0
Added
EstimateSpokenWordIndexestimates which word a speech engine is voicing from the elapsed time and a words-per-minute rate, giving longer words proportionally more time, so engines that report no word position, such as the NVDA controller client, can still drive the word-level reading cursor; the caller supplies the elapsed time, so the routine stays clock-free and unit-testable
Version 1.57.0
Added
- Spoken-text assembly with two-domain mapping for read-aloud tracking:
BuildSpokenTextFromWordsandSpokenTextAppendbuild the string handed to a text-to-speech engine from page word boxes while recording a span table, andSpokenToPageChartranslates an engine-reported spoken offset, such as SAPIStatus.InputWordPosition, back to the page character index, so word-level highlight tracking stays correct when the spoken text is not the whole page text, such as skipped regions, per-unit reading, pronunciation overrides TPdfSpokenTextandTPdfSpokenSpancarry the spoken string together with the source page ranges it was built from; offsets on inserted separators resolve to the next mapped word, and offsets past the mapped runs report no match
Version 1.56.9
Added
Demo\Delphi\PreflightReportnow adds an Action Plan preview that condenses non-passing standards, priorities, next actions, issue codes, and recommendations into a remediation checklistDemo\Delphi\PreflightReportClinow acceptsplan/actionplanas an output format for single-file and batch runs, writing the same remediation checklist to a text file
Changed
- Both Delphi PreflightReport demos now show pass / action / review status counts alongside total standards and issues
Version 1.56.8
Changed
ViewerInteractionLabnow adds page-jump controls, manual zoom controls, click-basedDeviceToPage/PageToDevicecoordinate logging, and a clearer interaction log for selection, search, rotation, and navigation checksViewerInteractionLabreadme pages now document the added interaction workflow across the localised demo readme set
Version 1.56.7
Added
AccessibilityWorkbenchClinow maps each triggered finding to its WCAG 2.1 Success Criteria and ISO 14289-1 (PDF/UA-1) clause area, and shows a standards-coverage section in the reportsAccessibilityWorkbenchClinow calculates a documented 0-100 accessibility score with a published penalty rubric and excellent / good / needs work / poor bands, surfaced per file and as a batch averageAccessibilityWorkbenchClinow acceptsfailscore=Nto fail the run (exit code 2) when any file scores below NAccessibilityWorkbenchClican now write a SARIF 2.1.0 log when the batch summary name ends in.sarif, with one rule per finding kind carrying its WCAG 2.1 and PDF/UA tags for CI and code-scanning ingestionAccessibilityWorkbenchClinow adds aversioncommand that prints the linked PDFium Delphi Component version
Version 1.56.6
Added
IntakeWorkbenchClinow calculates a SHA-256 forensic hash for each input file, degrading tounavailableon compilers withoutSystem.Hash, and reports it in every formatIntakeWorkbenchClinow acceptspasswords=file.txtto trial-unlock password-protected documents from a candidate list, recording the matching candidate index without ever logging the password textIntakeWorkbenchClinow acceptscopyto=dirto route each audited file into a per-risk-level subfolder, turning the auditor into an intake sorterIntakeWorkbenchClican now write a SARIF 2.1.0 log when the batch summary name ends in.sarif, with one rule per risk flag and one result per flagged file for CI and code-scanning ingestionIntakeWorkbenchClinow adds aversioncommand that prints the linked PDFium Delphi Component version
Version 1.56.5
Added
IntakeWorkbenchClinow works out recommended post-intake actions such as accept, request-password, manual-review, quarantine, and deduplicate, and exposes action counts in batch summariesAccessibilityWorkbenchClinow works out recommended remediation actions such as pass-through, remediate-tags, run-ocr, remediate-semantics, and manual-review, with matching batch action counts
Changed
- Both tool-grade CLI demos now surface the recommended action in console, text, HTML, JSON, and CSV output so batch operators can route files without post-processing risk or status fields
Version 1.56.4
Fixed
- Reading annotations, bookmarks, or link annotations in a loop no longer leaks the previous item's text strings: the
TPdfAnnotation,TBookmark, andTLinkAnnotationresult records are now cleared with managed-type-aware initialisation instead of raw memory zeroing, so documents carrying very large numbers of text-bearing annotations no longer inflate process memory for the lifetime of the application - Destroying a
TPdfthat had registered anOnUnsupportedFeaturehandler now detaches it from the process-global PDFium callback, so a later document load from anotherTPdfinstance with no handler of its own can no longer dispatch into the freed component (use-after-free)
Version 1.56.3
Fixed
AccessibilityWorkbenchClino longer counts blank pages as heuristic reading-order pages, so tagged documents with empty separator pages keep the correct accessibility status; pages without readable content are now reported separatelyAccessibilityWorkbenchClitable-header detection no longer credits an outer table forTHcells that belong to a nested table, and form-field and font names are now matched case-sensitively so distinct fields are not mergedIntakeWorkbenchCliURL host inventories now strip userinfo, query, and fragment parts, so a crafted link such as[email protected]is attributed to the real host, whilstmailto:targets contribute their domain instead of becoming invisibleIntakeWorkbenchCliMarkdown reports now escape backticks in attacker-controlled paths, hosts, and attachment names so report formatting cannot be broken from inside a document
Changed
AccessibilityWorkbenchClinow reports font-scan and form-field-scan failures as separate counters, marks non-embedded fonts that also have embedded instances, and caps long font lists with an explicit truncation markerIntakeWorkbenchClibatch summaries now add an attachment-annotation count column, and the per-page annotation census is capped at 20000 annotations per page with the cap reported in every format
Version 1.56.2
Added
AccessibilityWorkbenchClinow audits font embedding, form-field tooltips, reading-order source, document outlines, table and list structure, suspicious alternate text, and richer per-page review detail so accessibility batch reports identify more remediation targetsIntakeWorkbenchClinow reports page-scan limits, launch and remote-go-to actions, URI host inventories, annotation counts, unsupported PDFium features, duplicate document identifiers, and expanded risk flags for automated intake review
Changed
IntakeWorkbenchClinow acceptsmaxpages=Nin single-file and batch modes to cap per-document page scans whilst still completing metadata, attachment, script, XFA, signature, and risk reporting
Version 1.56.1
Fixed
- Loading an older
pdfium.dllthat is missing a newer export now fails cleanly: the failure path resets every bound API entry point, soAssigned()checks, for example onFPDF_GetLastErrororFPDF_GetSecurityHandlerRevision, report the library as not loaded instead of calling into the already-unloaded module and crashing with an access violation UnloadLibrarynow clears every PDFium API binding rather than only the optional V8 helpers, so no stale function pointers survive after the DLL is released
Version 1.56.0
Added
- Word-level karaoke reading cursor on
TPdfView:TrackReadingWordAtmaps a text-to-speech engine's current-word character offset, such as SAPIStatus.InputWordPosition, onto the page word boxes, highlights the word that contains it as a distinct overlay above the reading block, scrolls it into view, and returns the word index, so the spoken word lights up as the voice advances SetReadingWordandClearReadingWordset or clear the highlighted word straight from aTPdfWordBox; re-setting the same word is a no-op, so per-word tracking never flickers the viewReadingWordColorandReadingWordFollowcontrol the word-cursor colour and whether the view auto-scrolls the spoken word into view
Version 1.55.2
Fixed
- ViewerInteractionLab now gives the toolbar rows extra vertical space so Open PDF, Create Sample, navigation, search, and selection controls no longer overlap under scaled fonts
Version 1.55.1
Fixed
- ViewerInteractionLab now places Prev, Next, and Rotate on the second toolbar row, avoiding the overlap with Open PDF and Create Sample at start-up
Version 1.55.0
Added
- Word-to-selection bridge for read-it-select-it reading:
TPdfView.SelectWordBoxandSelectWordSpanselect a single word box or a same-page span of word boxes fromPageWordBoxesby their character ranges, so the word or line currently being read can also be selected and copied WordBoxIndexAtCharIndexmaps a character index back to the word box that contains it, driving word-by-word highlighting as a TTS read cursor advances
Version 1.54.0
Added
- Voice form-filling accessors that read the focused field directly from the logical cursor:
FocusedFormFieldValue,FocusedFormFieldName, andFocusedFormFieldDetailsonTPdfandTPdfViewexpose the current field value, human-readable name (/TUtooltip, falling back to/T), and fullTPdfFormFieldInfofor keyboard or voice-driven form filling
Fixed
FocusedFormFieldValuereads byFocusedFormFieldIndexrather than pdfium interactive focus, so it reports the logical field value even when no on-screen caret exists, whileFocusedFormFieldTextremains tied to pdfium focus
Version 1.53.0
Added
- Word-level highlighting support:
TPdf.PageWordBoxesandTPdfView.PageWordBoxesexposeTPdfWordBoxranges and page rectangles so a reader can highlight each spoken word throughSetReadingHighlight BuildWordBoxesSplits page text into TPdfWordBox records with word text and FTextPage character ranges
Version 1.52.0
Added
- Low-vision rendering helpers
InvertPdfBitmap,GrayscalePdfBitmap, andDuotonePdfBitmaptransform rendered 32-bit TBitmap pixels in place for inverted, greyscale, or two-colour low-vision views - The helper forces pf32bit and updates ScanLine pixels directly, so it works after RenderPage or ToBitmap without an extra staging buffer
Version 1.51.0
Added
- Sentence-level reading units for assistive listen-reading:
TPdf.ReadingUnits,TPdf.DocumentReadingUnitsandTPdfView.ReadingUnitslinearise the readable content stream into ordered, sentence-sizedTPdfReadingUnitrecords — each carries the text to speak plus its semantic kind, page, highlight rectangles and language tag, so a screen-reader application can step through a page or the whole document one spoken unit at a time - Semantic navigation with
NextReadingUnitOfKind, letting a voice UI jump to the next or previous heading, figure, list item or table cell without scanning the stream by hand BuildReadingUnitsconverts anyTPdfContentFragmentsinto reading units directly: headings and figure/alt descriptions stay whole whilst paragraphs split on sentence boundaries, decimal points are preserved, and the reading cursor is a plain caller-owned index
Version 1.50.0
Added
ValidatePdfAcan now inspect PDF 1.5+ documents that store the catalog, OutputIntent, or other dictionaries inside compressed object streams (/Type /ObjStm); the object streams are inflated and the objects they carry are resolved, so such documents are validated on their merits rather than being reported as missing their PDF/A markers
Version 1.49.5
Fixed
ValidatePdfAno longer reports a missingpdfaExtension:schemasdescription as a problem. The PDF/A identifier schema (pdfaid) is well known, so neither veraPDF nor PDF/A-2/-3 requires an extension-schema description for it, and flagging its absence mis-reported every conformant third-party PDF/A. Documents the library itself produces still include the description
Version 1.49.4
Fixed
ValidatePdfAnow detects the conformance level when the PDF/A identifier is written as XML attributes (pdfaid:part="2") rather than child elements, so attribute-form documents are no longer reported with an unknown level; this also fixes a cascade where an undetected level made the part-specific checks fall back to the strict PDF/A-1 rules and wrongly flag embedded files and transparency that PDF/A-2 and PDF/A-3 permit
Version 1.49.3
Fixed
ValidatePdfAnow inspects PDF 1.5+ documents whose cross-reference data is a cross-reference stream, meaning files with notrailerkeyword; the conformance level, trailer/ID, and the other markers are read from the cross-reference stream dictionary, so such documents are validated on their merits instead of being reported as wholly non-conformant
Version 1.49.2
Fixed
ValidatePdfAno longer reports a spurious non-embedded-font issue on documents that embed all of their fonts; the previous heuristic compared the number of/FontDescriptortokens against embedded font programs, but each embedded font contributes two/FontDescriptortokens, the font dictionary reference plus the descriptor object, so every embedded-font file was wrongly flagged. The check now reports only a document that references fonts yet embeds no font program at all, matching the correspondingValidatePdfUacorrection
Version 1.49.1
Fixed
- PDF/A output now validates as conformant PDF/A-1b and PDF/A-1a with veraPDF: the embedded sRGB OutputIntent ICC profile stream (referenced by
/DestOutputProfile) now declares the required/Ncomponent count (3 for the built-in RGB profile), as mandated by ISO 19005-1 6.2.3.2. Documents produced bySaveAsPdfApreviously failed strict PDF/A-1 validation because the destination profile stream omitted/N; the value is derived from the ICC profile header, so a caller-supplied CMYK or grey profile receives the correct count as well
Version 1.49.0
Fixed
ValidatePdfUano longer reports spurious missing XMP identification on conformant tagged PDFs — the PDF/UA identifier (pdfuaid:part),dc:title, the XMP dates, and the trailer/IDare now read from the original document bytes rather than the re-saved copy, which omits the/MetadataXMP stream and, for cross-reference-stream files, the trailer/IDValidatePdfUafont-embedding check corrected so a document that embeds all its fonts is no longer reported as having non-embedded fonts; it now flags only a document that references fonts yet embeds no font program at allValidatePdfUanow accepts aFormulastructure element whose alternative text comes throughActualTextrather than anAltentry (ISO 14289-1 §7.7), consistent with the existingFigurerule
Version 1.48.0
Added
- Programmatic text selection on
TPdfView:SelectTextRange(by page and character range) andSetSelection(by explicit per-page ranges) select text from code, for example to read and highlight a passage; both repaint and raiseOnSelectionChangewhen the selection changes.SelectionRangesreads the current selection as per-page character ranges, andSelectionRectanglesreturns its rectangles in page coordinates for custom highlighting or scroll-to
Version 1.47.0
Added
- Form field navigation for voice-driven form filling, on both
TPdfandTPdfView:FormFieldTabOrder,FocusedFormFieldIndex,FocusFormField,FocusNextFormField,FocusPreviousFormField,ClearFormFieldFocusandFocusedFormFieldText. These move a logical field cursor over the page's widget fields in tab order, wrapping at the ends, so an assistive reader can walk the form, announce each field viaFormFieldInfo[Index].AlternateName(the /TU tooltip), and fill it viaFormField[Index] TPdfView.OnFormFieldFocusChangeevent, raised when the field cursor moves and carrying the new field index, or -1 when cleared
Version 1.46.0
Added
- Assistive listen-reading content stream:
TPdf.ReadableContent,TPdf.ReadablePageContent,TPdf.DocumentReadableContent, andTPdfView.ReadableContentreturn an ordered list of semanticTPdfContentFragmentitems, each carrying the spoken text (real glyphs, orActualText/Alt for figures), a fragment kind (heading with level, paragraph, figure, list item, table cell, link, plain), language, 1-based page, and block plus per-line highlight rectangles. Tagged PDFs are linearised in logical reading order from the structure tree; untagged pages fall back to render order, so any document can be read aloud - Synced reading highlight on
TPdfView:SetReadingHighlight,ClearReadingHighlight, and the publishedReadingHighlightColorhighlight the block currently being read on top of the search and selection overlays - New public types
TPdfContentFragment,TPdfContentFragments,TPdfReadableContent,TPdfContentFragmentKind, andTPdfReadingOrderSource, together with the new helperClassifyStructType
Version 1.45.0
Added
ValidatePdfUanow also walks the live tagged structure tree and reports three high-confidence content violations that byte-level scanning cannot detect: aFigureelement with neither an Alt entry nor ActualText (ISO 14289-1, 7.3), aFormulaelement without an Alt attribute (7.7), and aNoteelement that lacks a unique ID (7.9). Three newTPdfUaValidationIssuevalues surface these:pvuaiFigureMissingAlt,pvuaiFormulaMissingAlt, andpvuaiNoteMissingId; the tree walk is skipped for untagged documents- New public helper
ValidatePdfUaStructureElementsapplies those structure-tree rules to a flat element list, as returned byTPdf.StructureElements, so the checks can be run or unit-tested without loading a full document
Version 1.44.5
Fixed
- The
ValidatePdfAfont-embedding check (pvaiFontNotEmbedded, ISO 19005-1, 6.3.4) now also detects non-embedded simple fonts that carry no/FontDescriptor, most importantly the 14 standard Type 1 fonts (Helvetica, Times, Courier, and so on) which PDF/A requires to be embedded with no exemption. Previously such a font went unnoticed; the check now also counts simple-font dictionaries (/Type1,/TrueType,/MMType1) against the embedded font programmes, mirroring the PDF/UA fix in 1.44.3
Version 1.44.4
Fixed
ValidatePdfVTnow rejects malformed ISO 16612-2 §6.5 DPart trees where/DPartsis a flat reference array rather than the required array of arrays, or where a leaf DPart repeats its/Startpage as/Endeven though the range contains only one pageValidatePdfVTnow validates/NodeNameListnames as XML NMTOKEN values after PDF name#xxescape expansion, so invalid hierarchy level names are reported throughpvviMissingDPartRootrather than being accepted as usable DPart structure
Version 1.44.3
Fixed
- The
ValidatePdfUafont-embedding check (pvuaiFontNotEmbedded, ISO 14289-1, 7.21.4) now also detects non-embedded simple fonts that carry no/FontDescriptor, most importantly the 14 standard Type 1 fonts (Helvetica, Times, Courier, and so on) for which PDF/UA grants no embedding exemption. Previously such a font went unnoticed and a document that used it could be reported as compliant; the check now also counts simple-font dictionaries (/Type1,/TrueType,/MMType1) against the embedded font programmes
Version 1.44.2
Fixed
ValidatePdfVTnow leaves a present but unrecognisedpdfvtid:GTS_PDFVTVersionmarker aspvcUnknowninstead of downgrading it topvcNone. This keeps invalid file-level strings such asPDF/VT-2sdistinguishable from documents that carry no PDF/VT marker; PDF/VT-2s is identified by the MIME stream header in ISO 16612-2 Annex A, not by a PDF file's XMP marker- The
/DPartRootcheck now validates the ISO 16612-2 §6.5 tree semantics more tightly:/DPartRootNodeand/NodeNameListmust describe the actual DPart depth, DPart parent links must form a tree,/Startand/DPartsare mutually exclusive, and each page/DPartmust point to the covering leaf DPart in the same depth-first order as the page tree
Version 1.44.1
Fixed
SaveAsPdfVTnow writes a minimal ISO 16612-2 §6.5 Document Part Hierarchy when the source PDF lacks a usable/DPartRoot; the generated tree links every page through/DPart, preserves an existing valid hierarchy, and leaves richer recipient/DPM metadata to the calling workflowValidatePdfVTnow validates the usable DPart structure, reads PDF/VT XMP values from both RDF attributes and element text, and enforces the exact PDF/VT-to-PDF/X base pairing: PDF/VT-1 requires PDF/X-4, whilst PDF/VT-2 requires PDF/X-4p, PDF/X-5g, or PDF/X-5pgTPdfVTSaveOptions.Conformance = pvc2no longer writes invalid single-file PDF/VT-2 markers. The single-file writer normalises output to PDF/VT-1 because PDF/VT-2 requires file-set semantics
Version 1.44.0
Added
ValidatePdfUanow also reports byte-checkable content-level PDF/UA violations in addition to the file-format markers: a font programme that is not embedded (ISO 14289-1, 7.21.4), a font that lacks a/ToUnicodeCMap when no exempt simple-font encoding is present (7.21.7), and a document that carries annotations but declares no page/Tabs /Stab order (7.18.3)- Three new
TPdfUaValidationIssuevalues —pvuaiFontNotEmbedded,pvuaiFontMissingToUnicode, andpvuaiMissingTabsOrder— are surfaced byValidatePdfUaand in the preflight report; they are coarse heuristics intended as preflight hints rather than a full ISO 14289-1 verification
Version 1.43.1
Fixed
SaveAsPdfUanow enforces the ISO 14289-1, 7.1 mandatory/ViewerPreferences/DisplayDocTitle trueand/MarkInfo/Marked true/Suspects falsecatalog entries even when the source document already provides those dictionaries with missing or contradicting values; previously the markers were injected only when the dictionaries were entirely absent, so a source carrying, for example, a/ViewerPreferenceswithoutDisplayDocTitleor a/MarkInfowith/Marked falseround-tripped to a non-conforming file- Existing keys in a pre-existing
/ViewerPreferencesor/MarkInfodictionary are preserved, and a dictionary supplied as an indirect reference is resolved before the mandatory keys are applied
Version 1.43.0
Added
ValidatePdfAnow applies the PDF/A-2 / PDF/A-3 rules for embedded and associated files and for Level U text; embedded files are still rejected for PDF/A-1, for PDF/A-3 an embedded file that lacks the required/AFRelationshipkey (ISO 19005-3 Annex E) is flagged, and PDF/A-2 attachments are permitted, though their own conformance is not verified recursively. A newpvaiUnicodeMappingMissingissue reports a PDF/A-2u or PDF/A-3u document whose fonts carry no/ToUnicodemapping (ISO 19005-2 6.2.11.7); transparency and optional content remain flagged only for PDF/A-1
Version 1.42.0
Added
- PDF/A-2 (ISO 19005-2) and PDF/A-3 (ISO 19005-3) are now supported at all three conformance levels — a, b and u — by
SaveAsPdfA,ValidatePdfA, and thePdfAConformanceproperty. TheTPdfAConformanceenumeration gainspac2a,pac2u,pac3a, andpac3u(PDF/A-1 has no Level u); saving writes the matchingpdfaid:part(2 or 3) andpdfaid:conformance(A, B or U), whilst keeping theGTS_PDFA1OutputIntent subtype that ISO 19005-2 retains for compatibility. A Level A request still downgrades to the matching Level B, for any part, when the document lacks the tagged structure that level requires
Version 1.41.0
Added
ValidatePdfAnow detects content-level PDF/A violations that marker injection cannot repair, on top of the structural markers it already reported: JavaScript and other forbidden actions, additional-actions (/AA), embedded files,LZWDecode, transparency (soft masks and transparency groups), optional content (/OCProperties), forbidden annotation subtypes (FileAttachment, Sound, Movie, 3D, Screen), AcroForm/NeedAppearances trueand/XFA, fonts whose descriptors lack an embedded font program, and a Level A claim made without the tagged structure required by ISO 19005-1 6.8. The transparency, optional-content, and embedded-file checks apply only to PDF/A-1, where these features remain disallowed in contrast to PDF/A-2 and PDF/A-3; newTPdfAValidationIssuevalues surface each case, and the existing values are unchanged
Version 1.40.3
Fixed
SaveAsPdfAnow strips any source-document encryption before producing PDF/A output; ISO 19005-1 6.1.3 forbids the trailer/Encryptkey, but the save path had previously preserved the source's security handler, so saving an encrypted document as PDF/A produced an encrypted, non-conformant file. The PDF/A save now decrypts the document first, and unencrypted documents are unaffected
Version 1.40.2
Fixed
- Stopped
SaveAsPdfAfrom emitting a false PDF/A Level A conformance claim. When Level A (pac1a) is requested but the source document lacks the tagged-structure markers required by ISO 19005-1 6.8 — a/StructTreeRootin the catalogue and a/MarkInfodictionary with/Marked true— the saved file is now identified as the matching Level B (pdfaid:conformance=B) instead of asserting Level A. Purely visual PDF/A-1b output is unaffected
Version 1.40.1
Fixed
- Tightened PDF version-compliance validation so that the
SetOCGState(set-optional-content-group-state) action is recognised as a PDF 1.5 feature. Saving to a PDF 1.2, 1.3, or 1.4 target that contains aSetOCGStateaction is now rejected to match ISO 32000-1 (Table 198); previously such an action could pass through into lower-version output. The distinct, obsolete PDF 1.2SetStateaction is still accepted from PDF 1.2 onwards
Version 1.40.0
Added
- Bound the PDFium
FPDFPageObj_AddExistingMark()API, which attaches an existing content mark to a page object; when consecutive page objects share the same mark, the saved PDF collapses them into a single mark that spans them all, whilst non-consecutive objects receive separate copies - Bound the PDFium
FPDFTextObj_SetFontSize()API for changing the point size of an existing text object, complementing the existingFPDFTextObj_GetFontSize()binding
Changed
- Refreshed the bundled PDFium runtime DLLs (Win32 and Win64, standard and V8 builds) to the 2026-06-02 PDFium snapshot
Version 1.39.53
Changed
- Changed the Delphi
PDFViewer,SplitView, andMultiPageViewerdemos so they open documents inZoom to Pagemode by default - The initial render now fits the whole page into the viewer surface before the user chooses a manual zoom level
- Updated
TPdf.AboutInfo, Lazarus package metadata, and installer version metadata to report 1.39.53
Version 1.39.52
Changed
- Enhanced
Demo\Lazarus\CreatePDFso the introductory sample now produces a two-page PDF with vector paths, table content, an embedded image, a text annotation, rotated text, and a clearer document-building walkthrough - Added polished
README.htmlpages for every Delphi, C++Builder, and Lazarus demo folder, replacing the last text-only demo README with a browser-readable guide - Updated
TPdf.AboutInfo, Lazarus package metadata, and installer version metadata to report 1.39.52
Version 1.39.51
- Enhanced
Demo\Delphi\PreflightReportClibatch summaries with standard status totals for Pass, Action required, and Review results across the selected standards - Per-file rows now include action-required and review counts in TXT / HTML / JSON / CSV summaries, making CI artifacts easier to inspect without opening each generated report
- Updated
TPdf.AboutInfo, Lazarus package metadata, and installer version metadata to report 1.39.51
Version 1.39.50
- Enhanced
Demo\Delphi\PreflightReportClidirectory batch mode sobatchdir=foldercollects discovered PDF paths, sorts them, and then generates reports in a stable order - Recursive directory scans now produce reproducible report order and summary rows, while explicit
batch=list.txtprocessing continues to preserve the list file order - Updated
TPdf.AboutInfo, Lazarus package metadata, and installer version metadata to report 1.39.50
Version 1.39.49
- Enhanced
Demo\Delphi\PreflightReportClibatch summaries to record run settings: source kind, source path, recursive state, output directory, report format, selected standards, andfailon=mode - JSON summaries now include a
runobject, TXT and HTML summaries show a run settings section, and CSV rows repeat the same audit columns for spreadsheet and CI pipelines - Updated
TPdf.AboutInfo, Lazarus package metadata, and installer version metadata to report 1.39.49
Version 1.39.48
- Enhanced
Demo\Delphi\PreflightReportClibatch output naming so duplicate input file names that share oneoutdir=no longer overwrite each other's generated reports - Batch runs now append
-2,-3, and later suffixes when a generated report path has already been assigned in the same run, and summaries record the final collision-safe report path - Updated
TPdf.AboutInfo, Lazarus package metadata, and installer version metadata to report 1.39.48
Version 1.39.47
- Enhanced
Demo\Delphi\PreflightReportClibatch summaries so TXT and JSON outputs now include aggregate totals for total files, processed files, failed files, issues, andfailon=matches - CSV summaries remain a pure row table for existing consumers, while HTML summaries continue to show the same aggregate metrics in the dashboard header
- Updated
TPdf.AboutInfo, Lazarus package metadata, and installer version metadata to report 1.39.47
Version 1.39.46
- Enhanced
Demo\Delphi\PreflightReportCliwithsummary=batch.html/.htmso batch runs can emit a browser-readable dashboard alongside TXT / CSV / JSON manifests - HTML summaries show total, processed, failed, issue, and
failon=match metrics, then list each input with report links, status, counts, and error text - Updated
TPdf.AboutInfo, Lazarus package metadata, and installer version metadata to report 1.39.46
Version 1.39.45
- Enhanced
Demo\Delphi\PreflightReportCliwithbatchdir=folderandrecursiveso scripts can scan PDF folders directly without first writing a list file - Directory batch mode reuses
outdir=,summary=,standards=, andfailon=behaviour from list-based batch mode, while non-recursive scans only the selected folder andrecursiveincludes subfolders - Updated
TPdf.AboutInfo, Lazarus package metadata, and installer version metadata to report 1.39.45
Version 1.39.44
- Enhanced
Demo\Delphi\PreflightReportCliwithsummary=batch.csv|json|txtso batch runs can emit a machine-readable manifest beside the per-file reports - Batch summaries include each input path, report path, status, standard count, passed count, issue count,
failon=match state, and error text for CI jobs and external scripts - Updated
TPdf.AboutInfo, Lazarus package metadata, and installer version metadata to report 1.39.44
Version 1.39.43
- Enhanced
Demo\Delphi\PreflightReportCliwithbatch=list.txtandoutdir=reportsso scripts can generate preflight reports for a list of PDF files in one run - Batch mode skips blank and
#comment lines, derives each.preflight.<ext>report name from the input PDF, continues after per-file errors, and summarises processed and failed files before returning - Updated
TPdf.AboutInfo, Lazarus package metadata, and installer version metadata to report 1.39.43
Version 1.39.42
- Enhanced
Demo\Delphi\PreflightReportCliwithfailon=none|issues|action|reviewso CI jobs can turn generated preflight results into deterministic exit codes - The CLI now returns exit code 2 when a selected
failon=rule matches after the report file and optional attached-report PDF have been generated, while runtime errors still return exit code 1 - Updated
TPdf.AboutInfo, Lazarus package metadata, and installer version metadata to report 1.39.42
Version 1.39.41
- Enhanced
Demo\Delphi\PreflightReportCliwithattach=output.pdfso a generated preflight report can be embedded as a document-level attachment in a new PDF copy - The CLI keeps the generated TXT / HTML / Markdown / JSON / CSV report file on disk and refuses to attach back into the original input PDF path, reducing accidental overwrite risk
- Updated
TPdf.AboutInfo, Lazarus package metadata, and installer version metadata to report 1.39.41
Version 1.39.40
- Added
Demo\Delphi\PreflightReportCli, a Delphi console companion for scriptableFPdfPreflightReportgeneration without opening a viewer - The CLI supports no-argument sample creation plus input / output arguments, optional password,
text/html/md/json/csvoutput formats, andstandards=filtering for PDF/A, PDF/UA, PDF/E, PDF/X, PDF/R, and PDF/VT - Updated
TPdf.AboutInfo, Lazarus package metadata, and installer version metadata to report 1.39.40
Version 1.39.39
- Enhanced
FPdfPreflightReportwithTPdfPreflightReport.ToMarkdownandSaveMarkdownToFileso preflight reports can be exported as issue-tracker-friendly Markdown - Updated the Delphi, C++Builder, and Lazarus
PreflightReportsamples with Markdown preview switching and Save MD actions alongside the existing TXT / HTML / JSON / CSV workflow - Updated
TPdf.AboutInfo, Lazarus package metadata, and installer version metadata to report 1.39.39
Version 1.39.38
- Enhanced the Delphi, C++Builder, and Lazarus
SecurityAuditsamples with JSON audit report export alongside the existing TXT save / copy workflow - The JSON report contains
format,generatedAt,summary,findingCount, and structuredfindingsrows with severity, area, and detail fields - Updated
TPdf.AboutInfo, Lazarus package metadata, and installer version metadata to report 1.39.38
Version 1.39.37
- Enhanced
FPdfPreflightReportwithTPdfPreflightReport.ToCsvandSaveCsvToFileso preflight reports can be exported as spreadsheet-friendly CSV - Updated the Delphi, C++Builder, and Lazarus
PreflightReportsamples with CSV preview switching and Save CSV actions alongside the existing TXT / HTML / JSON workflow - Updated
TPdf.AboutInfo, Lazarus package metadata, and installer version metadata to report 1.39.37
Version 1.39.36
- Enhanced
FPdfPreflightReportwithTPdfPreflightReport.IssueCategoryCountsplus reusableTPdfPreflightIssueCategoryCountandTPdfPreflightIssueCategoryCountstypes for aggregating marker-level issues by category - Updated
TPdfPreflightReport.ToText,ToHtml, andToJsonso generated PreflightReport output includes issue-category count summaries alongside per-standard rows and detailed issue recommendations - Updated
TPdf.AboutInfo, Lazarus package metadata, and installer version metadata to report 1.39.36
Version 1.39.35
- Renamed the expanded
PrintDialogsample toPrintPreferencesacross Delphi, C++Builder, and Lazarus so the demo name now matches its PDF author print preferences, N-up printing, odd / even filtering, greyscale, cell border, and duplex mapping workflow - Updated
TPdf.AboutInfo, Lazarus package metadata, and installer version metadata to report 1.39.35
Version 1.39.34
- Enhanced
Demo\Delphi\PrintPDFwith drag-and-drop PDF loading and documented the existingDemo\CBuilder\PrintPDFworkflow alongside the Delphi and Lazarus PrintPDF samples - Updated
TPdf.AboutInfo, Lazarus package metadata, and installer version metadata to report 1.39.34
Version 1.39.33
- Added
Demo\CBuilder\SplitView, completing the SplitView sample matrix across Delphi, C++Builder, and Lazarus - Updated
TPdf.AboutInfo, Lazarus package metadata, and installer version metadata to report 1.39.33
Version 1.39.32
- Added
Demo\Lazarus\SplitView, bringing side-by-side PDF comparison to Lazarus with two- or three-pane layouts, active-view navigation, synchronised commands, zoom presets, and rotation - Updated
TPdf.AboutInfo, Lazarus package metadata, and installer version metadata to report 1.39.32
Version 1.39.31
- Added
Demo\Lazarus\PrintPDF, bringing the standard PDF print workflow to Lazarus with preview navigation, page ranges, copies, collate mode, progress, and cancellation - Updated
TPdf.AboutInfo, Lazarus package metadata, and installer version metadata to report 1.39.31
Version 1.39.30
- Added
Demo\Lazarus\FontProperties, completing the FontProperties sample matrix across Delphi, C++Builder, and Lazarus - Updated
TPdf.AboutInfo, Lazarus package metadata, and installer version metadata to report 1.39.30
Version 1.39.29
- Added
Demo\CBuilder\FontProperties, bringing indexed character and font metadata inspection to C++Builder alongside the Delphi sample - Updated
TPdf.AboutInfo, Lazarus package metadata, and installer version metadata to report 1.39.29
Version 1.39.28
- Added
Demo\Delphi\ExtractTextPages, completing the per-page text extraction sample matrix across Delphi, C++Builder, and Lazarus - Updated
TPdf.AboutInfo, Lazarus package metadata, and installer version metadata to report 1.39.28
Version 1.39.27
- Added
Demo\Lazarus\PrintDialog, completing the PrintDialog sample matrix across Delphi, C++Builder, and Lazarus - Updated
TPdf.AboutInfo, Lazarus package metadata, and installer version metadata to report 1.39.27
Version 1.39.26
- Added
Demo\CBuilder\PrintDialog, bringing the N-up printing and PDF author print preferences workflow to C++Builder alongside the Delphi sample - Updated
TPdf.AboutInfo, Lazarus package metadata, and installer version metadata to report 1.39.26
Version 1.39.25
- Added
Demo\CBuilder\ViewerInteractionLab, completing the ViewerInteractionLab sample matrix across Delphi, C++Builder, and Lazarus - Updated the library build workflow and Win64 C++Builder package outputs so
TPdfViewviewer interaction methods link correctly in Win64 demos - Updated
TPdf.AboutInfo, Lazarus package metadata, and installer version metadata to report 1.39.25
Version 1.39.24
- Added
Demo\Lazarus\ViewerInteractionLab, bringing the focused viewer interaction workflow to Lazarus alongside the Delphi sample - Updated
TPdf.AboutInfo, Lazarus package metadata, and installer version metadata to report 1.39.24
Version 1.39.23
- Added
Demo\Lazarus\SearchAndSelect, completing the SearchAndSelect sample matrix across Delphi, C++Builder, and Lazarus - Updated
TPdf.AboutInfo, Lazarus package metadata, and installer version metadata to report 1.39.23
Version 1.39.22
- Added
Demo\CBuilder\ContentExtractionLabandDemo\Lazarus\ContentExtractionLab, bringing the multi-category content extraction workflow to all supported demo IDEs - Updated
TPdf.AboutInfo, Lazarus package metadata, and installer version metadata to report 1.39.22
Version 1.39.21
- Enhanced
Demo\Delphi\PreflightReport,Demo\Lazarus\PreflightReport, andDemo\CBuilder\PreflightReportwith a preview format selector so users can inspect text or JSON output before saving reports - Updated
TPdf.AboutInfo, Lazarus package metadata, and installer version metadata to report 1.39.21
Version 1.39.20
- Added JSON export to
FPdfPreflightReportthroughTPdfPreflightReport.ToJsonandSaveJsonToFile, producing machine-readable summaries, per-standard status / priority, next actions, and issue details - Updated
Demo\Delphi\PreflightReport,Demo\Lazarus\PreflightReport, andDemo\CBuilder\PreflightReportwith Save JSON actions alongside TXT / HTML export - Updated
TPdf.AboutInfo, Lazarus package metadata, and installer version metadata to report 1.39.20
Version 1.39.19
- Enhanced
FPdfPreflightReportwithTPdfPreflightStatus, issue categories, per-standard priority, and next-action guidance in TXT / HTML reports - Updated
Demo\Delphi\PreflightReport,Demo\Lazarus\PreflightReport, andDemo\CBuilder\PreflightReportto show status, priority, issue count, and next action in the summary grid - Updated
TPdf.AboutInfo, Lazarus package metadata, and installer version metadata to report 1.39.19
Version 1.39.18
- Added
Demo\Lazarus\SecurityAudit, completing the Delphi, C++Builder, and Lazarus demo matrix for the read-only PDF risk-surface audit workflow - The Lazarus sample enumerates permissions, attachments, JavaScript actions, URI / Launch link annotations, web links, signatures, XFA state, V8 / XFA helper availability, and unsupported-feature callbacks, then saves or copies the finding list as a TXT report
- Updated
TPdf.AboutInfo, Lazarus package metadata, and installer version metadata to report 1.39.18
Version 1.39.17
- Added
Demo\CBuilder\SecurityAudit, bringing the read-only PDF risk-surface audit workflow to C++Builder alongside the existing Delphi sample - The C++Builder sample enumerates permissions, attachments, JavaScript actions, URI / Launch link annotations, web links, signatures, XFA state, V8 / XFA helper availability, and unsupported-feature callbacks, then saves or copies the finding list as a TXT report
- Updated
TPdf.AboutInfo, Lazarus package metadata, and installer version metadata to report 1.39.17
Version 1.39.16
- Added
Demo\CBuilder\SearchAndSelect, bringing the standalone SearchAndSelect viewer workflow to C++Builder alongside the existing Delphi sample - The C++Builder sample creates or opens PDFs, lists all-page matches with page / character-index previews, supports Previous / Next and double-click navigation, and highlights current-page matches with
HighlightSearchText - It also exposes
AllowUserTextSelection,SelectedText,SelectAll,CopySelectionToClipboard,ClearSelection,OnSelectionChange, and spreadDisplayModeoptions; version metadata now reports 1.39.16
Version 1.39.15
- Added
Demo\CBuilder\WatermarkStamp, completing the Delphi, Lazarus, and C++Builder demo matrix for reusable Form XObject watermark and stamp workflows - The C++Builder sample creates target and stamp PDFs, reuses the stamp page through
CreateXObjectFromPage, appliesTPdfMatrixtransforms, and saves centred watermarks, corner stamps, and page number labels - Updated
TPdf.AboutInfo, Lazarus package metadata, and installer version metadata to report 1.39.15
Version 1.39.14
- Added
Demo\Lazarus\WatermarkStamp, bringing the reusable Form XObject watermark and stamp workflow to Lazarus - The Lazarus sample creates target and stamp PDFs, reuses the stamp page through
CreateXObjectFromPage, appliesTPdfMatrixtransforms, and saves centred watermarks, corner stamps, and page number labels - Updated
TPdf.AboutInfo, Lazarus package metadata, and installer version metadata to report 1.39.14
Version 1.39.13
- Added
Demo\CBuilder\PreflightReport, completing the Delphi, Lazarus, and C++Builder demo matrix for the reusableFPdfPreflightReportworkflow - The C++Builder sample uses
FPdfPreflightReport.hppto generate standard summaries, TXT report previews, TXT / HTML report files, and Open Last Report behaviour - Updated
TPdf.AboutInfo, Lazarus package metadata, and installer version metadata to report 1.39.13
Version 1.39.12
- Added
Demo\Lazarus\PreflightReport, bringing the PDF/A, PDF/UA, PDF/E, PDF/X, PDF/R, and PDF/VT preflight report workflow to Lazarus - The Lazarus sample can open or create a PDF, select target standards, preview summary rows and TXT report output, save TXT / HTML reports, and open the most recently saved report
- Updated
TPdf.AboutInfo, Lazarus package metadata, and installer version metadata to report 1.39.12
Version 1.39.11
- Enhanced
Demo\Delphi\SearchAndSelectwith an all-page search results list that records page number, character index, and preview text - Added Previous / Next match navigation and double-click result jumping while preserving current-page
HighlightSearchTextbehaviour - Updated
TPdf.AboutInfo, Lazarus package metadata, and installer version metadata to report 1.39.11
Version 1.39.10
- Enhanced
Demo\Delphi\SecurityAuditwith Save Report and Copy Report actions that export the current summary and finding rows as a TXT audit report - The demo now clears report export state when the audit panel is reset, keeping copied or saved reports aligned with the visible findings
- Updated
TPdf.AboutInfo, Lazarus package metadata, and installer version metadata to report 1.39.10
Version 1.39.9
- Enhanced
Demo\Delphi\ContentExtractionLabwith source-PDF save, report copy-to-clipboard, and all / none category selection actions - The demo now invalidates the current report when category selections change, so TXT / JSON exports reflect the visible extraction scope
- Updated
TPdf.AboutInfo, Lazarus package metadata, and installer version metadata to report 1.39.9
Version 1.39.8
- Added
Demo\Delphi\ContentExtractionLab, a unified content extraction workflow sample for document metadata, page text, page objects, images, attachments, links, annotations, bookmarks, and font / character metrics - The sample can open an existing PDF or create a synthetic PDF with text, image, attachment, and annotation content, then generate summary rows and detailed TXT / JSON reports
- Updated
TPdf.AboutInfo, Lazarus package metadata, and installer version metadata to report 1.39.8
Version 1.39.7
- Added
Lib\FPdfPreflightReport.pas, a reusable report helper that wrapsValidatePdfA,ValidatePdfUa,ValidatePdfE,ValidatePdfX,ValidatePdfR, andValidatePdfVTinto oneTPdfPreflightReportobject - Added
Demo\Delphi\PreflightReport, a workflow sample that opens or creates a PDF, selects target standards, previews summary rows and issue recommendations, and saves TXT or HTML reports - The generated reports explicitly describe the built-in marker-level validation boundary so applications can pair them with dedicated content-level preflight tools when required
- Updated
TPdf.AboutInfo, Lazarus package metadata, package project lists, and installer version metadata to report 1.39.7
Version 1.39.6
- Added
Demo\Delphi\SearchAndSelect, a focused viewer workflow sample for search highlighting, text selection, selected-text preview, copy, clear, and spread display modes - The sample demonstrates
HighlightSearchText, match-case / whole-word search options,AllowUserTextSelection,SelectedText,SelectAll,CopySelectionToClipboard, andClearSelectionwithout adding new library API - Updated
TPdf.AboutInfo, Lazarus package metadata, and installer version metadata to report 1.39.6
Version 1.39.5
- Expanded
Demo\Delphi\ViewerInteractionLabinto a SearchAndSelect-style viewer UX sample withHighlightSearchText, match-case / whole-word options, selected-text preview, and existing selection / clipboard controls - Extended
Demo\Delphi\PrintDialogto inspect PDF author print preferences:PrintCopies,PrintPageRanges,PrintScaling,PrintPaperHandling, and visibleSetPdfPrintPaperHandlingDevModeduplex mapping - Added
Demo\Delphi\SecurityAudit, a read-only risk-surface sample that lists permissions, attachments, document JavaScript, URI / Launch links, web links, signatures, XFA state, and V8 / XFA helper availability - Updated
TPdf.AboutInfo, Lazarus package metadata, and installer version metadata to report 1.39.5
Version 1.39.4
- Added
Demo\CBuilder\ImageToPDFandDemo\Lazarus\ImageToPDF, completing the ImageToPDF sample matrix across Delphi, C++Builder, and Lazarus - The new samples demonstrate multi-image selection, selected-image preview, one PDF page per image, A4 portrait / landscape page sizing, centred image scaling, per-image progress, and opening the generated PDF after saving
- Updated
TPdf.AboutInfo, Lazarus package metadata, and installer version metadata to report 1.39.4
Version 1.39.3
- Added
Demo\CBuilder\BatchExport, bringing the multi-file PDF to JPG export workflow to C++Builder alongside the existing Delphi and Lazarus samples - The sample demonstrates
LoadCustomDocument,IPdfCancellationTokenSource, streamingTFileStreaminput, per-file and per-page progress, cancel handling, DPI / quality / password inputs, and output-folder opening after completion - Updated
TPdf.AboutInfo, Lazarus package metadata, and installer version metadata to report 1.39.3
Version 1.39.2
- Added
Demo\Delphi\WatermarkStamp, a runnable Form XObject workflow sample that creates a target PDF and reusable stamp PDF, then applies centred watermarks, top-right stamps, and page-number labels across every page - The sample demonstrates
CreateXObjectFromPage,InsertFormObjectFromXObject,TPdfMatrix, andFPDFPageObj_SetMatrixwithout adding new library API - Updated
Docs\en-us\Examples.htmlto use the currentTPdfMatrix.Handlepattern when passing matrices toFPDFPageObj_SetMatrix - Updated
TPdf.AboutInfo, Lazarus package metadata, and installer version metadata to report 1.39.2
Version 1.39.1
- Added
Demo\Delphi\ViewerInteractionLab, a focusedTPdfViewsample for display modes, fit modes, page colours, rotation, user text selection, clipboard actions, andDeviceToPagecoordinate feedback - Added
Demo\CBuilder\StandardsLab/Demo\Lazarus\StandardsLabso Lazarus users can run the PDF/A, PDF/UA, PDF/E, PDF/X, PDF/R, and PDF/VT validation and marker-output workflow - Listed the standards units in
Lib\37.0\PDFiumPas.dprojandLib\FPC\PDFiumLaz.lpkand fixed the DelphiSplitViewdemo build by removing a duplicateWinapi.ShellAPIimport - Fixed Delphi demo batch-build blockers in
BatchExport,PDFViewer,MultiPageViewer, andSplitViewwithout changing their runtime behaviour - Fixed C++Builder demo batch-build compatibility in
PDFViewerandMultiPageViewerby replacingnullptrwithNULLfor the current project mode - Updated
TPdf.AboutInfo, Lazarus package metadata, and installer version metadata to report 1.39.1
Version 1.39.0
- Added
Demo\Delphi\StandardsLab, a runnable standards workflow sample that loads or creates a PDF, runsValidatePdfA,ValidatePdfUa,ValidatePdfE,ValidatePdfX,ValidatePdfR, andValidatePdfVT, and displays detected conformance, pass/fail status, and issue counts in one grid - The StandardsLab save buttons call
SaveAsPdfA,SaveAsPdfUa,SaveAsPdfE,SaveAsPdfX,SaveAsPdfR, andSaveAsPdfVT, making PDF standards marker output visible without writing a custom harness - Updated
TPdf.AboutInfo, Lazarus package metadata, and installer version metadata to report 1.39.0
Version 1.38.0
TPdfViewsearch and text-selection overlays now use real alpha blending instead of logical mask painting, preserving page content under highlights- Added
SetPdfPrintPaperHandlingDevModeto mapTPrintPaperHandlinginto WindowsDEVMODE.dmDuplexvalues:DMDUP_SIMPLEX,DMDUP_HORIZONTAL, andDMDUP_VERTICAL TPdfView.SmoothScrollnow animates line/page scrollbar commands in timer-driven segments; thumb tracking remains immediate- Updated
TPdf.AboutInfoand installer version metadata to report 1.38.0
Version 1.37.0
TPdfnow owns a per-instance render lock that serialisesRenderPage,RenderTile,RenderPageProgressive, page reload, and document unload paths. Worker-driven rendering through a shared component is now practical, while applications still coordinate document mutation and lifetime- Fixed the zero-copy bitmap wrapper to reject bottom-up
TBitmapDIB layouts and fall back to a PDFium-owned buffer before copying out, eliminating stride-corruption / access-violation failures in VCL render tests - Tightened
TPdfViewselection behaviour:AllowUserTextSelectiongates user input only, code-level selection APIs still paint, andSelectAllfollows the actual visible spread so the cover page no longer selects page 2. Delphi, Lazarus, and C++Builder tests were expanded accordingly - Updated
TPdf.AboutInfoand installer version metadata to report 1.37.0
Version 1.36.0
- Activated end-user text selection in
TPdfView— theAllowUserTextSelectionproperty reserved in v1.17.0 now drives a full drag-selection pipeline. Left-clicking a text character enters select mode (hit-test auto); left-clicking blank space continues to pan as before. The form-fill widget still has priority, so clicking a form field focuses that field rather than starting a selection - Double-click selects the word, triple-click selects the line,
Ctrl+Aselects the current page (both pages in spread display modes), andCtrl+Ccopies the selection to the Windows clipboard asCF_UNICODETEXT Shift+Left/Shift+Rightextends the selection one character at a time (spilling to the adjacent page in spread mode);Shift+Home/Shift+Endextends to the visual line edge using the seed character's box height as the line-cluster tolerance, so mixed-font-size lines stay clustered correctly- Hovering over text changes the cursor to
crIBeam; hovering off text restores the default cursor. While a text-selection drag is in progress, dragging into a 20-pixel dead zone at any viewer edge auto-scrolls the page (50 ms tick, 16 px / tick, clamped to the same bounds the pan path uses) so the selection can extend past the current viewport without first releasing the mouse - Cross-page selection works in spread display modes (
dmTwoPageContinuous,dmTwoPageContinuousWithCover): a drag started on the left page and ending on the right page selects the contiguous range spanning both.SelectedTextjoins the per-page slices with CR/LF so the round-tripped text reads like normal multi-line content - New published property
SelectionColor(defaultclHighlight, the Windows system selection colour) — independent fromHighlightColorwhich colours search results in yellow. Search highlights and a live drag-selection can be shown on screen simultaneously without colour conflict - New published event
OnSelectionChangefires whenever the selection's materialised ranges actually mutate — never on identical re-application, so host applications can wire it directly to status-bar text or button enabled state without debouncing - New public API on
TPdfView:HasSelection,SelectionCharCount,SelectedText,ClearSelection,SelectAll,CopySelectionToClipboard. These are code-level entry points and always work regardless ofAllowUserTextSelection— the flag only gates user input (mouse, Ctrl+C, Ctrl+A, Shift+arrows), so kiosk hosts can disable user-driven selection while still building "Select All / Copy" toolbar buttons that drive the same API - A default right-click
Copy/复制pop-up menu is auto-attached when the host has not assigned its ownPopupMenu— standard "select text, right-click, copy" works out of the box. The caption is picked between English and Chinese bySysLocale.PriLangID; hosts that need full localisation (or a richer menu) just assign their ownPopupMenuand the default is suppressed - Selection is automatically cleared on
SetPdf,SetPageNumber,SetActive(False), andDisplayModetransitions, withOnSelectionChangefiring exactly once when the previous selection was non-empty. The form-fill subsystem keeps priority — while a form field is being edited, all selection keyboard shortcuts defer so the field receivesCtrl+C/Ctrl+A/Shift+arrowsfor its own selection - Expanded the Delphi and Lazarus regression suites to 202 cases each, and the C++Builder suite to 159 cases, covering default values, round-trip, public API behaviour, state-change clears, mouse drag (hit-text / hit-blank), click vs drag, IBeam cursor switching, double-click word, triple-click line, keyboard shortcuts, default pop-up attach / defer / caption, and spread cross-page selection — including a clipboard CR/LF round-trip check
Version 1.35.0
- Added PDF/VT (ISO 16612-2:2010) marker injection support: TPdf.SaveAsPdfVT promotes the current document to a PDF/VT-1 or PDF/VT-2 conformant file (the variable and transactional printing PDF subset). PDF/VT is built on top of PDF/X-4 — ISO 16612-2 §6.2.1 requires every PDF/VT-1 file to also conform to PDF/X-4 — so the injector writes the full PDF/X-4 marker set (XMP
pdfxid:GTS_PDFXVersion = "PDF/X-4", Info/GTS_PDFXVersion (PDF/X-4)and/Trapped, catalog/OutputIntentsreferencing an OutputIntent dictionary with embedded ICC profile) alongside the PDF/VT-specific properties - The PDF/VT-specific injection covers XMP
pdfvtid:GTS_PDFVTVersion(= "PDF/VT-1" or "PDF/VT-2" per §6.3 Table 2) andpdfvtid:GTS_PDFVTModDate(kept in sync withxmp:ModifyDateper §6.3 NOTE 1), plus a pdfaExtension:schemas description that declares both the pdfxid and pdfvtid namespaces (NPES URIshttp://www.npes.org/pdfx/ns/id/andhttp://www.npes.org/pdfvt/ns/id/). The trailer carries an/IDarray - Added TPdf.SaveAsPdfVTToStream for in-memory PDF/VT output, and a default-options shorthand
TPdf.SaveAsPdfVT(FileName)that produces PDF/VT-1 with the bundled sRGB IEC61966-2.1 OutputIntent (3144 bytes, same profile as SaveAsPdfA / SaveAsPdfX) and/Trapped /False - Added TPdf.ValidatePdfVT: checks an open PDF for PDF/VT compliance markers (XMP
pdfvtid:GTS_PDFVTVersionandGTS_PDFVTModDatepresence, equality betweenpdfvtid:GTS_PDFVTModDateandxmp:ModifyDate, presence of the underlyingpdfxid:GTS_PDFXVersionidentifier, catalog/DPartRootpresence per §6.5,/OutputIntentswith/DestOutputProfile, trailer /ID, encryption status,xmp:CreateDate/ModifyDatepresence) and returns TPdfVTValidationResult with the detected conformance level and the set of issues found - Added TPdf.PdfVTConformance property: returns the conformance level of the currently open document (pvc1, pvc2, pvcNone, or pvcUnknown) without needing to call ValidatePdfVT explicitly
- New types exported in the new unit FPdfPdfvt: TPdfVTConformance (pvcUnknown/None/1/2), TPdfVTTrappedState (ptvUnspecified/True/False/Unknown), TPdfVTValidationResult, TPdfVTValidationIssue, TPdfVTSaveOptions
- Document Part Hierarchy (
DPartRoot/DParttree per §6.5) is application-level structure that depends on the variable-data print workflow's recipient / page-range mapping. SaveAsPdfVT does NOT synthesise a DPart tree — ValidatePdfVT surfaces a missing/DPartRootaspvviMissingDPartRootso callers can route PDF/VT files through a separate DPart-building step. Content-level PDF/X-4 requirements (font embedding, transparency, ICC managed colour, OPI / JavaScript / Reference XObject prohibitions, etc.) remain the responsibility of the document author and PDFium's rendering pipeline - Updated TPdf.AboutInfo string to report the current product version
Version 1.34.0
- Added PDF/R-1 (ISO 23504-1:2020) marker injection support: TPdf.SaveAsPdfR promotes the current document to a PDF/R-1 conformant file (the raster-image transport subset of PDF used for scanned documents). The injection covers the file-format level requirements that can be attached by post-processing — the unique
%PDF-raster-1.0version-identification comment written between the trailer dictionary and the startxref keyword (§5), the catalog dictionary stripped down to the §6.3 white list (only Version / ViewerPreferences / PageLayout / PageMode / AcroForm / Metadata survive), the Document Information Dictionary stripped to the §6.4.3 white list (only Creator / Producer / CreationDate / ModDate), a catalog /Metadata XMP stream carrying the four §6.4.4 Table 1 entries (xmp:CreatorTool / pdf:Producer / xmp:CreateDate / xmp:ModifyDate), and a trailer /ID array - Added TPdf.SaveAsPdfRToStream for in-memory PDF/R output, and a default-options shorthand
TPdf.SaveAsPdfR(FileName)for the common case - Added TPdf.ValidatePdfR: checks an open PDF for PDF/R-1 compliance markers (the
%PDF-raster-x.yfooter comment, header version, /Type /ObjStm absence, catalog white-list compliance, Info dictionary white-list compliance, XMP metadata stream presence, trailer /ID) and returns TPdfRValidationResult with the detected conformance level and the set of issues found - Added TPdf.PdfRConformance property: returns the conformance level of the currently open document (prc1, prcNone, or prcUnknown) without needing to call ValidatePdfR explicitly
- New types exported in the new unit FPdfPdfr: TPdfRConformance, TPdfRValidationResult, TPdfRValidationIssue, TPdfRSaveOptions.
TPdfRSaveOptions.Defaultsets StripInfoOptionalEntries and StripCatalogOptionalEntries to True, so the injector defaults to producing a §6.3 / §6.4.3 compliant catalog and Info dictionary; callers may set these to False to preserve source entries (the output then won't satisfy those PDF/R clauses, but other markers stay attached) - Content-level requirements remain the responsibility of the source PDF: per-page Contents structure (§6.5.1), MediaBox
[0 0 w h]form (§6.5.3), filter restrictions (§6.2.2 — only FlateDecode, CCITTFaxDecode bitonal, DCTDecode 8-bit grey/RGB), absence of object streams (§6.2.4), and strip layout per §6.6. These cannot be enforced by post-processing — PDF/R is structurally a much stricter subset than the other PDF/x standards and requires generating the source bytes correctly. ValidatePdfR surfaces the file-format issues this unit can detect; pair with a TWAIN Working Group PDF/R validator for full content-level checks - Updated TPdf.AboutInfo string to report the current product version
Version 1.33.0
- Added PDF/X (ISO 15930 family) marker injection support: TPdf.SaveAsPdfX promotes the current document to a PDF/X-1a:2001, PDF/X-3:2002, or PDF/X-4 conformant file by post-processing the base PDF with an incremental update. The injection covers the file-format level requirements that can be attached by post-processing — XMP metadata stream carrying
pdfxid:GTS_PDFXVersion(andpdfxid:GTS_PDFXConformancefor PDF/X-1a / PDF/X-3) plus the matching pdfaExtension:schemas description, a rewritten Document Information Dictionary with/GTS_PDFXVersion,/GTS_PDFXConformance, and/Trappedentries, an updated catalog with/OutputIntents [N 0 R]referencing an OutputIntent dictionary with/S /GTS_PDFXand an embedded ICC profile, and a trailer/IDarray - Added TPdf.SaveAsPdfXToStream for in-memory PDF/X output, and a default-options shorthand
TPdf.SaveAsPdfX(FileName)that produces PDF/X-4 with the built-in sRGB IEC61966-2.1 OutputIntent (3144 bytes, identical to the profile used by SaveAsPdfA) - Added TPdf.ValidatePdfX: checks an open PDF for PDF/X compliance markers (XMP pdfxid identifier and equality with the Info-dictionary value, pdfxid extension schema description, /OutputIntents array with /DestOutputProfile, Title presence, trailer /ID, encryption status, xmp:CreateDate / xmp:ModifyDate presence) and returns TPdfXValidationResult with the detected level and the set of issues found
- Added TPdf.PdfXConformance property: returns the conformance level of the currently open document (pxc1a, pxc3, pxc4, pxcNone, or pxcUnknown) without needing to call ValidatePdfX explicitly. The XMP version string is parsed to disambiguate among the three conformance levels
- New types exported in the new unit FPdfPdfx: TPdfXConformance (pxcUnknown/None/1a/3/4), TPdfXTrappedState (ptUnspecified/True/False/Unknown), TPdfXValidationResult, TPdfXValidationIssue, TPdfXSaveOptions.
TPdfXSaveOptions.Defaulttargets PDF/X-4 with sRGB OutputIntent and/Trapped /False; callers may overrideConformance, supply a CMYKIccProfileDatablob for commercial print workflows, or changeOutputCondition/OutputConditionIdentifier/RegistryNameto point at a specific ICC characterisation registry entry (e.g. FOGRA39, GRACoL2006_Coated1v2) - Content-level requirements (all fonts embedded, no JavaScript, no visible annotations, OPI prohibition, transparency rules for PDF/X-1a / PDF/X-3, etc.) remain the responsibility of the document author and PDFium's rendering pipeline. Pair ValidatePdfX with a preflight tool such as callas pdfaPilot or the Ghent PDF Workgroup Output Suite for complete conformance verification
- Updated TPdf.AboutInfo string to report the current product version
Version 1.32.0
- Added PDF/E-1 (ISO 24517-1:2008) marker injection support: TPdf.SaveAsPdfE promotes the current document to a PDF/E-1 conformant file by post-processing the base PDF with an incremental update. The injection covers the file-format level requirements that can be attached by post-processing — an XMP metadata stream carrying
pdfe:ISO_PDFEVersion = "PDF/E-1"plus the matching pdfaExtension:schemas description, a rewritten Document Information Dictionary with the mandatory/ISO_PDFEVersion (PDF/E-1)entry required by §5, the Info-XMP bridging blocks inherited from ISO 19005-1 §6.7 via §13.1 (dc:title / dc:creator / dc:description / pdf:Producer / pdf:Keywords / xmp:CreateDate / xmp:ModifyDate / xmp:MetadataDate / xmp:CreatorTool), and a trailer/IDarray required by §6.2 - Added TPdf.SaveAsPdfEToStream for in-memory PDF/E output and a default-options shorthand
TPdf.SaveAsPdfE(FileName)for the common case - Added TPdf.ValidatePdfE: checks an open PDF for PDF/E-1 compliance markers (XMP pdfe:ISO_PDFEVersion presence and equality with the Info-dictionary value, pdfe extension schema description, Info-dictionary /ISO_PDFEVersion entry, trailer /ID, xmp:CreateDate / xmp:ModifyDate presence) and returns a structured result with the detected conformance level and the set of issues found
- Added TPdf.PdfEConformance property: returns the conformance level of the currently open document (pec1, pecNone, or pecUnknown) without needing to call ValidatePdfE explicitly
- New types exported in the new unit FPdfPdfe: TPdfEConformance, TPdfEValidationResult, TPdfEValidationIssue, TPdfESaveOptions
- The Info-dictionary rewrite is a first for PDFium Delphi Component's PDF/x post-processing path — it rewrites the existing Info object with the same object number (so xref subsection / trailer /Info reference stay valid) and synthesises a fresh Info dictionary when the source trailer has no /Info entry. PDFium itself emits an Info dictionary in every SaveAs output, so the common case is the rewrite path
- Content-level requirements (font embedding, ToUnicode CMaps, prohibited XObjects / ExtGState keys / XFA forms, etc.) remain the responsibility of the document author — SaveAsPdfE attaches the file-format markers but does not alter page content or remove prohibited features
- Updated TPdf.AboutInfo string to report the current product version
Version 1.31.0
- Added PDF/UA-1 (ISO 14289-1:2014) marker injection support: TPdf.SaveAsPdfUa promotes the current document to a PDF/UA-1 conformant file by post-processing the base PDF with an incremental update. The injection covers the file-format level requirements that can be enforced by post-processing — an XMP metadata stream carrying
pdfuaid:part = 1plus the matching pdfaExtension:schemas description, mandatorydc:title, catalog/MarkInfo << /Marked true /Suspects false >>and/ViewerPreferences << /DisplayDocTitle true >>(only when the source has none), catalog/Lang(when caller supplies a BCP 47 tag), and a trailer/IDarray - Added TPdf.SaveAsPdfUaToStream for in-memory PDF/UA output, and a default-options shorthand
TPdf.SaveAsPdfUa(FileName)for the common case - Added TPdf.ValidatePdfUa: checks an open PDF for PDF/UA-1 compliance markers (StructTreeRoot existence, /Lang, /MarkInfo /Marked true with /Suspects = false, /ViewerPreferences /DisplayDocTitle true, XMP pdfuaid:part identifier, dc:title presence, trailer /ID, encryption status) and returns a structured result with the detected conformance level and the set of issues found
- Added TPdf.PdfUaConformance property: returns the conformance level of the currently open document (puc1, pucNone, or pucUnknown) without needing to call ValidatePdfUa explicitly
- New types exported in the new unit FPdfPdfua: TPdfUaConformance, TPdfUaValidationResult, TPdfUaValidationIssue, TPdfUaSaveOptions
- Title / Author / Subject / Keywords / Creator / Producer / CreationDate / ModDate / DocumentId / InstanceId / Language fields left empty in TPdfUaSaveOptions are auto-populated from FPDF_GetMetaText / FPDF_GetFileIdentifier / FPDFCatalog_GetLanguage, so existing callers can save with a single line
- Content-level requirements (StructTreeRoot tagging completeness, Figure Alt text, ToUnicode CMaps, font embedding, etc.) remain the responsibility of the document author — SaveAsPdfUa attaches the file-format markers but does not alter page content or invent tags. ValidatePdfUa surfaces the absence of StructTreeRoot as
pvuaiMissingStructTreeRootso callers can route untagged documents through a separate tagging pipeline - Updated TPdf.AboutInfo string to report the current product version
Version 1.30.0
- PDF/A-1b output now satisfies the ISO 19005-1 (with Cor.1:2007) requirements for Document Information Dictionary / XMP equivalence: every Info dictionary entry PDFium writes into the base PDF is mirrored into the XMP packet, including Title (dc:title), Author (dc:creator), Subject (dc:description per Cor.1), Keywords (pdf:Keywords), Creator (xmp:CreatorTool), Producer (pdf:Producer), CreationDate (xmp:CreateDate), and ModDate (xmp:ModifyDate). xmp:MetadataDate is also emitted
- The trailer of a PDF/A document now always contains an /ID array (ISO 19005-1 6.1.3 hard requirement). When TPdf.SaveAsPdfA processes a document whose source already has a file identifier, the existing 16-byte permanent and changing IDs are reused; otherwise a deterministic 16-byte fallback ID is derived from the source bytes
- The injected XMP now embeds the pdfaid extension schema description required by ISO 19005-1 6.7.8 (replaced by Cor.1) — pdfaid is treated as an extension schema relative to XMP Specification 2004, so all conforming files must declare its property names, value types, and categories in the pdfaExtension:schemas container
- TPdfASaveOptions gained five new optional fields: Producer, CreationDate, ModDate (PDF date strings in “D:YYYYMMDDHHmmSSOHH'mm'” form), DocumentId, and InstanceId (16-byte byte strings for the trailer /ID array). TPdf.SaveAsPdfA / SaveAsPdfAToStream auto-populate the missing fields from FPDF_GetMetaText and FPDF_GetFileIdentifier, so existing callers continue to work without changes
- TPdf.ValidatePdfA / TPdf.PdfAConformance now report three additional issues: pvaiMissingTrailerId (no /ID in the trailer), pvaiMissingXmpDates (xmp:CreateDate or xmp:ModifyDate missing), and pvaiMissingExtensionSchema (pdfaid extension schema description absent)
- Non-ASCII characters in Title, Author, Subject, Keywords, Creator, and Producer are now encoded as UTF-8 in the XMP packet (XMP Specification requires UTF-8), preserving multilingual metadata round-trip through SaveAsPdfA
- Updated TPdf.AboutInfo string to report the current product version
Version 1.29.0
- Refreshed the bundled PDFium DLLs (Win32 and Win64, both standard and V8 builds) to the 2026-05-22 PDFium snapshot, picking up fixes to FPDFText_SetText / FPDFText_SetCharcodes crash paths and assorted internal hardening from the PDFium project
- Exposed PDFium’s new FPDF_SUBSET_NEW_FONTS save flag in FPdfPageOps.pas, allowing FPDF_SaveAsCopy callers to request automatic subsetting of embedded font files for newly added text objects. The existing FPDF_INCREMENTAL, FPDF_NO_INCREMENTAL, and FPDF_REMOVE_SECURITY constants are now defined using the PDFium bit-shift form (the legacy numeric value 3 is preserved as FPDF_REMOVE_SECURITY_DEPRECATED for binary compatibility)
- Added the FPDF_FONT_BACKEND_TYPE enum (FREETYPE / FONTATIONS) and the matching m_FontLibraryType field on FPDF_LIBRARY_CONFIG in FPdfView.pas, so applications that initialise PDFium with the Skia renderer can now pick the font backend at startup
- Updated the TFPDFPage_InsertObject signature to match PDFium: the C function now returns FPDF_BOOL (TRUE on success, FALSE if page_object is NULL or ownership transfer fails) instead of void. Existing PDFium Delphi Component callers continue to compile unchanged since Delphi / FPC allow ignoring a function’s return value
- Corrected the TPdf.AboutInfo string to report the current product version (was stale at v1.27.0 since the v1.28.0 documentation-only release)
Version 1.28.0
- Substantially expanded the in-page documentation across the entire API reference: every property, method, event, and global function entry now carries a 3-paragraph Description, a Remarks list, a multi-line Delphi Example, and a richer See Also block — covering 200+ previously thin pages including all TPdf counters, metadata getters, font and character accessors, page-level properties, indexed records, document-level methods, and the full TPdfView state / display / event surface
- Adjusted the help layout to match the losLab visual baseline: harmonised h1/h2 sizes, centralised the API navigation grid styles in the shared StyleSheet, and removed the per-page inline CSS overrides on Navigation.html
- Documentation now ships with a helper script (Docs\Build-Expand-Entries.ps1) that regenerates the entry-page enrichment from a single data table for repeatable maintenance
Version 1.27.0
- Added PDF/A-1b creation support: TPdf.SaveAsPdfA saves any open document as a PDF/A-1b conformant file by post-processing the base PDF with an incremental update that injects an XMP metadata stream, an sRGB ICC OutputIntent, and an updated document catalog — all without requiring extra DLL APIs. Works on any platform supported by PDFium Delphi Component
- Added TPdf.SaveAsPdfAToStream for in-memory PDF/A output
- Added TPdf.ValidatePdfA: checks an open PDF for PDF/A compliance (XMP pdfaid markers, OutputIntent with embedded ICC profile, encryption) and returns a structured result with the detected conformance level and a set of specific issues found
- Added TPdf.PdfAConformance property: returns the conformance level of the currently open document (pac1b, pac1a, pac2b, pac3b, pacNone, or pacUnknown) without needing to call ValidatePdfA explicitly
- New types exported: TPdfAConformance, TPdfAValidationResult, TPdfAValidationIssue, TPdfASaveOptions (in new unit FPdfPdfa.pas)
- SaveAsPdfA supports a custom ICC profile via TPdfASaveOptions.IccProfileData; when left empty the built-in sRGB IEC61966-2.1 (HP/Microsoft, 3144 bytes) profile is used automatically
- Replaced the monolithic HTML reference with a restructured web help system: 302 individual API entry pages (one per property, method, event, and global function) covering TPdf and TPdfView, each with a full description, parameter table, Delphi code example, and See Also links
- Added Navigation.html: a comprehensive one-page API navigation index organised into six sections (TPdf properties/methods/events, TPdfView properties/methods/events, global functions) with a 5-column flex grid for fast scanning
- Rebuilt TPdf.html and TPdfView.html as compact component overview pages retaining the type-reference sections (Types, Constants, Global Variables) and linking out to the individual entry pages for all members
- Added full-text search powered by Search.js with incremental client-side matching across all 312 indexed pages
- Updated all navigation bars site-wide to point to Navigation.html
Version 1.26.0
- Added Demo/Lazarus/BatchExport, the LCL port of the v1.14.0 Delphi BatchExport demo. Same feature set: multi-file PDF -> JPG export with per-file overall progress, per-page current progress, DPI / quality / password inputs, and a cooperatively-cancellable batch backed by IPdfCancellationToken. The output folder is opened in the platform file manager when extraction finishes successfully
Version 1.25.0
- Added Form XObject page reuse to TPdf, enabling watermark, template overlay, and “stamp one page onto many” workflows: CreateXObjectFromPage manufactures a reusable handle from any page of another document; InsertFormObjectFromXObject inserts ONE copy of the wrapped page into the current page. Returns the inserted FPDF_PAGEOBJECT so the caller can position / scale / rotate it with FPDFPageObj_SetMatrix and the v1.9.0 TPdfMatrix helpers
- The new TPdfXObject Pascal class wraps PDFium’s FPDF_XOBJECT handle and closes it automatically in its destructor, eliminating the manual FPDF_CloseXObject ceremony
- Expanded the Delphi and Lazarus regression suites to 147 cases each, and the C++Builder suite to 123 cases, covering handle creation and page-object insertion contracts
Version 1.24.0
- Added TPdf.RenderPageProgressive — a cancellable variant of RenderPage that drives PDFium’s progressive rendering loop and polls a v1.7.0 IPdfCancellationToken between iterations, so long high-DPI renders can abort mid-page instead of blocking the caller until completion
- Returns a TPdfProgressiveStatus value: prsDone, prsCancelled, or prsFailed. Pass AToken = nil to render to completion without ever pausing (no possibility of prsCancelled)
- Uses the same zero-copy fast path introduced in v1.21.0 — PDFium renders directly into the destination TBitmap’s DIB. The same legacy fallback applies when the DIB can’t be wrapped
- Expanded the Delphi and Lazarus regression suites to 145 cases each, and the C++Builder suite to 121 cases, covering nil-token (completes), pre-cancelled token (prsCancelled), and pixel-equivalence with sync RenderPage on a live token
Version 1.23.0
- Added six new TPdfView methods that expose PDFium’s form-widget text selection and Undo/Redo to applications: GetSelectedFormText returns the currently selected text inside the focused form widget; SelectAllFormText selects every character; FormUndo / FormRedo / FormCanUndo / FormCanRedo drive the focused widget’s edit history. The underlying PDFium APIs were already bound but had no high-level entry point. All six short-circuit safely when the view is inactive or the document has no AcroForm widget focused
- Expanded the Delphi and Lazarus regression suites to 142 cases each, and the C++Builder suite to 119 cases, covering the no-form-no-focus contract for every new method
Version 1.22.0
- Added page composition wrappers to TPdf: ImportPagesByIndex takes a zero-based index array to copy specific pages from a source document; ImportNPagesToOne returns a brand-new TPdf whose pages are N-up composites of this document; MovePages reorders pages in place. The underlying PDFium APIs were already bound but had no Pascal-friendly entry point
- ImportPagesByIndex accepts an empty array to import every source page (equivalent to passing nil at the C ABI level)
- Expanded the Delphi and Lazarus regression suites to 136 cases each, and the C++Builder suite to 115 cases, covering subset import, whole-document import, page reorder, and N-up composite
Version 1.21.0
- Improved rendering performance by switching TPdf.RenderPage / TPdf.RenderTile (and the corresponding TPdfView helpers) to a zero-copy output path. PDFium now writes directly into the destination TBitmap’s DIB buffer instead of into an internal buffer that was then copied row by row, saving one width x height x 4 bytes memory copy per render. The improvement is most noticeable at high DPI (thumbnail panels, print-quality export, batch export)
- The legacy per-scanline path is kept as a safety fallback for the unlikely case where the destination DIB cannot be wrapped (extreme dimensions, unusual stride, OOM). Behaviour is byte-identical between the two paths, just slower in the fallback
- Expanded the Delphi and Lazarus regression suites to 132 cases each, and the C++Builder suite to 112 cases, covering caller-bitmap pf32bit upgrade, dimensions round-trip, and a large-bitmap stride sanity test
Version 1.20.0
- Added search-result highlighting to TPdfView: HighlightSearchText(Text, MatchCase, MatchWholeWord) scans the current view page and returns the number of matches found, painting a HighlightColor mask over each match on every redraw. ClearHighlight removes the highlights; switching the view to a different page clears them automatically since matches are page-specific
- HighlightColor defaults to clYellow and is published so applications can theme the highlight to match their UI palette
- Expanded the Delphi and Lazarus regression suites to 129 cases each, and the C++Builder suite to 109 cases, covering default colour, colour round-trip, “real fixture word matches” against the sample.pdf string, and the “missing word returns zero matches” contract
Version 1.19.0
- Added FitMode property to TPdfView with four values: pfmNone (manual zoom), pfmActualSize (100%), pfmFitPage (whole page fits in the viewport), and pfmFitWidth (page width matches viewport width). The active fit mode is re-applied automatically on Resize and when the current page changes, so long documents with mixed page sizes stay perfectly framed
- Setting Zoom directly cancels the active fit mode (FitMode reverts to pfmNone), matching the standard PDF viewer convention where typing a zoom value drops out of Fit Page / Fit Width
- Default is pfmNone so existing applications keep their explicit-zoom behaviour
- Expanded the Delphi and Lazarus regression suites to 124 cases each, and the C++Builder suite to 106 cases, covering default value, mode round-trip, fit-page producing a real zoom on a loaded document, and manual-zoom-cancels-fit-mode
Version 1.18.0
- Added PageColor property to TPdfView, decoupling the rendered PDF page background from the surrounding control’s Colour. Default is clWhite, so PDF pages now render as paper-white regardless of the host application’s theme. Dark-mode viewers can now keep the scroll area dark while leaving the actual PDF page white (or any colour the application picks)
- Behaviour change: applications that used to set TPdfView.Colour in order to recolour the PDF page should set PageColor instead. The default experience improves for the common case (white pages on themed control backgrounds) without any code change
- Expanded the Delphi and Lazarus regression suites to 120 cases each, and the C++Builder suite to 103 cases, covering default value and colour round-trip
Version 1.17.0
- Added user-input lock-down toggles to TPdfView so applications embedding the viewer in kiosks, preview panes, or read-only contexts can disable navigation gestures without subclassing: AllowUserPageChange controls the new PgUp / PgDn / Ctrl+Home / Ctrl+End keyboard shortcuts; ChangePageOnMouseScrolling controls the new wheel-up / wheel-down page jumps; AllowUserTextSelection is reserved for the future mouse-drag text-selection path. All three default to True so existing applications upgrade with no behavioural change
- Mouse wheel page navigation skips Ctrl+wheel so applications can keep Ctrl+wheel reserved for zoom
- Expanded the Delphi and Lazarus regression suites to 118 cases each, and the C++Builder suite to 101 cases, covering default values and toggle round-trip
Version 1.16.2
- Expanded TPdfView regression coverage for annotation link clicks when the viewer page differs from the associated TPdf page, using a real headless mouse click path across Delphi, Lazarus, and C++Builder
- The Delphi and Lazarus suites now run 114 cases each, and C++Builder now runs 99 cases
Version 1.16.1
- Fixed TPdfView link-click handling so automatic annotation and web-link actions use the page currently displayed by the viewer, even when the associated TPdf component is parked on a different page
- Hardened TPdfThumbnailView against dangling Pdf references when the linked TPdf component is destroyed
- Added thumbnail-reference lifetime regression coverage; the Delphi and Lazarus suites now run 113 cases each, and C++Builder now runs 98 cases
- Synchronised README, test documentation, HTML Help search/index content, and generated C++ package outputs with the v1.7.0 through v1.16.0 integration updates
Version 1.16.0
- Added a new Delphi PrintDialog demo (Demo/Delphi/PrintDialog) that focuses on N-up printing (1 / 2 / 4 / 9 pages per sheet) with odd / even page filtering, greyscale rendering, and optional 1-pixel cell borders. It is a deliberate small companion to the existing PrintPDF demo, which already covers preview, recent files, zoom, and scaling
Version 1.15.0
- Added a new TPdfThumbnailView component (FPdfThumbnail unit) that renders one page thumbnail per row in a scrollable side panel with hover and selection highlighting plus click-to-go navigation. Designed to sit next to a TPdfView so end users can browse a long document by page
- The component is registered on the losLab palette tab alongside TPdf and TPdfView; key properties: Pdf, CurrentPageIndex, ThumbnailWidth, ThumbnailHeight, TextColor, HoverColor, SelectionColor, BorderColor, and the OnPageClick event
- Expanded the Delphi and Lazarus regression suites to 112 cases each, and the C++Builder suite to 97 cases, covering defaults, thumbnail-size round-trip, extreme-value clamping, colour round-trip, and event handler assignment
Version 1.14.0
- Added a new Delphi BatchExport demo (Demo/Delphi/BatchExport) showing how to convert many PDF files to JPG in one pass using TPdf.LoadCustomDocument for streaming load, IPdfCancellationToken for cooperative cancellation, and per-file overall + per-page progress bars. The demo uses one TPdf instance per file (PDFium itself is not thread safe) and opens the output folder in Explorer when extraction finishes successfully
Version 1.13.0
- Added an async-rendering UI overlay to TPdfView through three new properties: AsyncRendering, LoadingText, and LoadingColor. When AsyncRendering is True the single-page paint path draws a small “Loading...” indicator over the rendered page so applications using their own worker for long renders share a consistent visual affordance
- Defaults preserve the existing behaviour: AsyncRendering is False, so applications that do not opt in see no visual change
- Documentation clarifies that PDFium itself is not thread safe — actually offloading the render to a worker requires the caller to keep one TPdf per worker; the upcoming batch-export demo shows that pattern
- Expanded the Delphi and Lazarus regression suites to 106 cases each, and the C++Builder suite to 93 cases, covering default values and the three-property round-trip
Version 1.12.0
- Added click-driven link handling to TPdfView. The new LinkOptions property controls automatic behaviour for the four PDF link action types: goto (page jump), URI (ShellExecute), launch (ShellExecute), and embedded GotoR (reserved). Defaults enable loAutoGoto and loAutoOpenURI; loAutoLaunch and loAutoEmbeddedGoto stay off so a stray click cannot run an arbitrary program
- Added OnAnnotationLinkClick and OnWebLinkClick events that fire before any automatic action and let applications inspect the link, mark it Handled, or redirect it (for example, to a security prompt)
- Link click detection runs only when the gesture is a click rather than a drag, using a fresh MouseDown anchor so panning gestures still flow through the existing scroll path unchanged
- Expanded the Delphi and Lazarus regression suites to 102 cases each, and the C++Builder suite to 91 cases, covering default LinkOptions, set round-trip, and event-handler assignment
Version 1.11.0
- Added visual polish to TPdfView: PageShadowSize, PageShadowColor, and PageBorderColor properties paint an optional drop shadow under the page rectangle and a one-pixel border around it. Defaults preserve the previous flat look (PageShadowSize = 0; border is drawn in the default clBlack but blends into the default white background until callers change the colours)
- Added a SmoothScroll property as an opt-in flag for future incremental scroll animation; the property round-trips today and is wired up so applications can persist the preference, while the rendering side still uses the existing immediate scroll behaviour
- Expanded the Delphi and Lazarus regression suites to 98 cases each, and the C++Builder suite to 89 cases, covering default values, property round-trip, and the negative-shadow-size clamp
Version 1.10.0
- Added direct image insertion through new TPdf.AddImage and TPdfView.AddImage overloads that take either a file path or a TBitmap, in addition to the existing TPicture-based AddPicture. AddImage(FileName) recognises any format registered with the VCL or LCL graphics units (BMP, PNG via the PngImage unit, JPG, etc.) and goes through the same pipeline as AddPicture so behaviour is identical
- AddImage(TBitmap) skips the TPicture intermediary, which simplifies callers that already hold a TBitmap from rendering or batch generation work
- Expanded the Delphi and Lazarus regression suites to 92 cases each, and the C++Builder suite to 84 cases, covering bitmap insertion, page-object bounds, nil bitmap rejection, and BMP file loading
Version 1.9.0
- Added high-level transformation matrix support through the new TPdfMatrix class in the FPdfMatrix unit. TPdfMatrix wraps PDFium’s FS_MATRIX with an OO API for Translate, Scale, Rotate, HorizontalFlip, VerticalFlip, CentralFlip, Skew, and Multiply, suitable for composing transforms before handing them to FPDFPageObj_SetMatrix and similar PDFium APIs
- TPdfMatrix.Multiply correctly snapshots the six matrix elements before computing the new row values, fixing a latent issue where the alternative Pascal implementations overwrite earlier elements during the same call and produce incorrect results for any composition beyond pure translation
- Expanded the Delphi and Lazarus regression suites to 88 cases each, and the C++Builder suite to 81 cases, covering identity, reset, translate / scale / flip, post-multiplicative composition order, and the Multiply regression case
Version 1.8.0
- Added on-demand stream loading through the new TPdf.LoadCustomDocument(AStream, AOwnsStream) method and TPdfStreamAdapter helper class, backed by PDFium’s FPDF_LoadCustomDocument. PDFium now reads blocks from the supplied TStream only when needed, so very large or remote PDFs no longer require an up-front in-memory copy
- Added optional stream ownership: passing AOwnsStream = True hands the TStream’s lifetime to TPdf, which frees it when UnloadDocument runs
- Expanded the Delphi and Lazarus regression suites to 79 cases each, and the C++Builder suite to 75 cases, covering streaming load via TFileStream, owned-stream cleanup, and the externally-owned-stream survives-unload contract
Version 1.7.0
- Added cooperative async cancellation primitives in the new FPdfAsync unit, exposing IPdfCancellationToken / IPdfCancellationTokenSource and a reusable PdfNoCancellationToken singleton so long-running rendering and export workflows can support clean cancel-from-UI semantics
- Added a lightweight TPdfFuture<T> helper that runs a worker on a background thread and posts the TPdfFutureResult<T> envelope back to the main thread, distinguishing success, cancellation, and failure cases
- Expanded the Delphi and Lazarus regression suites to 76 cases each, and the C++Builder suite to 73 cases, with shared coverage of cancellation state, idempotent cancel, callback fan-out, and post-cancel registration
Version 1.6.10
- Added high-level TPdf.PrintPageRanges access to the PDF viewer preference print page range, returning one-based page ranges for application code
- Added TPdf.SetFormFieldFlags / SetFormFieldFlagsAt and matching TPdfView helpers so applications can update AcroForm field flags through the public API, including password and multi-select flag coverage
- Hardened PDFium binding ABI coverage for Windows-sized FPDF_DWORD, FPDF_FILEACCESS callbacks, and V8 embedder slot fields
Version 1.6.9
- Added low-level Skia rendering bindings for the newly exported FPDF_RenderPageSkia and FPDF_FFLDrawSkia APIs in the bundled standard and V8 PDFium DLLs
- Expanded the public binding coverage checks so standard and V8 DLL loading now verifies the Skia render entry points alongside the existing V8/XFA capability probes
Version 1.6.8
- Added TPdf.SetTextPositions and TPdfSingleArray to set per-character positions on existing text objects through the newly exported FPDFText_SetPositions API
- Promoted FPDFText_SetPositions to a required binding for the current bundled PDFium DLLs, while confirming the Skia render entry points remain unavailable because the DLLs still do not export them
- Expanded the Delphi, C++Builder, and Lazarus regression suites to 65 cases each with text-position coverage
Version 1.6.7
- Added high-level TPdf access to document JavaScript name-tree actions, returning action names and scripts through JavaScriptAction and JavaScriptActions
- Added TPdf.FileIdentifier to read permanent and changing trailer IDs as binary TBytes without the PDFium terminator byte
- Added TPdf.PageBox, GetPageBox, and SetPageBox for MediaBox, CropBox, BleedBox, TrimBox, and ArtBox on the current page
- Confirmed the current bundled PDFium DLLs leave only the Skia render entry points unavailable at runtime because those exports are not present
- Expanded the Delphi, C++Builder, and Lazarus regression suites to 64 cases each with document JavaScript, trailer ID, and page-box coverage
Version 1.6.6
- Added runtime support for the bundled V8-enabled PDFium DLL. Setting EnableV8Engine before loading now selects pdfium.v8.dll from the DLLs\Win32 or DLLs\Win64 tree and exposes V8/XFA-only bindings when the loaded DLL provides them
- Added V8FeaturesAvailable, XfaBStrHelpersAvailable, GetRecommendedV8Flags, and low-level optional bindings for FPDF_BStr_*, FPDF_GetRecommendedV8Flags, and FPDF_GetArrayBufferAllocatorSharedInstance
- Made FPDFText_SetPositions optional so PDFium Delphi Component keeps loading with PDFium DLLs that do not export that experimental text-position setter
- Expanded the Delphi, C++Builder, and Lazarus regression suites to 61 cases each with standard-DLL and V8-DLL capability coverage
Version 1.6.5
- Added tagged PDF structure-tree inspection through TPdf.StructureElements and TPdfView.StructureElements, including element type, title, alternate text, actual text, expansion text, language, marked-content IDs, child counts, and attribute counts
- Added Windows PDFium print mode selection through TPdfPrintMode and SetPdfPrintMode, covering EMF, text-only, PostScript, pass-through, image-mask, and Type 42 print modes
- Added low-level bindings for the remaining standard-DLL PDFium public exports covering JavaScript actions, annotation form flags/font colour, page-object active state, indexed insertion, content-mark float values, image ICC profile data, form-object removal, and text positions
- Expanded the Delphi, C++Builder, and Lazarus regression suites to 59 cases each with tagged PDF structure-tree, print mode, and public export binding coverage
Version 1.6.4
- Updated the Delphi, C++Builder, and Lazarus demos to automatically open generated PDFs, exported text/images, and batch output folders after successful creation
Version 1.6.3
- Expanded the aligned Delphi, C++Builder, and Lazarus regression suites to 56 cases each with TPdfView GUI coverage for fit-zoom helpers, device/page coordinate round-trips, character hit-testing, and mouse panning through hidden-window viewer controls
- The TPdfView fixtures now use an explicit viewer size and test-only subclasses that exercise protected mouse handlers while keeping the suites fully headless
Version 1.6.2
- Fixed TPdf.AddPage(0, ...) so the inserted first page becomes the active page immediately. Existing sample code keeps working, while PageNumber now reports a valid one-based page after insertion
- Synchronised the Lazarus package version and expanded the aligned Delphi, C++Builder, and Lazarus regression suites to 52 cases each
Version 1.6.1
- Fixed an incorrect minimum-version requirement in the v1.6.0 PDF version compliance validator: the SetState action was reclassified from PDF 1.5 down to PDF 1.2, matching PDF 1.2 Reference 6.9.9. PDF 1.3 / 1.4 SaveAs targets that contain SetState actions now save correctly rather than being rejected
- Added matching PDF 1.2 lexical checks per the same spec section: the Sound, Movie, and NOP actions plus the Separation colour space are now blocked when the chosen target version is older than PDF 1.2
- Expanded the Delphi, C++Builder, and Lazarus regression suites to 50 cases each by adding a positive PDF 1.4 SetState acceptance test that locks in the corrected boundary
Version 1.6.0
- Hardened explicit PDF 1.0 through PDF 1.7 SaveAs targets with a full version-feature validator that covers the entire PDF 1.1 through ISO 32000-1 feature timeline. The validator now blocks saves that contain dictionary entries, filter names, annotation subtypes, action types, fonts, colour spaces, or encryption parameters introduced after the chosen target version. Examples: JBIG2Decode (1.4+), MarkInfo / Tagged PDF (1.4+), OutputIntents (1.4+), ICCBased / DeviceN / BleedBox / TrimBox / ArtBox / StructTreeRoot (1.3+), Polygon / PolyLine / Caret / Screen / Watermark / Redact annotations, AES and AES-256 encryption (CFM AESV2 / AESV3), Perms / Legal / Requirements / NeedsRendering catalog entries, and version-gated actions such as JavaScript, Trans, SetState, Rendition, GoToE, GoTo3DView are all rejected when the target PDF version cannot represent them
Version 1.5.13
- Expanded the Delphi, C++Builder, and Lazarus regression suites to 49 cases each, adding direct coverage for rejection of ICCBased colour spaces, Tagged PDF MarkInfo, Polygon annotations, AES (V2) encryption, and Redact annotations against PDF 1.2 / 1.3 / 1.4 / 1.5 / 1.6 targets respectively
Version 1.5.12
- Fixed SaveAs post-processing for incremental catalog rewrites. PDFium Delphi Component now validates the latest repeated indirect object, so existing catalog /Version overrides are replaced correctly when saving to an explicit older PDF target version
- Expanded the Delphi, C++Builder, and Lazarus regression suites to 44 cases each, adding direct coverage for stale catalog /Version replacement, PDF 1.4 catalog version normalisation, and rejection of transparency and portable-collection features when the selected PDF target version cannot represent them
Version 1.5.11
- Hardened versioned SaveAs output for explicit PDF 1.3, 1.4, 1.5, 1.6, and 1.7 targets. PDFium Delphi Component now normalises catalog version markers, keeps the default Fit Height OpenAction version-safe, and rejects newer PDF features when the selected target version cannot represent them
- Added Delphi, C++Builder, and Lazarus regression coverage that saves and reloads explicit PDF 1.3 through PDF 1.7 files, verifying the final header, the default Fit Height OpenAction, and the reported PDF version
Version 1.5.10
- Stepped from the spec’s option B to option C by adding TPdfView smoke tests in all three IDE suites (Tests.PdfView). Each suite builds a hidden parent TForm (via TForm.CreateNew on Pascal sides and
new TForm(NULL, 0)on the C++Builder side), reparents a TPdfView, sets Active := True, and then verifies the round-trip surface for PageCount, PageNumber default, Zoom, Rotation, DisplayMode, and that View.Text matches the underlying TPdf.Text. Each IDE suite now runs 39 cases
Version 1.5.9
- Stepped from the spec’s option A to option B by adding render smoke tests in all three IDE suites. Each Tests.Render suite calls TPdf.RenderPage on sample.pdf and verifies three robust signals instead of byte-for-byte checksums: the returned bitmap exactly matches the requested pixel size; different requested sizes (200x100, 64x256) produce matching bitmaps; and the rendered page is at least 95% white background with at least 50 (Lazarus: 20) non-white pixels marking the antialiased text. Each IDE suite now runs 33 cases
Version 1.5.8
- Closed out the original A(2) test plan groups by adding seven more regressions per IDE: TPdf.CreateAnnotation building an anHighlight annotation plus a SaveAs/LoadDocument round-trip, the AcroForm read path on Demo/Delphi/FormFill/cmp_fill_out_and_merge_forms.pdf (FormType is ftAcroForm, FormFieldCount > 0, FlattenAllPages drops the fields to zero), and quiet read-path coverage for Bookmarks, LinkAnnotationCount, and WebLinkCount on a document that has none of those features. Each IDE suite now runs 30 cases
Version 1.5.7
- Expanded the Delphi (DUnitX), Lazarus (FPCUnit), and C++Builder (GoogleTest) suites with seven new regressions per IDE: PdfVersion, PageRotation, TPdf.FindFirst / FindNext substring lookup, CharacterOrigin / CharacterRectangle agreement against the AddText origin, CreateAttachment registration plus a SaveAs/LoadDocument round-trip, and an accented-text AddText round-trip that verifies the v1.3.0 European TrueType embedding path keeps Latin-1 supplemental code points intact
Version 1.5.6
- Saved PDFs now get a default first-page Fit Height open action when no existing OpenAction is present, so PDF readers initially display generated documents at page-height zoom
- Added Delphi, Lazarus, and C++Builder regression coverage for the generated OpenAction and Fit Height setting
Version 1.5.5
- Added regression tests across the Delphi (DUnitX), Lazarus (FPCUnit), and C++Builder (GoogleTest) suites for the indexed character and font inspection API surface (TPdf.FontBaseName, FontFamilyName, FontWeight, FontItalicAngle, FontData, FontIsEmbedded, CharacterFontWeight, CharacterAngle). The Lazarus suite intentionally skips FontData, which currently access-violates inside FPDFFont_GetFontData under FPC
Version 1.5.4
- Added a C++Builder Attachment demo ported from the Delphi sample, covering creating PDFs, adding, listing, extracting, deleting, and saving embedded file attachments with MIME subtype display
Version 1.5.3
- Exposed the spread-page calculation that backs TPdfView two-page modes as the unit-level helper ComputeSpreadPages(DisplayMode, PageNumber, PageCount, out LeftPageNo, out RightPageNo). Behaviour is unchanged; the helper makes the cover-aware rule independently testable without instantiating a viewer
- Added five regression tests across the Delphi (DUnitX), Lazarus (FPCUnit), and C++Builder (GoogleTest) suites covering empty documents, the standard two-page pairing, the cover page standing alone in dmTwoPageContinuousWithCover, post-cover pairs, and last-page / out-of-range clamping behaviour
Version 1.5.2
- Added document language support through TPdf.Language, mapped to the PDF catalog /Lang entry
- Added attachment MIME subtype access with TPdf.AttachmentType
- Added anRedact to TPdfAnnotationSubtype and added page-object removal helpers for TPdf and TPdfView
- Updated viewer and attachment demos to display the new language and attachment type information when available
Version 1.5.1
- Added dmTwoPageContinuousWithCover for TPdfView so viewer layouts can show the first page alone and then continue with two-page spreads
- Updated the Delphi, C++Builder, and Lazarus MultiPageViewer demos to expose the cover-aware two-page display mode
Version 1.5.0
- Added smoke-level automated test suites for Delphi (DUnitX), Lazarus (FPCUnit), and C++Builder (GoogleTest). The three suites share a single fixture PDF in Tests\TestData and run the same seven cases each, covering document loading, page info, text extraction, metadata, save round-trip, PDF header validation, and the Compressed property
Version 1.4.3
- Enhanced the FontProperties demo to show both TPdfView and TPdf font metadata APIs, including font handles, font data size, and character metrics
- Added indexed TPdfView character and font inspection properties and updated the FontProperties demo to query text-object font metadata
Version 1.4.2
- Added indexed character and font inspection properties to TPdf for text analysis without requiring a viewer. Character-indexed properties (CharacterAngle, CharacterFontSize, CharacterFontWeight) query per-character metrics from the current page’s text stream. Page-object-indexed properties (FontAscent, FontBaseName, FontData, FontDescent, FontFamilyName, FontHandle, FontIsEmbedded, FontItalicAngle, FontWeight) query font metadata for any text object on the current page
- Non-text page objects return safe zero or empty values for all Font* properties rather than raising an error, making it straightforward to iterate every page object and inspect only the text ones
- FontBaseName reads the PostScript base font name directly rather than falling back to the font family name, giving a more accurate identifier for embedded fonts
Version 1.4.1
- Added C++Builder and Lazarus versions of the EuropeanText demo so all supported IDE families can verify accented European text generation with system TrueType fonts
- Added C++Builder and Lazarus versions of the FormFill demo, including sample form PDFs, field editing, appearance regeneration, filled saving, and flattened saving workflows
Version 1.4.0
- Added Lazarus / Free Pascal support: the new PDFiumLaz package provides the same TPdf, TPdfView, and related components under the LCL widget set, extending the library to the Lazarus IDE and the Free Pascal compiler alongside the existing Delphi and C++Builder packages
- Added Lazarus versions of the demos so Lazarus developers can explore every feature with runnable examples
- Fixed a Lazarus compilation issue where Free Pascal conditional defines were evaluated together with Delphi compiler-version checks, causing FPC builds to attempt resolving Delphi-specific unit names and fail
Version 1.3.1
- Documented the form flattening workflow in the help set: GenerateFormAppearances, FlattenPage, FlattenAllPages, and the related FLAT_* / FLATTEN_* constants are now covered in TPdf, TPdfView, the API reference, the feature matrix, and the programming examples
- Fixed the architecture table in the overview page so it lists the actual binding units shipped in the Lib folder
Version 1.3.0
- Improved European character support when creating PDFs. TPdf.AddText now loads and caches the matching system TrueType font before creating a text object, preserving accented characters from Czech, French, German, Spanish, Portuguese, Polish, and Turkish that PDFium’s built-in standard fonts cannot represent
- Applications that previously produced question marks or replacement glyphs for non-ASCII Latin text will now render correctly without any code change. Added the EuropeanText demo to illustrate the feature
Version 1.2.0
- Added AcroForm appearance refresh to TPdf: calling GenerateFormAppearances after modifying FormField[] values updates the widget appearance so filled values are visible in standard PDF readers without requiring an interactive edit session
- Added form flattening helpers to TPdf (FlattenPage / FlattenAllPages) and TPdfView (FlattenPage for the current view page). Flattening permanently embeds filled field values as ordinary page content and removes the interactive form layer, producing a static document that renders consistently across all viewers
- Added Demo\Delphi\FormFill to demonstrate the fill-and-save and fill-and-flatten workflows with a sample AcroForm PDF
Version 1.1.2
- Added save-time PDF stream compression. The new TPdf.Compressed property (enabled by default) rewrites uncompressed content streams as FlateDecode-compressed streams on save, significantly reducing file size for programmatically generated PDFs. Applications that require plain uncompressed output can set Compressed to False before calling SaveAs
Version 1.1.1
- Win64 package builds no longer include design-time registration units, preventing build-time failures when the Win64 package is deployed in a runtime-only context
- The PDFium DLL loader now searches the Win32 or Win64 application subdirectory first, using the standard pdfium.dll and pdfium.v8.dll names, and falls back to the application’s flat directory and the Windows system directory. This matches the DLL layout bundled with the component package, making installation straightforward
Version 1.1.0
- Fixed a visual clipping defect in TPdfView two-page mode: page content was bleeding across the gutter because both left and right page tiles shared a single clipping rectangle. Each tile now clips independently so content stays within its page boundary
- Improved the Delphi demo error message when the PDFium DLL cannot be found, providing a clearer prompt with the expected DLL name and location