Modules
Pure-Elixir, Phoenix-first PDF/document generation with deterministic layout and pagination.
Oban worker pattern for background PDF rendering.
External binary adapter for Poppler's pdfsig tool.
Phoenix integration for Rendro.
External binary adapter for Poppler's pdfinfo tool. Provides structural validation of generated PDF files.
Optional runtime adapter for pyHanko-based PDF signing.
Optional runtime adapter for qpdf-based PDF protection.
A pure data carrier containing the rendered PDF bytes, a deterministic hash, and structured diagnostics from the render pipeline.
State container for registered assets and their metadata.
Behavior for rendering audit trails and lifecycle telemetry.
Content container with position and size.
Cell primitive for explicit table fragmentation configuration.
Component-based layout pattern for reusable PDF UI parts.
Top-level document: pages, content (flow), metadata, and rendering options.
Pure data registry for document-owned embedded-file registrations.
Structured diagnostics for render failures.
Pure data registry for document-owned logical font registrations.
Interactive form field content with deterministic authoring defaults.
Protocol for splitting layout components across page boundaries.
AST representation of a registered image asset to be rendered.
Deterministic layout inspector for ASCII snapshot testing. Provides string serialization of document structure and diagnostics.
Explicit authored link content wrapper with a narrow target contract.
Generates PDF dictionaries for CID-keyed (Type0 / Identity-H) fonts.
Pure Elixir TrueType binary subsetter.
Strips unused glyphs and updates loca / glyf tables correctly to minimize PDF size.
A page with blocks, dimensions, and margins.
Explicit flow-page layout template with page geometry and named regions.
Artifact-first PDF protection boundary.
Behavior for artifact protection adapters.
Canonical PDF recipes for standard document types.
Branded canonical invoice recipe using the Tiered Composition pattern.
Canonical invoice recipe using the Tiered Composition pattern.
Bounded layout region with named role and anchoring metadata.
Row primitive for explicit table fragmentation configuration.
Reusable flow section that targets a named template region.
Artifact-first signing boundary.
Optional behaviour for external signing adapters.
Behavior for artifact storage adapters.
A simple local filesystem storage adapter for Rendro artifacts.
Table primitive for structured data.
Telemetry event definitions and helpers for the Rendro render pipeline.
Text content with logical font, size, and color attributes.
Splits text into unidirectional, single-script runs.
Wraps the harfbuzz_ex text shaping engine to return exact glyphs and bounding boxes.
Also detects missing glyph IDs from the shaping engine and emits structured Telemetry
events instead of crashing.
Mix Tasks
Runs the canonical docs-contract verification command.
Runs preflight checks before release.
Renders the branded invoice fixture, rasterises page 1 to PNG via pdftoppm,
asks the Claude API to grade three visual criteria (logo present, header
uses the embedded branded font, layout looks intentional), and writes the
verdict back into the phase's UAT file.
Runs full verification suite with deterministic and advisory lanes.