mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-16 16:42:52 +00:00
A clipping object written as art cut to it (a group, an image, a symbol instance, a live object, type, or a path inside art already cut to another clipping object) lost its name, opacity mask and variable bindings in the editing data: no written object carried its dictionary, and a painted one put its name on each of its fill and stroke objects. The unpainted path that carried its text wrap options now carries its whole dictionary, in the form the .ai reader reads (art_dictionary in crates/eps/src/import/ai/read/document.rs). Its fills and strokes keep only the opacity mask they are drawn through. The path is admitted by the object count, so at the object limit its dictionary is never left on the object before it, and a path whose dictionary comes out empty is taken out again.