[svgwg] Issue: tspan and text shaping (#634) marked as Agenda+

dirkschulze has just labeled an issue for https://github.com/w3c/svgwg as "Agenda+":

== tspan and text shaping ==
```xml
<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg" font-family="Arial" font-size="48">
    <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="50" y="100">
        T<tspan fill="green">e</tspan>xt
    </text>

    <text id="text2" x="50" y="140">
        Text
    </text>

    <rect id="frame" x="1" y="1" width="198" height="198" fill="none" stroke="black"/>
</svg>
```

![test13](https://user-images.githubusercontent.com/725494/51470557-e6646480-1d7c-11e9-902f-0808f96c3978.png)

According to the SVG spec, text shaping should be done to the whole *text chunk*, which in our case is the whole word. But looks like only Firefox does this right. Is it so or am I missing something?

See https://github.com/w3c/svgwg/issues/634

Received on Monday, 20 May 2019 13:06:13 UTC