# -*- coding: utf-8 -*- """ cover_render.py — ReportLab cover generator for the PDF skill. Renders a single-page A4 cover PDF (to be merged as page 1 of the body PDF via pypdf). Pure ReportLab — no HTML/Playwright/Chromium required. Nine templates (renumbered 01-09): 01 HUD Data Terminal (light) — report/tech 02 Corporate Editorial (light) — annual/financial 03 Monolith (light) — white paper/proposal/gov 04 Museum Minimal (light) — portfolio/gallery/luxury 05 Solid Sidebar (light) — institutional/bidding/legal 06 Academic Vertical (dark) — arXiv/preprint/tech report 07 Academic Symmetric (dark) — IEEE/ACM/thesis 08 Academic Journal (dark) — CJK journal/thesis w/ keywords 09 Institutional (white + black frame) — thesis proposal/gov Fonts: auto-detected from the host machine, chosen by cover style (sans for 01-05, serif for 06-09; kai optional). CFF/PostScript-outline fonts (PingFang, Hiragino, Noto CJK OTC, Source Han) are skipped — ReportLab's TTFont cannot embed them. Missing heavy weights are simulated with stroke faux-bold. CLI: python3 cover_render.py