gstack/make-pdf/test/fixtures
Garry Tan a2c1eae16e
test(make-pdf): width-policy unit suite + landscape e2e gate with negative fixtures
24 unit tests weighted toward the false-positive guards: wide screenshot
without an alt hint stays portrait, sub-threshold and tall images stay
portrait, deterministic 1560/1561px boundary, whole-word alt matching
('photographic' must not match 'graph'), page=portrait veto beats every
heuristic, diagnostic blocks never promote. E2E gate asserts pdfinfo
per-page boxes through the compiled binary: exactly 3 of 5 fixture blocks
get landscape pages (alt-hinted image, directive-forced image, wide sequence
diagram) while the unhinted screenshot and the veto'd diagram stay portrait —
plus the --toc combo proving TOC and named-page landscape coexist.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-12 00:06:46 -07:00
..
diagram-assets test(make-pdf): width-policy unit suite + landscape e2e gate with negative fixtures 2026-06-12 00:06:46 -07:00
combined-gate.expected.txt feat(v1.4.0.0): /make-pdf — markdown to publication-quality PDFs (#1086) 2026-04-20 13:20:30 +08:00
combined-gate.md feat(v1.4.0.0): /make-pdf — markdown to publication-quality PDFs (#1086) 2026-04-20 13:20:30 +08:00
diagram-gate.md test(make-pdf): diagram pre-pass unit suite + e2e render gates 2026-06-11 23:59:40 -07:00
emoji-gate.md v1.52.2.0 fix(make-pdf): render emoji instead of tofu (▯) on Linux (#1787) 2026-05-29 18:06:19 -07:00
landscape-gate.md test(make-pdf): width-policy unit suite + landscape e2e gate with negative fixtures 2026-06-12 00:06:46 -07:00