mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-24 09:46:59 -06:00
A .ai or EPS opened from its editing data lost the opacity and blend mode of its text objects. text_slot made the slot without the graphics state's opacity and blend mode, which paths, meshes and images take, so an Xy before a text object was lost. An Xy after it reached the slot, but fill_slots then put type made from the text document in the slot's place with only its visibility and name, and style_marker dropped the transparency that a text object with an appearance carries on its look. text_slot now takes the state's opacity and blend mode. fill_slots gives made type the slot's opacity, blend mode, isolation and knockout. The page's type gets them too, in place of its own transparency when that is none, the slot's, or the slot's combined with that of the objects around it; otherwise the page's type and the strokes around it keep their own (a fill's, for example). When the type has transparency and comes with other art (the strokes the page draws around it, or page type that goes with it), a group of them takes the transparency. A text object with an appearance takes the transparency from its look; where the look draws more than the type and has transparency, the look and the type go into a group that has it, and that group is not taken as the look of a later object. The import fuzz's .ai tokens now include a commented text object, 1 /FreeUndo , and a group's state marker (6 () XW). Docs: docs/mcp.md, docs/target-app-parity.md.