K
K
kocherman2020-05-28 15:17:59
SVG
kocherman, 2020-05-28 15:17:59

Why doesn't text wrapping work in SVG?

In short, you need to insert text into svg so that the long line is broken into parts and wrapped to the next line. In the SVG spec, the tag has an inline-size property: https://www.w3.org/TR/SVG2/text.html#InlineSize But I can't seem to get it to work, at least with examples from the spec: https:// jsfiddle.net/mkt1o5vn/ Maybe I'm missing something and doing it wrong? <text>





Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question