mirror of
https://github.com/storytold/lightcraft.git
synced 2026-11-01 05:57:09 -06:00
Japanese photo printing and New Year cards cannot pick their paper: the Print page setup only offers the ISO and US sizes. Add the customary papers at their exact metric sizes, after the existing entries (whose sizes and order are unchanged): L判 89×127 mm, 2L判 127×178, KG判 102×152, はがき 100×148, 往復はがき 148×200, 六切 203×254, 四切 254×305 and 名刺 55×91 (portrait). Names resolve case-, space- and punctuation-insensitively, and take the Japanese customary names as aliases (L判, Lサイズ, L-size, 2L判, KG判, はがき/ハガキ/葉書/ポストカード, 往復はがき, 六切/6切, 四切/4切, 名刺). The Print dialog and `print.set`/`print.get` use the same names, the labels show the customary name with its metric size, and the PDF page size and MediaBox follow the paper. Tests: the layout test pins every new size to 0.1 pt, the aliases, and the unchanged ISO/US sizes and unknown-name rejection; the Print view test checks the labels; and an engine test exports a PDF on はがき (283.46×419.53 pt) and L判 (252.28×359.99 pt) at 254 ppi (ten pixels per millimetre, so the MediaBox is exact) and reads the actual page size, plus the customary name through print.set. Docs: ROADMAP progress log + revision history and header, docs/gaps.md (Gap 15 revision), docs/parity-checklist.md (LRC-PRINT-LAYOUT row), dated 2026-10-22; existing revision rows keep their dates.