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

The SVG Working Group just discussed `Text with multiple x="" values should be shaped as if it was not broken`, and agreed to the following:

* `RESOLUTION: All characters inside a text element should be shaped as if they are one unit`

<details><summary>The full IRC log of that discussion</summary>
&lt;krit> topic: Text with multiple x="" values should be shaped as if it was not broken<br>
&lt;krit> GitHub: https://github.com/w3c/svgwg/issues/631<br>
&lt;krit> myles: If you have text element in SVG and it has an attribute x="..." with a list of values... in latin text every letter gets placed at a different position. So for each element the letters can spread out across the document. This makes sense in western latin script. In arabic or Hindi there are shaping rules that are conceptional.<br>
&lt;krit> myles: If you split up the text and position each letter... how should the shaping interact<br>
&lt;krit> myles: should they get shaped as separate runs or should letters be shaped in the same run...<br>
&lt;krit> Tavmjong: Similar to styling: if you fill a letter with red then the shaping should not be broken<br>
&lt;krit> Tavmjong: Tango works like that. You can shape a span by itself but you have context before and after. Tango knows how to shape the main thing.<br>
&lt;krit> Tavmjong: haven't tried in InkScape hard enough.<br>
&lt;krit> Tavmjong: I do agree that shaping should not be broken<br>
&lt;krit> Tavmjong: we explicitly state in SVG 1.1 that literatures are broken<br>
&lt;krit> Tavmjong: optional literature's are broken and that makes sense.<br>
&lt;krit> Tavmjong: for instance with spacing by letter-spacing<br>
&lt;krit> myles: someone from the i11n group mentioned that shaping has meaning.<br>
&lt;krit> myles: shaping has a meaning to a reader. So we should not change the shaping.<br>
&lt;krit> chris_: That is true but also: if you put text on path the baseline is shaping and you can fake it.<br>
&lt;krit> chris_: but you should probably go to icon glyphs<br>
&lt;chris_> s/icon/isolate<br>
&lt;krit> Tavmjong: from the implementation side... no one actually implemented breaking shaping<br>
&lt;krit> Tavmjong: InkScape breaks shaping<br>
&lt;krit> Tavmjong: but Tango does have an option to send an entire paragraph so that it understands the context. So it is just a matter of using this functionality in InkScape.<br>
&lt;krit> myles: So each caharcter gets rendered in isolation in InkScape?<br>
&lt;krit> Tavmjong: right now.<br>
&lt;krit> myles: WebKit does the exact same thing and is wrong. It should be fixed.<br>
&lt;krit> Tavmjong: agre<br>
&lt;krit> krit: What about Blink<br>
&lt;krit> myles: don't know.<br>
&lt;krit> Tavmjong: would be great to have some tests.<br>
&lt;krit> myles: I can submit some tests<br>
&lt;krit> myles: I think the resolution would be: characters in a single element are shaped in a unit<br>
&lt;krit> Tavmjong: I think we need to be stronger<br>
&lt;krit> Tavmjong: characters in any text element that need shaped.<br>
&lt;krit> Tavmjong: like a span with multiple colors<br>
&lt;krit> myles: we can make it stronger.<br>
&lt;krit> myles: All characters inside a text element should be shaped as if they are one unit<br>
&lt;krit> RESOLUTION: All characters inside a text element should be shaped as if they are one unit<br>
</details>


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

Received on Monday, 24 June 2019 20:21:52 UTC