<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
I asked a question on the XeTeX list concerning support for coloured
fonts yesterday, and it was suggested that LuaTeX might provide a
solution to my problem. Indeed it does, but it introduces a new one
— while LuaTeX appears perfectly happy to form (for example) an "fi"
ligature from the separate letters "f" & "i" in the font Minion
Pro, it does not do the same with the font Adobe Caslon Pro, whether
or not "+liga"and/or "+dlig" is specified, nor with the font
Garamond and probably others. The following is my test-bed, which
produces correct ligatures using XeTeX but not using LuaTeX or
LuaHbTeX. Can anyone advise, please ? UNIV: TeX Live 2021
(pre-test), Windows 7 64-bit.<br>
<br>
<i>Philip Taylor<br>
</i>--------<br>
<tt>\ifcsname directlua\endcsname \input luaotfload.sty \fi</tt><tt>
</tt>
<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;"><tt><br>
</tt></p>
<tt>
</tt>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><tt>\font
\bodyfont = "Minion Pro"</tt></p>
<tt>
</tt>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><tt>\centerline
{\bodyfont Minion is a fit subject}</tt></p>
<tt>
</tt>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><tt>\font
\bodyfont = "Adobe Caslon Pro" </tt></p>
<tt>
</tt>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><tt>\centerline
{\bodyfont Caslon is a fit subject}</tt></p>
<tt>
</tt>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><tt>\font
\bodyfont = "Adobe Caslon Pro:+liga;+dlig" </tt></p>
<tt>
</tt>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><tt>\centerline
{\bodyfont Caslon is a fit subject}</tt><tt><br>
</tt><tt><br>
</tt></p>
<tt>
</tt>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><tt>\end</tt></p>
<br>
<i></i>
</body>
</html>