Re: [svgwg] 'text-anchor' and Arabic text (#628)

I don't think the libsvg rendering is completely correct, as the final glyph (U+062D, ح) on the top line isn't being shaped into a medial form - you can see that it is in Firefox.

Shaping should really be applied across `<tspan>` boundaries, otherwise you can't change any properties (eg color) in the middle of a run of arabic without breaking text.

Shaping is applied across inline-element boundaries in CSS. The SVG2 spec says that `<tspan>` is analogous to an inline element, and is treated as one for white-space etc in SVG. I think it must be treated as one for shaping too.

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


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

Received on Wednesday, 23 September 2020 10:45:37 UTC