<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">On 2/21/2023 12:20 AM, Andreas Prilop
      via Unicode wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:C128B0DD-58FB-43DF-851F-B6B6D767D35C@fn.de">
      <pre class="moz-quote-pre" wrap="">I think that

    U+FECC
    medial ain
and
    U+200D U+0639 U+200D
    ZWJ, ain, ZWJ

should look the same, regardless of surrounding text and direction.
Is this correct?
Some programs (such as Firefox) display them differently;
see the attached HTML file.</pre>
    </blockquote>
    <p><font face="Candara">Generally, surrounding a character with ZWJ
        should lead to it being rendered with its medial form.</font></p>
    <p><font face="Candara">Text direction should have nothing to do
        with shaping, and shaping context should not extend across ZWJ.
        That's my understanding as well, but maybe somebody can throw
        some light on this issue.</font></p>
    <p><font face="Candara">A./</font><br>
    </p>
  </body>
</html>