Re: [svgwg] tspan and text shaping (#634)

If we try to change a font than everything is even Firefox fails. 

```xml
<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg" font-family="Arial" font-size="64">
    <path id="crosshair" d="M 20 100 L 180 100 M 100 20 L 100 180
                            M 79 20 L 79 180 M 121 20 L 121 180"
          stroke="gray" stroke-width="0.5"/>

    <text id="text1" x="100" y="100" text-anchor="middle" fill="red">
        AVA
    </text>

    <text id="text1" x="100" y="100" text-anchor="middle">
        A<tspan font-weight="bold">V</tspan>A
    </text>

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

![e-tspan-024](https://user-images.githubusercontent.com/725494/51792629-7a3e9200-21bc-11e9-8fc6-df5d9bf39961.png)


Since everyone failed (except my own library) I'm not even sure what should be done in this case. At least I think that the expected result is the one that `resvg` produces.

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

Received on Saturday, 26 January 2019 20:49:41 UTC