Use the ‘Inter’ font. Inter - Google Fonts
Draw a string that contains the characters
It gets replaced with a ligature, but then the next character gets dropped.
Drawing was fine on Ventura.
auto text = "triangle -> saw";
auto textArea = getLocalBounds().withSizeKeepingCentre(200, 20);
g.drawText (text, textArea, juce::Justification::centred, false);
JUCE is setting
kCTLigatureAttributeName=0, so not sure why the substitution is happening.
Already reported awhile ago:
Not just the next character, but multiple characters in a longer string.