.ai import: a PDF part cropped to the art no longer hides the layers

A PDF-compatible .ai whose PDF part's pages are cropped to its art (each
page the box of all the art, the editing data's bounding box) rather
than to its artboards came in as that PDF part: the editing data's
artboard wasn't the page's size, so its layers were refused. With
several artboards every page held all the art, so the document had a
copy of everything per page.

When the artboard isn't the page's size but the editing data's bounding
box is, the layers are compared with the page on that box and keep
their artboards. The comparison of their art with the page still
decides whether they are used.
This commit is contained in:
Don Omondi
2026-10-30 08:15:04 +07:00
committed by bflatastic
parent 494de9dfa2
commit 0f1b70f8b1
5 changed files with 55 additions and 8 deletions
File diff suppressed because one or more lines are too long