Re: [svgwg] Text with multiple x="" values should be shaped as if it was not broken (#631)

Thanks for flagging, @r12a.

We have tried to answer this question on the Joining section of the Requirements doc. (https://w3c.github.io/alreq/#h_joining)

Imho, a good way to always look at joining-related questions is to remember the fact that shapes of letters in Perso-Arabic script do carry semantics with them, and therefore should not be changed without explicit, possibly language-aware, indications.

If I try to translate the question here to other writing systems, the question would become something like this for Latin: would you replace "a" glyph with "A" because the requested hight of the glyph was larger than what you got for "a"?

Yes, ideally there will exist a typesetting framework that, given the text and some `x` attributes, would know how to position the letters, in their *meant* shapes, at the desired coordinates. This almost exists for Latin script, but clearly doesn't exist for Perso-Arabic script, yet. So, changing the text to match the current (limited) technical ability of type setting doesn't really help anyone.

That said, it would still be possible, if needed, to use the `x` attribute to position any explicitly *shaped* character, following use of joining control characters, as described by Unicode.

Hope this is helpful.

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

Received on Wednesday, 5 June 2019 08:22:27 UTC