mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-25 02:07:09 -06:00
usvg knows vector-effect but drops it from the tree it returns, so every stroke was scaled by its transforms. The importer now records the shapes that ask for vector-effect="non-scaling-stroke" in its XML prepass (by id) and gives their strokes and dashes the width they have on screen; type does the same on its character strokes. Where the width can't be kept (art in patterns, markers or <use> copies, stretched or skewed type) the import warns. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>