David Carlisle wrote:

I see colour here in windows firefox, widows chrome  and xpdf using cygwin X

attached luahbtex file and result

in Chrome it looks like this

image.png



OK, so it could be the TeXworks previewer that is failing to shew the colour.  But to get your plain LuaTeX code to work, and not report a missing font, I had to remove the ".ttf" extension :

% !TeX Program=LuaTeX

\magnification 900

\input luaotfload.sty

\font \bodyfont = "Minion Pro"
\font \tenit = "MinionPro-IT"
\font \smallcaps = "Minion Pro/ICU:+smcp"
\font \oldstyle = "Minion Pro/ICU:+onum"
\relax
\font \pieces = "BabelStoneXiangqiColour:mode=harf"
\relax
\pagewidth = 35 true pc
\pageheight = 59 true pc
\hsize = 25 true pc
\advance \hoffset by -1 true in
\advance \voffset by -1 true in
\advance \hoffset by 5 pc
\advance \voffset by 13 true pc
\pretolerance = 9999
\spaceskip = 0,333 em plus 0,3 em minus 0,1 em
\xspaceskip = 1 em plus 0,3 em minus 0,1 em
\def \lineturn {\unskip {\parfillskip = 0 pt \endgraf \noindent}\ignorespaces}
\def \ignore #1{}
\catcode `\“ = \active
\catcode `\” = \active
\catcode `\; = \active
\catcode `\: = \active
\def \Prespace #1{\def #1{$\;$\char `#1\relax}}
\def \prespace #1{\def #1{$\,$\char `#1\relax}}
\def \postspace #1{\def #1{\char `#1\relax $\,$}}
\prespace ”
\Prespace ;
\Prespace :
\postspace “
\bodyfont
\parskip = 0 pt

% snip

\pieces
\centerline {\char "1FA60\relax}
\centerline {🩠}

\end

Reply via email to