mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-15 07:42:42 +00:00
Type that the editing copy writes as its outlines (mirrored type, type in a clip or symbol, type the text document can't hold) put its Text Wrap Options on the group of glyph outlines. The reader then wrapped area type around the glyph shapes instead of the type's bounds, so the wrap region changed when the file was opened. The group now ends with an unpainted closed rectangle at the type's geometric bounds, with the type's lock and hidden state, that carries the wrap options; the group keeps the type's name and has no options of its own. The `.ai` reader already reads an unpainted path with its own options (`text_wrap` in crates/eps/src/import/ai/read/document.rs), and wrap resolution descends into a group without options. The rectangle counts toward the object limit; without room for it the options are left out with the limit's warning. Type without finite bounds gets no rectangle, as it had no wrap region before saving.