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

RazrFalcon has just created a new issue for https://github.com/w3c/svgwg:

== 'text-anchor' and Arabic text ==
https://svgwg.org/svg2-draft/text.html#TextAnchoringProperties

```xml
<svg id="svg1" viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"
     font-family="Arial" font-size="32">
    <path id="crosshair" d="M 20 100 L 180 100 M 100 20 L 100 180"
          stroke="gray" stroke-width="0.5"/>
    <text id="text1" x="100" y="60" text-anchor="end">
        مفتاح<tspan id="tspan2" x="100" y="100" text-anchor="middle">معايير</tspan>
        <tspan id="tspan1" x="100" y="140" text-anchor="start">الويب</tspan>
    </text>
    <rect id="frame" x="1" y="1" width="198" height="198" fill="none" stroke="black"/>
</svg>
```

Results:
![text-anchor](https://user-images.githubusercontent.com/725494/51075737-682b0280-1698-11e9-95ee-3eb90f448b5f.png)

As you can see, literally everyone is rendering it differently. I think the documentation needs some clarification. It mentions the `direction` property. But that's it.

Please view or discuss this issue at https://github.com/w3c/svgwg/issues/628 using your GitHub account

Received on Saturday, 12 January 2019 16:32:58 UTC