mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-15 23:05:39 +00:00
A .ai in the legacy PostScript format opened with the box around all of its art as the artboard, so art placed off the artboard came in on it. Files opened as .eps keep their page. - A .ai file read through its layers used the EPS rule from #1102, which makes the art's bounding box the artboard. It now keeps the artboard its header gives (%AI5_ArtSize around the center of %AI3_TemplateBox), with its art outside it. The engine opens a PostScript .ai or .ait through the new vectorcraft_eps::import_ai; an EPS's private data is still read as an EPS. - A .ai of versions 3 and 4 (no %AI5_FileFormat) does not record its artboard's size. When it has a template box, its artboard is now VectorCraft's own default, a US Letter page, centered on the template box's center, which the version 7 specification (section 2.2) places at the artboard's center. Before, it was the art's box. This also applies to .ai files other apps write with a template box and no art size (#1027). - The center of a template box with a size (a file with a template image) is now the middle of the box, not its lower-left corner. A .ai with neither an art size nor a template box keeps its art's box as the artboard.