Sigh, I thought you'd like the challenge:-)

with luahbtex:



\input luaotfload.sty
\font\chess=BabelStoneXiangqiColour.ttf:mode=harf


testing {\chess ^^^^^^01fa64}

\bye



On Thu, 18 Mar 2021 at 20:44, Philip Taylor <p.tay...@hellenic-institute.uk>
wrote:

> David Carlisle wrote:
>
> Not sure if xetex can do colour fonts currently, You can always experiment
> with luatex which gets this if using harfbuzz
>
> [image: image.png]
>
> \documentclass{article}
>
> \usepackage{fontspec}
>
> \newfontfamily\chess[Renderer=HarfBuzz]{BabelStoneXiangqiColour.ttf}
> \begin{document}
>
> testing {\chess ^^^^^^01fa64}
>
> \end{document}
>
>
> 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 :
>
> \usepackage{fontspec}
> \newfontfamily\chess[Renderer=HarfBuzz]{BabelStoneXiangqiColour.ttf}
>
>
> I *really* don't want to have to use packages unnecessarily.
> --
> *** Phil.*
>

Reply via email to