fontdiff icon indicating copy to clipboard operation
fontdiff copied to clipboard

Tatweel should force joining

Open brawer opened this issue 9 years ago • 1 comments

The Arabic Tatweel should force joining.

<html lang="ar">
  <p>
    <span style="font-weight:100">&#x0634;</span>
    <span style="font-weight:200">&#x0634;</span>
    <span style="font-weight:300">&#x0634;</span>
    <span style="font-weight:400">&#x0634;</span>
    <span style="font-weight:500">&#x0634;</span>
    <span style="font-weight:600">&#x0634;</span>
    <span style="font-weight:700">&#x0634;</span>
    <span style="font-weight:800">&#x0634;</span>
    <span style="font-weight:900">&#x0634;</span>
  </p>

  <p>
    <span style="font-weight:100">&#x0640;&#x0634;&#x0640;</span>
    <span style="font-weight:200">&#x0640;&#x0634;&#x0640;</span>
    <span style="font-weight:300">&#x0640;&#x0634;&#x0640;</span>
    <span style="font-weight:400">&#x0640;&#x0634;&#x0640;</span>
    <span style="font-weight:500">&#x0640;&#x0634;&#x0640;</span>
    <span style="font-weight:600">&#x0640;&#x0634;&#x0640;</span>
    <span style="font-weight:700">&#x0640;&#x0634;&#x0640;</span>
    <span style="font-weight:800">&#x0640;&#x0634;&#x0640;</span>
    <span style="font-weight:900">&#x0640;&#x0634;&#x0640;</span>
  </p>
</html>

Observed rendering:

image

Expected: The second line should have joined characters, as in ـشـ .

brawer avatar Jan 30 '17 19:01 brawer

The font (an upcoming version of Noto) is fine, so this is clearly a FontDiff problem. FontView renders the same string like this:

image

brawer avatar Jan 30 '17 19:01 brawer