<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Jonathan Kew wrote:<br>
      <br>
    </div>
    <blockquote type="cite"
      cite="mid:a9efb974-87ee-f911-385e-085a97c2543f@gmail.com">The
      output you're getting shows that the hyphenation is in fact
      happening as expected. (To get a hyphen rather than a box, you
      need to set the font's \hyphenchar appropriately.)<br>
    </blockquote>
    <br>
    So what am I missing in my code, Jonathan ?  I have added a
    \hyphenchar, removed the pointless (and dysfunctional)
    \showhyphens), but still get no hyphenation —<br>
    <br>
    <tt>% !TeX Program=Ini-XeTeX<br>
      <br>
      \catcode `\ = 10<br>
      \catcode `\         = 10<br>
      \catcode `\{ = 1<br>
      \catcode `\} = 2<br>
      \catcode `\^ = 7<br>
      <br>
      \tracingonline = 1<br>
      \tracinglostchars = 2<br>
      <br>
      \font \tenrm = "Amiri"<br>
      \tenrm<br>
      \hyphenchar \font = `\‐<br>
      <br>
      \lccode "200D = "200D<br>
      \catcode "200D = 11<br>
      \patterns {^^^^200d1^^^^200d}<br>
      <br>
      \hsize = 0 pt<br>
      bla^^^^200d^^^^200dbla<br>
      <br>
      \end<br>
      <br>
      -><br>
      <br>
      <br>
      <blockquote type="cite">This is XeTeX, Version
        3.141592653-2.6-0.999993 (TeX Live 2021/W32TeX) (INITEX)
        <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
          margin-right:0px; -qt-block-indent:0; text-indent:0px;">
          restricted \write18 enabled.</p>
        <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
          margin-right:0px; -qt-block-indent:0; text-indent:0px;">entering
          extended mode</p>
        <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
          margin-right:0px; -qt-block-indent:0; text-indent:0px;">(./untitled-4.tex</p>
        <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
          margin-right:0px; -qt-block-indent:0; text-indent:0px;">Overfull
          \hbox (23.1pt too wide) in paragraph at lines 21--22</p>
        <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
          margin-right:0px; -qt-block-indent:0; text-indent:0px;">[]\tenrm
          bla‍‍bla</p>
        <p style="-qt-paragraph-type:empty; margin-top:0px;
          margin-bottom:0px; margin-left:0px; margin-right:0px;
          -qt-block-indent:0; text-indent:0px;"><br>
        </p>
        <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
          margin-right:0px; -qt-block-indent:0; text-indent:0px;">\hbox(11.24+6.33998)x0.0
          []</p>
        <p style="-qt-paragraph-type:empty; margin-top:0px;
          margin-bottom:0px; margin-left:0px; margin-right:0px;
          -qt-block-indent:0; text-indent:0px;"><br>
        </p>
        <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
          margin-right:0px; -qt-block-indent:0; text-indent:0px;">[0] )</p>
        <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
          margin-right:0px; -qt-block-indent:0; text-indent:0px;">Output
          written on untitled-4.pdf (1 page).</p>
        <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
          margin-right:0px; -qt-block-indent:0; text-indent:0px;">SyncTeX
          written on untitled-4.synctex.gz.</p>
        <p style="-qt-paragraph-type:empty; margin-top:0px;
          margin-bottom:0px; margin-left:0px; margin-right:0px;
          -qt-block-indent:0; text-indent:0px;"><br>
        </p>
        <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
          margin-right:0px; -qt-block-indent:0; text-indent:0px;">Transcript
          written on untitled-4.log.</p>
        <p style="-qt-paragraph-type:empty; margin-top:0px;
          margin-bottom:0px; margin-left:0px; margin-right:0px;
          -qt-block-indent:0; text-indent:0px;"><br>
        </p>
      </blockquote>
      -- <br>
    </tt><i>** Phil.</i><tt><br>
    </tt><br>
  </body>
</html>