<div dir="ltr"><div>Sigh, I thought you'd like the challenge:-)</div><div><br></div><div>with luahbtex:</div><div><br></div><div><br></div><div><br>\input luaotfload.sty<br>\font\chess=BabelStoneXiangqiColour.ttf:mode=harf<br><br><br>testing {\chess ^^^^^^01fa64}<br><br>\bye</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 18 Mar 2021 at 20:44, Philip Taylor <<a href="mailto:P.Taylor@hellenic-institute.uk">P.Taylor@hellenic-institute.uk</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 bgcolor="#FFFFFF">
<div>David Carlisle wrote:<br>
<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>Not sure if xetex can do colour fonts currently, You can
always experiment with luatex which gets this if using
harfbuzz</div>
<div><br>
</div>
<div><img src="cid:178472cc921cb971f161" alt="image.png" width="244" height="136"><br>
</div>
<div><br>
</div>
<div>\documentclass{article}<br>
<br>
\usepackage{fontspec}<br>
<br>
\newfontfamily\chess[Renderer=HarfBuzz]{BabelStoneXiangqiColour.ttf}<br>
\begin{document}<br>
<br>
testing {\chess ^^^^^^01fa64}<br>
<br>
\end{document}<br>
</div>
</div>
</blockquote>
<br>
OK, thanks David. I will see if LuaTeX can handle my existing work
on the book (which of course assumed plain XeTeX), and if it can, I
will switch to LuaTeX for this project. But do you know how one
does the plain LuaTeX equivalent of :<br>
<br>
<blockquote type="cite">\usepackage{fontspec}<br>
\newfontfamily\chess[Renderer=HarfBuzz]{BabelStoneXiangqiColour.ttf}</blockquote>
<br>
I <i>really</i> don't want to have to use packages unnecessarily.<br>
-- <br>
<i>** Phil.</i><br>
</div>
</blockquote></div>