<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
FX does (of course) support required ligatures, meaning those
without which some script (eg Arabic)<br>
can't even be rendered.<br>
<br>
But that is implementation, no API.<br>
<br>
So this is about adding an API to request optional ligatures - and
other OpenType features.<br>
For example I think we'd want to support things like small caps etc.<br>
<br>
Of course we'd need to make sure all the measuring code is up to
that .. and BTW<br>
the APIs to do measurement probably should be in the queue ahead of
this ..<br>
<br>
And I am not sure about just an API to request ligatures without an
API to query<br>
if ligatures are available for a font. However that may turn out to
be tricky for a<br>
few reasons, but we should at least study it.<br>
<br>
And to try to answer the "when" question .. it is on a "desired"
list in my head and maybe<br>
even on a wiki somewhere .. but no concrete timetable exists.<br>
<br>
But it is good to get feedback like this so we know it is
interesting to developers.<br>
<br>
-phil.<br>
<br>
<div class="moz-cite-prefix">On 10/24/22 12:07 PM, Scott Palmer
wrote:<br>
</div>
<blockquote type="cite" cite="mid:D2536978-0591-4BA9-AD3D-879057A10877@gmail.com">
<div style="display: block;">Something I noticed while
experimenting with RichTextFX, when I set it to use Fira Code
for the font, like I do in NetBeans, I see that JavaFX doesn't
support ligatures. I found this issue that's been around for
quite some time:</div>
<div style="display: block;">
<div style="-webkit-user-select: all; -webkit-user-drag:
element; display: inline-block;" class="apple-rich-link" draggable="true" role="link" data-url="https://bugs.openjdk.org/browse/JDK-8091616"><a style="border-radius:10px;font-family:-apple-system,
Helvetica, Arial,
sans-serif;display:block;-webkit-user-select:none;width:300px;user-select:none;-webkit-user-modify:read-only;user-modify:read-only;overflow:hidden;text-decoration:none;" class="lp-rich-link" rel="nofollow" href="https://bugs.openjdk.org/browse/JDK-8091616" dir="ltr" role="button" draggable="false" width="300" moz-do-not-send="true">
<table style="table-layout:fixed;border-collapse:collapse;width:300px;background-color:#E5E6E9;font-family:-apple-system,
Helvetica, Arial, sans-serif;" class="lp-rich-link-emailBaseTable" width="300" cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td vertical-align="center">
<table style="font-family:-apple-system, Helvetica,
Arial,
sans-serif;table-layout:fixed;background-color:rgba(229,
230, 233, 1);" class="lp-rich-link-captionBar" width="300" cellspacing="0" cellpadding="0" bgcolor="#E5E6E9">
<tbody>
<tr>
<td style="padding:8px 0px 8px 0px;" class="lp-rich-link-captionBar-textStackItem">
<div style="max-width:100%;margin:0px 16px
0px 16px;overflow:hidden;" class="lp-rich-link-captionBar-textStack">
<div style="word-wrap:break-word;font-weight:500;font-size:12px;overflow:hidden;text-overflow:ellipsis;text-align:left;" class="lp-rich-link-captionBar-textStack-topCaption-leading"><a rel="nofollow" href="https://bugs.openjdk.org/browse/JDK-8091616" style="text-decoration: none" draggable="false" moz-do-not-send="true"><font style="color: rgba(0, 0, 0,
0.847059);" color="#272727">[JDK-8091616]
Prism: font: ligature and kerning
support - Java Bug System</font></a></div>
<div style="word-wrap:break-word;font-weight:400;font-size:11px;overflow:hidden;text-overflow:ellipsis;text-align:left;" class="lp-rich-link-captionBar-textStack-bottomCaption-leading"><a rel="nofollow" href="https://bugs.openjdk.org/browse/JDK-8091616" style="text-decoration: none" draggable="false" moz-do-not-send="true"><font style="color: rgba(0, 0, 0,
0.498039);" color="#808080">bugs.openjdk.org</font></a></div>
</div>
</td>
<td style="padding:6px 12px 6px 0px;" class="lp-rich-link-captionBar-rightIconItem" width="36"><a rel="nofollow" href="https://bugs.openjdk.org/browse/JDK-8091616" draggable="false" moz-do-not-send="true"><img style="pointer-events:none
!important;display:inline-block;width:36px;height:36px;border-radius:3px;" draggable="false" class="lp-rich-link-captionBar-rightIcon" alt="jira-favicon-hires.png" src="cid:part1.pgghvLBj.kKB35Rev@oracle.com" width="36" height="36"></a></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</a></div>
</div>
<div><br>
</div>
<div>Is there any drive to get this implemented within the next
few releases? I would help, but unfortunately I suspect it will
take more time than I can commit to it.</div>
<div>I’m hoping that eliminating some of the remaining gaps
between what JavaFX supports and Swing supports would be a
priority, as it removes some barriers to JavaFX adoption... but
maybe not?</div>
<div><br>
</div>
<div>Regards,</div>
<div><br>
</div>
<div>Scott</div>
</blockquote>
<br>
</body>
</html>