mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-15 21:57:04 +00:00
A startOffset given as a length now counts in the units of the referenced element's pathLength, so pathLength="100" on a path 400 long puts startOffset="50" at 200. A percentage stays a share of the computed length. A pathLength of 0 keeps an offset of 0 at the start and puts any other offset past the end, and an offset too large to scale starts at the path's end instead of its start. https://www.w3.org/TR/SVG2/text.html#TextLayoutAlgorithm https://www.w3.org/TR/SVG2/paths.html#PathLengthAttribute