mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-14 07:46:07 +00:00
A PDF-compatible .ai saved with Include Editing Data for Other Apps wrote no text wrap options, so a wrap object opened from the file no longer wrapped type. An object with only wrap options got no dictionary at all. The writer now writes each wrap object's options in its dictionary as `AI11TextWrapOffset` (`/Real`) and `AI11TextWrapInvert` (`/Bool`, 1 or 0), the entries `text_wrap` in crates/eps/src/import/ai/read/document.rs reads, beside the object's name, variables and opacity mask. - The offset is the one in the art's space, so on a large canvas it is written at 1/10 and read back at its size. An offset that is not finite is written as the default 6 pt, and one past the -1000 to 1000 pt the reader keeps as the nearer end of that range. - Art the writer draws for an object (a blend's steps, a symbol instance written as its art, a brushed stroke's pieces, pattern tiles, an object's drawn look) is written without the options of the objects it is made from. The object itself and a symbol's own art keep theirs. - A clipping path written as its fills and its strokes has its options once. Docs: docs/file-format-parity.md, docs/target-app-parity.md.