An archived specification, a dictionary definition and an executable rule are
three different kinds of evidence. Core 0.8.0 adds source-authored checks to the
dictionary model and records which corrections were actually reviewed. The
original PDFs remain unchanged in resources/reference-documents/.
Execute relations between dictionary entries
Each edition has its own versioned intrinsic semantic-rule ledger. A table
exposes immutable SemanticRule objects retaining their identifier, source and
typed DictionaryConstraint. Derived dictionaries inherit applicable rules.
SchemaDictionary::validate() and serialization execute them; an entry count
does not measure conformance.
The checks include numeric domains and array dimensions, function inputs and
outputs, filter/DecodeParms alignment, cross-reference stream ranges and direct
objects, calibrated/ICC colour relationships, image samples and masks, annotation
geometry and choice options. They concern their declared dictionary domain;
resource interpretation and all document-wide conditions remain separate.
The PDF 1.7 rule data and PDF 2.0 rule data retain source tables and physical pages. Their generators reproduce the PHP definitions from those reviewed resources.
Check the effective annotation, action and measurement graph
The new native checks concern relationships across actual document objects, separately from the intrinsic dictionary rules. They resolve references against the effective graph and retain the applicable PDF version, including objects inherited from an earlier native revision. The dedicated regression suite has 84 tests and 132 assertions; these are test counts, not normative-rule counts. The source-bound record retains source pages, counterexamples and implementation boundaries.
Markup replies must identify an annotation on the same page. Group replies,
popup ownership and optional reciprocal Parent links have their own rules;
a Popup cannot supply its own appearance or actions. Page ownership and unique
annotation names are checked against the actual Annots arrays. GoToR and
GoToE check file specifications, D/SD destination branches, remote page
indices, NewWindow and bounded embedded-target paths. These checks do not open
remote files or prove that an external target exists.
Rectilinear RL measures validate required X/D/A arrays, optional
Y/T/S, origin, conversion factor and each number-format dictionary.
Fraction controls are interpreted in their last-array-element context.
Y without CYX remains a legal declaration: it makes the corresponding
calculations unavailable rather than universally invalidating the dictionary.
This validates the measurement declaration; it is not a coordinate engine or
display-formatting algorithm. Other annotation families, multimedia graphs and
external target semantics retain their separate coverage boundaries.
Preserve the exact EC3 correction
The EC3 review record
binds each reviewed annotation to the retained document hash, physical page,
annotation identity and approval thread. The checker verifies those bindings.
The table below gives examples; the versioned ledger retains the exact reviewed
annotations and evidence, including each thread's own Accepted or Completed
status. The exhaustive annotation inventory and actually executed constraints
are distinct records.
| Reviewed correction | Implemented behaviour |
|---|---|
| #246, physical page 81 | Common stream entries in an xref stream are recursively direct; external F data is excluded. Trailer Root and Encrypt references retain their own rules. |
| #403, physical page 81 | Xref streams reject Metadata and AF. |
| #444, physical pages 506–507 | Annotation Path takes precedence over accompanying Vertices; the vertices are ignored rather than making the pair invalid. |
| #468, physical page 558 | PDF 2.0 choice indices can be supplied without MultiSelect. Different display names sharing an export value require indices. An array-valued V alone does not require them. |
| #22, physical page 483 | AP is required with its stated exceptions for actual PDF 2.0 page annotations, while PDF 1.2–1.7 keeps its optional-appearance contract. |
| #124, physical page 483 | Rectangle indices are zero-based: only Rect[0]==Rect[2] and Rect[1]==Rect[3] supplies the point exception. A horizontal or vertical line is not exempt. |
| #86/#290/#609/#612, DParts | Flat child arrays with explicit parents, XMP metadata on DPartRoot and UTF-8 DPM names; see 0.11 migration and tutorial 28. |
| #11/#128, Type3 | Optional Type3 descriptor FontName, agreement with Name when both exist, and explicit or contextual resources; see tutorial 22. |
| #152/#474, FontWeight | Integral values from 1 to 1000 in PDF 2.0; historical steps of 100 remain required for PDF 1.x. |
| #549, empty paths | Path-painting operators without a current path are accepted outside text objects; independent rendered comparisons check that they add no marks. |
| #156, physical page 153 | RichMedia embedded assets require a MIME Subtype, including a primary asset outside the Assets name tree. |
| #296, XMP encoding | PDF 2.0 metadata uses decoded UTF-8 bytes and immutable encoding evidence in retained native revisions; this is separate from XML/XMP schema conformance. |
| #188, contextual placement | The explicit PDF 2.0 structure-attribute policy resolves Figure placement from its context while preserving explicit A/C precedence and historical PDF 1.7 defaults. |
| #482, output-profile references | Each non-embedded alternative requires FS=URL and a PDFDocEncoded RFC3986 reference. This validates the declaration without fetching a profile or validating ICC data. |
The record retains the accepted status of #468. Native ChoiceField construction selects its edition
explicitly with ChoiceIndexSemantics::Pdf17 (the default) or
ChoiceIndexSemantics::Pdf20Ec3. The latter requires an effective PDF 2.0 version.
When migrating positional arguments, pass this enum before any variadic Entry
arguments, or use named arguments. See the form tutorial.
Apply the corrected appearance placement
AnnotationAppearanceTransform computes the transformed appearance bounding box
from all four corners, the fitting matrix for the annotation rectangle and the
effective appearance matrix. Rotation and shear therefore participate in the
fit. Composition follows the corrected Matrix × A order; it is not
interchangeable for noncommuting transforms. A degenerate source extent is
rejected, while a zero-size destination can collapse to finite coordinates.
Selecting the appropriate appearance, borders and annotation relationships is a
separate responsibility.
The writer also rejects an empty page Contents array. Omit Contents for a
page without a content stream, or supply an explicit empty stream.
Require the native PDF 2.0 annotation appearance
Table 166, physical page 483, requires an annotation AP in PDF 2.0 except for
Popup, Projection, Link, or a rectangle reduced to a single point:
both pairs of coordinates coincide. A vertical or horizontal zero-area
rectangle still needs AP. Native graph validation applies the effective
version to fresh objects and retained frozen objects; this is separate from
rendering an imported arbitrary PDF.
Projection annotations have an additional subtype rule (§12.5.6.24, physical
page 520): AP is forbidden when either rectangle dimension is zero. This does
not turn the point-only exception for ordinary annotations into an area test.
A supplied appearance dictionary requires its normal N entry. N, R and
D identify Form XObject streams or state dictionaries containing such streams.
When any entry uses a state dictionary, the annotation's AS must be a name.
If that name has no matching
stream, physical page 491 asks the consumer to attempt reasonable behavior,
such as displaying nothing; it does not guarantee a particular fallback.
The writer preserves that legal case. Declaring appearances does not execute
actions or establish a particular viewer's rendering behavior.
The appearance source and evidence record describes migration when upgrading a retained PDF 1.7 graph to PDF 2.0. Its independent oracle examines eight PDFs, eleven native refusals and 28 Poppler pixels. It does not count a viewer's unmatched-state fallback as a guaranteed appearance image.
Review the Adobe errata without mixing editions
The Adobe errata review classifies 65 correction records, covering every correction-bearing physical page from 3 through 18 of the retained 18-page document. Thirty-one records link native mechanisms, including ones implemented in earlier releases. Other records describe editorial changes, consumer operations, legacy viewer behaviour, external formats, definitions or partially implemented mechanisms.
An exhaustive classification is not an exhaustive implementation claim. For
example, the 2007 removal of signature seed flag DigestMethod must not erase
the distinct later Adobe level 3 extension contract. The ledger preserves both
source identities and their applicable editions.
Core 0.12 PDF relationships and calculations
The core checks effective inherited page values (Rotate, UserUnit, Tabs, production boxes), outline links/counts/styles and all twenty standard action families. Required entries, flags, targets and version gates are checked, including JavaScript-only trigger locations; no action executes. RichMedia checks assets, instances, configurations, animation and activation windows without becoming a multimedia engine.
Type 4 calculator programs compile into immutable objects and evaluate all 42 operators with work/stack/depth budgets and numeric domain/range checks. Invalid syntax and proven straight-line type/stack errors are rejected; runtime-dependent branches are checked during evaluation. Oracles compare PDFs with independent readers and calculations with Ghostscript. Core 0.12 also preserves imported image rendering intents and inverted DCT samples in four-component ICC spaces. These rules do not certify every PDF graph or execute a viewer.
Cross-package evidence
The current module coverage distinguishes file parsers, table execution, PDF adapters and consumer policies. Image checks combine exact samples/profile bytes with independent libpng/ImageMagick/Pillow and Poppler rendering. Font checks compare fontTools/HarfBuzz data, PDF mappings, extracted Unicode and actual glyph placement. Reader checks combine native/PHP profile selection, exact JPX/JBIG2 planes, explicit JPEG tolerances, filtered/encrypted globals and independent PDF readers. Package CI retains commands, versions and reports; a successful finite corpus is not universal input acceptance.
Read the remaining boundaries
The native incremental guard requires actual emitted-revision provenance, verified historical signatures and complete frozen-delta evidence. Core 0.11 covers plain/rich filling, exclusively owned indirect values, regenerated appearances, limited historical templates, P3 annotations and encrypted UR3 with explicit per-update authentication and authority. These operations preserve locks and unrelated resources. PDF 2.0 rules follow the historically signed version, including UR3 saving rights and signature seeds. The protected-revisions guide records refusals and oracle boundaries; the 0.11 migration guide explains the API.
The coverage guide and ledgers describe scopes that still need execution or independent evidence. Classifying an editorial correction, checking a dictionary rule and implementing a consumer algorithm are distinct acts. General external-revision classification, rendering, external font/codec semantics, certificate trust and human accessibility assessment require their own evidence.
The Adobe redaction addendum now has a conservative native processor for an explicitly normalized graph. Its dedicated tutorial explains deletion, shared resources, fresh output and rejected inputs. WTPDF also has optional native XML rich-text comparison, described in the bundle guide; neither addition certifies arbitrary files.