mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-12 15:52:52 +00:00
PDF/A-2 limits page boundaries to 14,400 units (ISO 19005-2, 6.1.13), and PDF 1.4 has no UserUnit. A PDF/A-2b export at PDF 1.4 with a page longer than 14,400 pt was written in points, with a MediaBox over 14,400 units, whether or not longPagesInPoints was on. Such a file is now written as PDF 1.6 with a UserUnit and a warning that names the version, as PDF 1.5 files already are. PDF/A-2 files may declare PDF 1.0 to 1.7. Pages past 32,767 pt that aren't whole numbers of points are written too, since the refusal applies only to PDF 1.3 and 1.4 files. Files whose pages are all 14,400 pt or shorter stay PDF 1.4.