mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-31 21:27:00 -06:00
A PDF saved with Illustrator editing data for only some of its artboards has pages for those artboards, while the editing data keeps them all. The layers were compared with the first page on the first artboard, so a page showing a later artboard never matched and the file came in as its PDF part, without its layers. With fewer pages than artboards, the first page is now taken to be the artboard of its size whose art draws most like it (up to 16 weighed), and the pages' type goes to that artboard and the ones after it. All the artboards still come in, and the comparison still decides whether the layers are used.