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

@RazrFalcon Was thinking mainly about testing with some font where fi is ligaturized, e.g. Times, and comparing with e.g. fe, to see how the handling of text chunks / ligatures / kerning / shaping is affected by other attributes and by being in different dom nodes or not, such as this:
```svg
<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg" font-family="Times" 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" />

  <!-- \x66\x69 -->
  <text id="text1" x="100" y="60" text-anchor="middle">
    fi
  </text>

  <!-- \x66\x69 -->
  <text id="text2" x="100" y="100" text-anchor="middle">
    f<tspan fill="green">i</tspan>
  </text>

  <!-- \x66\x65 -->
  <text id="text3" x="100" y="140" text-anchor="middle">
    fe
  </text>

  <!-- \x66\x65 -->
  <text id="text4" x="100" y="180" text-anchor="middle">
    f<tspan fill="green">e</tspan>
  </text>

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

Btw, do you have some script you're using to create images for all the renderers? Would you mind sharing it?

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

Received on Monday, 28 January 2019 16:00:18 UTC