mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-07 16:52:47 +00:00
VectorCraft now reads `CropAreaActive`, an `/Int` in the dictionary of the editing data that holds the `ArtboardArray`, as the index of the active artboard in that array. The reader ignored it before, and every file opened on its first artboard. The opened document starts with that artboard active, so the view the document opens at and the Artboards panel use it. The index counts every entry of the array, so an artboard that is left out (one with no area) does not shift it. When the entry is missing, is not an `/Int`, or names an artboard that does not open, the first artboard is active, as before. A file that comes in as its PDF part, with its pages placed where its artboards are, opens on the page of the active artboard, also when the reading stops before the artboards. The same reader serves the editing data of EPS and PDF files. The active artboard is kept on the opened document only; native files do not save it.