<div dir="ltr"><div>This is unrelated to polyglossia the latex format does</div><div><br></div><div>\ifx\XeTeXcharclass\@undefined<br>\DeclareRobustCommand\showhyphens[1]{%<br>....<br>\else<br>\DeclareRobustCommand\showhyphens[1]{%<br>  \setbox0\vbox{%<br>    \usefont{TU}{lmr}{m}{n}%</div><div><br></div><div><br></div><div>% Xe\TeX\ version. When using system fonts Xe\TeX\ reports consecutive<br>% runs of characters as a single item in box logging, which means the<br>% standard |\showhyphens| does not work.  This version typesets the<br>% text into a narrow box to force hyphenation and then reconstructs a<br>% horizontal list with explicit hyphens to generate the display. Note<br>% that the |lmr| OpenType font is forced, this works even if the<br>% characters are not in the font as hyphenation is attempted due to<br>% the width of the space and hyphen character. It may generate<br>% spurious Missing Character warnings in the log, these are however<br>% suppressed from the terminal output by ensuring that<br>% |\tracingonline| is locally zero.<br>%</div><div><br></div><div><br></div><div>That last line seems no longer true as the warnings are emitted, I'll check.... (latex2e github issue would be easier place to track any changes than this list but no matter really)</div><div><br></div><div>david</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 17 Jun 2024 at 12:16, David Carlisle <<a href="mailto:d.p.carlisle@gmail.com">d.p.carlisle@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">I get no missing character warning with lualatex but xelatex is using latin modern in show hyphens so warns all the characters are missing<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 17 Jun 2024 at 12:01, Zdenek Wagner <<a href="mailto:zdenek.wagner@gmail.com" target="_blank">zdenek.wagner@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi all,</div><div><br></div><div>TeX Live contains Armenian hyphenation patterns in hyph-hy (Armenian in Armenian is hayeren) but they are not used in polyglossia. Is there any reason? In addition, \showhyphens report missing characters although my default font contains them. MWE is below</div><div><br></div><div>\documentclass[12pt]{article}<br>\usepackage{polyglossia}<br>\setdefaultlanguage{armenian}<br>\setmainfont{FreeSans}<br>\begin{document}<br>Բարև՛ Ձեզ<br><br>\showhyphens{ինչու ինչպես որտեղ հիվանդանոց հիվանդանոցում Երևան Երևանում Նամակ Երևանիս ԵՐԵՎԱՆ <br>ԵՐԵՎԱՆՈՒՄ ԵՐԵՎԱՆԻՍ շնորհակալություն անպայման այրվել անգին անձրևանոց ԱՆՁՐԵՎԱՆՈՑ հիվանդանոցու՞մ}<br><br>ինչու ինչպես որտեղ հիվանդանոց հիվանդանոցում Երևան Երևանում Նամակ Երևանիս ԵՐԵՎԱՆ <br>ԵՐԵՎԱՆՈՒՄ ԵՐԵՎԱՆԻՍ շնորհակալություն անպայման այրվել անգին անձրևանոց ԱՆՁՐԵՎԱՆՈՑ հիվանդանոցու՞մ<br>\end{document}</div><div><br></div><div><div><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Zdeněk Wagner</div><div><a href="https://www.zdenek-wagner.eu/" target="_blank">https://www.zdenek-wagner.eu/</a></div></div></div></div></div></div>
</blockquote></div>
</blockquote></div>