Releases: mes-amis/prawn-accessibility
Releases · mes-amis/prawn-accessibility
Release list
v1.1.1
v1.1.0
- Opt in with
tagged: true. Documents are tagged only when created with
Prawn::Document.new(tagged: true), matching thetagged?query and standard
"tagged PDF" terminology. Themarked:option is removed (no alias). - Reduced the patching surface: no
pdf-corepatches.MarkedContentand
StructureTreenow live underPrawn::Accessibilityand use only the public
renderer API; the structure tree is owned by the document and finalized via
the existingbefore_renderhook. The high-level API is mixed into
Prawn::Documentwithinclude. - Untagged output is unchanged (byte-for-byte stock Prawn). Header cells are
flagged at construction, soCell#header?is consistent before and after draw. - Removed the low-level
@api privatesymbolsrenderer.marked?,
renderer.structure_tree,PDF::Core::MarkedContent,
PDF::Core::StructureTree, andPDF::Core::ObjectStore#marked?.
v1.0.0
Initial release.
- Tagged-PDF (Section 508 / WCAG) support layered onto published
prawn
(~> 2.5) andpdf-core(~> 0.10) viaprependand additive re-opens —
no forking. - High-level document API on
Prawn::Document:tagged?,structure,
structure_container,artifact,heading,paragraph,figure, plus the
marked:andlanguage:document options. - Structure attributes:
:Alt,:ActualText,:Lang,:Scope. - Low-level
PDF::Core::MarkedContent(BMC/BDC/EMC) and
PDF::Core::StructureTree(StructTreeRoot, structure elements, ParentTree,
MCID allocation). - Optional
prawn-table(~> 0.2) tagging:<Table>/<TR>/<TH>/<TD>
with header detection and/Scope. Activated automatically when
prawn-tableis present; not a required dependency.
Repackaged from the stalled upstream PRs prawnpdf/pdf-core#67,
prawnpdf/prawn#1391, and prawnpdf/prawn-table#164.