Re: [svgwg] [SVG2] Drop inline-size attribute on text element from SVG2 (#1087)

Hi,

Krita dev responsible for the text layout here: While our text layers are largely internal, they can be exported easily, and I spend a painstaking amount of time to make sure everything conformed to SVG2. The release was only last March, so I don't know how many files exist already.

I would like to point out that for Krita's implementation, I was able to gain a lot from [Hans Muller's blog posts](https://hansmuller-webkit.blogspot.com/2014/03/a-simpler-algorithm-for-css-shapes.html) on the topic. He had this implemented for webkit (particularly for css+html), but then removed the shape-inside bits because it was moved from the CSS-shapes-1 specification. So, it is not like programmers don't know how to implement this.

Krita, like Inkscape, can convert to pre-positioned svg 1.1 style text. This is text that uses x and y positioning to position the lines. This is because css-text white-space was not introduced till SVG 2. Krita, unlike Inkscape, doesn't do this by default, and that's mostly because I don't have enough confidence in my conversion algorithm.

I also seem to recall there's another SVG rendering library that implements inline-size, like, specifically because they wanted to render a public-transit-map correctly, but I can't seem to find the blog post.

-- 
GitHub Notification of comment by therahedwig
Please view or discuss this issue at https://github.com/w3c/svgwg/issues/1087#issuecomment-4288833396 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 21 April 2026 13:18:38 UTC