mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-29 01:34:29 +01:00
The box an envelope maps from measures a group or layer that holds type member by member, so that type is measured by its glyph outlines. In that walk the container's own strokes still grew every member's box by Appearance::outset(), the farthest a miter-joined stroke can reach. A 10 pt stroke of the group's own round a square next to type reached 50 pt past the square instead of the 5 pt it paints. The walk now measures the container's strokes, scaled into the envelope's frame, along each member as the group's visual box does: paths and compound paths along their shapes (Node::painted_by_container), groups holding type member by member, and nothing round hidden members and guides. Type, clip groups and compound shapes keep their box grown by the strokes' reach, with their own strokes scaled into the frame.