mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-08 16:30:41 +00:00
A .ai file whose PDF part has a page for each artboard had its layers compared with the first page only. Art that the layers drew on a later artboard and its page didn't, or that a later page drew and the layers didn't, opened from the layers with no warning, and a text object that a later page doesn't draw stayed. When the PDF part has a page for every artboard, each page is now compared with the layers on its artboard, and the comparison fails when any page differs by more than it allows. Text objects that a later page doesn't draw are weighed there and left out, unless their layer doesn't print. Art that differs on a later page is handled as on the first page: such files now open from their PDF part with the usual warning, where they opened from their layers before. A PDF part with pages for some of the artboards, or with its pages cropped to the art, is still compared on its first page only. Pages are compared until their comparison drawings take 8,388,608 pixels (about 67 letter-size pages, or 4 when the PDF part is only images), and at most 128 pages are compared. The type share in the import's note is now that of the page whose type differs most. The layers are drawn once for the pages of the same size and cut into each page's part. Each page moves by less than half a pixel to start on a whole pixel, and the column or row the move takes past its artboard isn't compared. Each page's drawing and result are kept until the layers change, for the last two documents weighed. Taking a text object out draws again only the pages within reach of it (every page when type wraps). An artboard, or the page of an EPS's editing data, whose sides are within half a point of its page's is drawn on an area of the page's size, so both drawings have the same number of pixels. Before, such a file could open without its layers when the half point changed the rounded size of its drawing, even when its layers matched the page. Docs: docs/mcp.md, docs/target-app-parity.md.