diff options
| author | Paul Buetow <paul@buetow.org> | 2026-04-23 09:06:37 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-04-23 09:06:37 +0300 |
| commit | 1834c8886b15aa3b868e988c185ac5c344392886 (patch) | |
| tree | 89bab79059910638b7f8b3f865e9feddf95f4b81 /config.yaml.example | |
| parent | 0ccc8073852895996ed70c4b2a86c460e3a3ddae (diff) | |
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
Diffstat (limited to 'config.yaml.example')
| -rw-r--r-- | config.yaml.example | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/config.yaml.example b/config.yaml.example index 5f10714..98e6455 100644 --- a/config.yaml.example +++ b/config.yaml.example @@ -23,7 +23,9 @@ models: comic: story_pages: 5 gallery_pages: 5 + # 4 panels → prompt asks for ≥3 horizontal rows (not a 2×2-only layout). panels_per_page: 4 + # Gemini image aspect ratio. CLI: --aspect-ratio wins. With pdf.presentation print|book, defaults to 3:4 (A4-class) unless --aspect-ratio is set. aspect_ratio: "16:9" prompt_max_chars: 900 page_max_retries: 5 @@ -32,7 +34,9 @@ comic: language: input: Vocabulary output: Story - # Language used for story and narration prompts. + # Language used for story and narration prompts. Must match the script of visible text + # (e.g. English story + Latin script for English vocab; Cyrillic for Bulgarian). + # Env: COMICFORGE_LANGUAGE_STORY_LANGUAGE, COMICFORGE_LANGUAGE_SCRIPT story_language: Bulgarian script: Latin @@ -72,5 +76,14 @@ narration: - Fenrir chunk_words: 100 +# Final PDF assembly (ImageMagick `convert` on PATH). CLI: --pdf-jpeg-quality, --pdf-presentation. +# Env: COMICFORGE_PDF_DENSITY, COMICFORGE_PDF_JPEG_QUALITY, COMICFORGE_PDF_PRESENTATION +pdf: + density: 150 + # 0 = default; 1–100 = JPEG inside PDF (smaller file). + jpeg_quality: 0 + # none | print | book — print/book output ISO A4 portrait PDF pages; book also ages, tilts, shadows, thick edge. + presentation: none + # Directory that ComicForge uses for prompt templates. prompts_dir: ./prompts |
