What problem does it solve?
Configure and validate typography settings for Pretext-driven PDF exports to ensure consistent, readable, and brand-aligned page layouts across prose, code, chat, and reference outputs.
Core Features & Use Cases
- Content-aware profiles: Preset typography profiles for prose, code review, chat exports, presentations, and reference manuals with tuned font stacks, sizes, and line heights.
- Page geometry and measurement: Produce page geometry in points, margin settings, column layouts, and validated font descriptors compatible with Pretext measurements.
- Disposition mapping & accessibility: Map agent dispositions to typographic choices and enforce accessibility constraints such as minimum font sizes and readable line lengths.
- Use Case: Generate a client-facing Go specification PDF with increased body size, adjusted code block settings, and validated page breaks to avoid widows/orphans.
Quick Start
Configure typography for a mixed prose-and-code PDF export by specifying content_type: "mixed", increasing body_size to 12pt, setting Recursive MONO=1 for code, and exporting a test page to validate line length and page breaks.