mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-25 10:17:02 -06:00
Placing an SVG fitted and centred it by its art's bounds whatever `crop` said, so art drawn on a shared canvas lost its place and scale, and `crop: "crop"` and `crop: "bounding"` gave the same result without a warning. With `crop: "crop"` given, an SVG is now framed and clipped by its viewBox (its artboard, as File › Open has it), as a PDF is by its page: `rect` and `at` fit and centre that frame. By default, as Illustrator places an SVG, and with "bounding", it is still its art's bounds. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>