<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">If a pdf (pre)viewer component is not coded to do it by itself, the underlying operating system may be called to do the rendering.<br><br>As per link in Ross More's posting, that may mean sometimes that a minimum of:<br>macOS 10.14+, iOS 12+, Windows 10+<br>– is required.<br><br>It's one thing to get it showing in a pdf, it's quite another sometimes to get it into print ...<br><br>"OpenType SVG Fonts in Print: Known Issues and Recommendations<br>by Laura Baker<br><br>"OpenType SVG (scalable vector graphics) fonts are nothing new. Initially intended for web-based design, OpenType SVG fonts are beginning to appear in printed works and are causing concern in the printing industry among designers, publishers, printers, and software companies alike.<br>..."<br><br><br>Here's a workout for anyone interested, as it also has tools for outputting the SVG table and so for inspection of the colour 'glyphs' directly if necessary for some fonts ...<br><br>"Tools and sample files for making OpenType-SVG fonts"<br><br>MIT License <br><br>addsvg – adds an SVG table to a font, using SVG files provided. The font's format can be either OpenType or TrueType.<br><br>dumpsvg – saves the contents of a font's SVG table as individual SVG files. The font's format can be either OpenType, TrueType, WOFF, or WOFF2.<br><br>fonts2svg – generates a set of SVG glyph files from one or more fonts and hex colors for each of them. The fonts' format can be either OpenType, TrueType, WOFF, or WOFF2.<br><br>With process instructions under —<br><br>"How to make OpenType-SVG fonts?"<br><br><a href="https://github.com/adobe-type-tools/opentype-svg">https://github.com/adobe-type-tools/opentype-svg</a><hr><a href="http://PaulANorman.info">http://PaulANorman.info</a><br><br><br><div class="gmail_quote">On March 19, 2021 10:44:57 AM GMT+13:00, Philip Taylor <P.Taylor@Hellenic-Institute.Uk> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="moz-cite-prefix">David Carlisle wrote:<br>
<br>
</div>
<blockquote type="cite" cite="mid:CAEW6iOhpzjR02i9sW4Q6fU-hLOj6+KA3iHV2EF9r-pSDNovBUA@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div>I see colour here in windows firefox, widows chrome and
xpdf using cygwin X</div>
<div><br>
</div>
<div>attached luahbtex file and result</div>
<div><br>
</div>
<div>in Chrome it looks like this</div>
<div><br>
</div>
<div><img src="cid:part1.56A7FED4.83BC1E0C@Hellenic-Institute.Uk" alt="image.png" class="" width="559" height="245"><br>
<br>
</div>
</div>
<br>
</blockquote>
<br>
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 :<br>
<br>
<tt>% !TeX Program=LuaTeX<br>
<br>
\magnification 900<br>
<br>
\input luaotfload.sty<br>
<br>
\font \bodyfont = "Minion Pro"<br>
\font \tenit = "MinionPro-IT"<br>
\font \smallcaps = "Minion Pro/ICU:+smcp"<br>
\font \oldstyle = "Minion Pro/ICU:+onum"<br>
\relax<br>
\font \pieces = "BabelStoneXiangqiColour:mode=harf"<br>
\relax<br>
\pagewidth = 35 true pc<br>
\pageheight = 59 true pc<br>
\hsize = 25 true pc<br>
\advance \hoffset by -1 true in<br>
\advance \voffset by -1 true in<br>
\advance \hoffset by 5 pc<br>
\advance \voffset by 13 true pc<br>
\pretolerance = 9999<br>
\spaceskip = 0,333 em plus 0,3 em minus 0,1 em<br>
\xspaceskip = 1 em plus 0,3 em minus 0,1 em<br>
\def \lineturn {\unskip {\parfillskip = 0 pt \endgraf
\noindent}\ignorespaces}<br>
\def \ignore #1{}<br>
\catcode `\“ = \active<br>
\catcode `\” = \active<br>
\catcode `\; = \active<br>
\catcode `\: = \active<br>
\def \Prespace #1{\def #1{$\;$\char `#1\relax}}<br>
\def \prespace #1{\def #1{$\,$\char `#1\relax}}<br>
\def \postspace #1{\def #1{\char `#1\relax $\,$}}<br>
\prespace ”<br>
\Prespace ;<br>
\Prespace :<br>
\postspace “<br>
\bodyfont<br>
\parskip = 0 pt<br>
<br>
% snip<br>
<br>
\pieces<br>
\centerline {\char "1FA60\relax}<br>
\centerline {🩠}<br>
<br>
\end</tt><br>
</blockquote></div></body></html>