How to properly display multiline text in SVG 1.1?

前端 未结 4 1760
春和景丽
春和景丽 2021-01-13 06:52

I would like to take a multiline block of text and display it in SVG. I would like to keep the lines as lines. Is there a proper way to do this?

I am using Inkscape

4条回答
  •  耶瑟儿~
    2021-01-13 07:44

    Alternatively, foreignObject will allow you to include html:

    text here

    Doesn't seem to work in Opera or IE, though.

提交回复
热议问题