I guess everything you’ve written below about querying and requesting features
still falls into the hole of “stuff we could do with Swing, but can’t do with
JavaFX”. I don’t use Swing anymore, but every once in a while I run into one
of these issues. There are workarounds for some, like NSMenuF
FX does (of course) support required ligatures, meaning those without
which some script (eg Arabic)
can't even be rendered.
But that is implementation, no API.
So this is about adding an API to request optional ligatures - and other
OpenType features.
For example I think we'd want to support