mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-15 12:24:19 +00:00
Create Outlines copied each character run's fills and strokes onto every glyph, ruby glyph and underline or strikethrough bar as they were, so a gradient with no vector of its own refitted to each piece's own box, while the canvas fits it across the whole layout. A gradient with a vector kept its text-space coordinates in the document, and the characters' stroke kept its text-space weight on scaled type. Each piece is now painted by paint_type_piece, the rule outline_text already used: unplaced gradients are fixed to the layout's bounds, then the type's transform places the piece, its gradients, stroke weights and pattern tiles. Object > Expand outlines type the same way, and object.expand.info measures gradient fills on the same paths.