<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Yannis Haralambous wrote:<br>
</div>
<blockquote type="cite"
cite="mid:E683167C-C082-4849-841F-2586B76B3548@gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
When I run the same file with Amiri:
<div class=""><br class="">
</div>
<div class="">
<div class="">% !TeX Program=Ini-XeTeX</div>
<div class=""><br class="">
</div>
<div class="">\catcode `\ = 10</div>
<div class="">\catcode `\ = 10</div>
<div class="">\catcode `\{ = 1</div>
<div class="">\catcode `\} = 2</div>
<div class="">\catcode `\^ = 7</div>
<div class="">\font\tenrm="Amiri-Regular.ttf"<br>
</div>
</div>
</blockquote>
<br>
Does your hacked version of my code not generate this error for you,
Yanni ?<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-3.texname
= Amiri-Regular, rootname = Amiri-Regular, pointsize = </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;">mktexmf:
empty or non-existent rootfile!</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;">kpathsea:
Running mktexmf Amiri-Regular.mf</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;">The
command name is C:\TeX\Live\2021\bin\win32\mktexmf</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;">Cannot
find Amiri-Regular.mf.</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;">! Font
\tenrm=Amiri-Regular.ttf not loadable: Metric (TFM) file or
installed fo</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;">nt not
found.</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><to
be read again> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"> \tenrm
</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;">l.9
\tenrm</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;">? </p>
</blockquote>
-- <br>
<i>** Phil.</i><br>
<br>
</body>
</html>