mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-24 17:56:50 -06:00
PDF export and .ai saves wrote every page in points. ISO 32000-1 (Annex C.2) gives 14,400 units as the longest page side, and a page with a longer side got a media box past that limit. A PDF/A-2b file with such a page failed veraPDF's page size rule (6.1.13). Such a page now gets a UserUnit (PDF 1.6): its longer side divided by 14,400 and rounded up to the next thousandth, with the page's sizes and coordinates in those units. A 20,000 × 10,000 pt artboard is written as a 14,398.85 × 7,199.42 page with /UserUnit 1.389, and VectorCraft's PDF import reads it back at 20,000 × 10,000 pt. Pages up to 14,400 pt, PDF 1.3 to 1.5 files, PDF/X files and printing are written as before. Docs: docs/mcp.md, docs/target-app-parity.md.