Repository navigation
Description
Sub-issue of #275. The remainder of the PDF/UA-2 semantic rule set.
ISO 14289-2:2024 (51 pages) is held, and clause 8 is fully enumerated; the clauses cited below are
read directly from it, with veraPDF's ua2 flavour kept as the cross-check rather than the source.
Metadata (§8.11)
- The catalog
/Metadatastream shall includedc:titlereflecting the document's title. - The
/ViewerPreferencesdictionary shall be present and shall contain/DisplayDocTitlewith
valuetrue— upgrading ISO 32000-2 Table 147's recommendation to a requirement.
Plus the Clause 5 identification schema itself: pdfuaid:part = 2, pdfuaid:rev = 2024, and no
pdfuaid:conformance.
Navigation (§8.12)
- Page labels (§8.12.3) — "If a page label is present, it shall represent the same number as that
perceived by a user. When a page's number is not equal to one plus the page's index, page labels
shall be present." This is a genuine requirement to emit something, not merely a constraint on
what is emitted — and B14 is what makes it satisfiable. - Outlines should be present for longer documents, each entry should carry an action (§8.12.2).
- Article threads, if present, should reflect logical order (§8.12.4).
Intra-document destinations (§8.8)
All destinations whose target is in the same document shall be structure destinations. Content
that actionably points at other content — captions, TOCs, cross-references, hyperlinks — shall use a
link annotation with a structure destination, or the /Ref entry, or both.
Optional content (§8.7)
When the catalog has /Configs in /OCProperties containing at least one configuration dictionary:
- all configuration dictionaries including the default shall have a
/Namethat is a
non-empty text string; /ASshall not appear in any optional content configuration dictionary.
NOTE 2 adds that the §8.4.5 font requirements apply to fonts in optional content even if never
rendered.
Text representation (§8.4.1–8.4.4)
- PUA codepoints in content streams only where no other valid Unicode value exists (§8.4.2); where real
content maps to PUA,ActualTextorAltshall be present (§8.4.3). - Human-readable text string objects shall not use the PUA at all (§8.6) — this covers bookmark
titles,Alt,ActualText. - Language (§8.4.4): the language of all content and text strings shall be specified; the default
shall be given by a non-empty/Langin the catalog; changes shall be declared per 14.9.2,
and inside text strings per 7.9.2.2; and a/Langshall resolve to a specific language. NOTE 2
clarifies the catalog/Langdoes not imply a primary language.
Embedded files (§8.14)
/Descshall be present on every file specification in theEmbeddedFilesname tree, with
enough context to make the file's intent clear.- Alternative and supplemental representations should be embedded associated files, associated with
the applicable structure element, carrying/AFRelationshipand/Subtype.
Acceptance
Both paths of every rule against veraPDF ua2.
Relates to
- Conformance: PDF/UA-2 (ISO 14289-2:2024) rule set #275 — parent.
- B14 — page labels; §8.12.3 cannot be satisfied without it.
- B10 — optional content configuration dictionaries.
- A2, A4 —
/Descand/AFRelationship. - G3 — structure destinations.
Plan labels used above, resolved: A2 #242 · A4 #243 · B10 #259 · B14 #262 · G3 #273.
Activity