From 1834c8886b15aa3b868e988c185ac5c344392886 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Thu, 23 Apr 2026 09:06:37 +0300 Subject: Add ISO A4 PDF print/book pipeline, page-frame prompts, and usage docs Print and book PDF modes now letterbox each raster to A4 portrait at pdf.density; print uses the matte color for pads. CLI forces 3:4 generation for print|book unless --aspect-ratio is set. Cover, gallery, and back prompts gain DINA4PDF instructions when those modes are active. Introduce DescribePageFrame and PDF helpers with tests; add CLI tests for presentation and aspect precedence. Expand README and config example with A4 examples, language env vars, and page-format vs PDF behavior. Add sample Sumer vocabulary files. Made-with: Cursor --- docs/ARCHITECTURE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/ARCHITECTURE.md b/docs/ARCHITECTURE.md index 41e34dc..9368cc6 100644 --- a/docs/ARCHITECTURE.md +++ b/docs/ARCHITECTURE.md @@ -489,5 +489,5 @@ comics/ - **New AI Providers**: Implement `TextProvider`/`ImageProvider`/`TTSProvider` and register in the respective registries - **New Style Modes**: Add to `StyleConfig` and update `pickStyle()` in `types.go` -- **Custom Output Formats**: The `assemblePDF` field in `Runner` is injectable for alternative exporters +- **Custom Output Formats**: The `assemblePDF` field in `Runner` is injectable for alternative exporters; the default implementation takes `PDFAssembleOptions` (density, JPEG quality, print-style matting) - **Additional Languages**: Extend `localization.go` with new script/language mappings -- cgit v1.2.3