mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-14 06:31:41 +00:00
An envelope around type of only spaces and a rectangle mapped from the union of the rectangle and the type's laid-out box, so the empty type moved and scaled how the rectangle was distorted. Type that draws nothing now adds no box while other content in the envelope has one, in groups and layers and as a clipping path too. When nothing else in the envelope has a box, the type keeps its laid-out box, so an envelope of only empty type keeps its frame, Make with Mesh and Reset with Mesh still work, and Release still gives back the warp shape. This applies to Make with Warp, Make with Mesh, Make with Top Object, Reset with Mesh, Edit Contents and the stroke margins. Type that has not been measured yet keeps its laid-out box as before. The PDF/.ai import's boxes for envelopes with Distort Appearance measure each object as the whole contents measure it, so the margins the import tries match the contents' geometric box. The three import tests that measure type without registering the glyph measure now register it first, so another test registering it while they run no longer changes their result.