Glyph kerning issue for "ff"

I’m experiencing a strange issue where any Label that contains “ff” is displayed weirdly. It’s happening on an Android app, though I don’t know if it’s related to that. The parent component has an AffineTransform applied to shrink it, though other texts appear fine.

I tried different (default) font sizes and justifications, but the problem remains.

Here is the caption:

Screenshot 2025-01-05 at 16.24.53

I attempted to reproduce this issue on Windows, MacOS or Android with default fonts, and Karla regular, which has a ligature for “fi”. No luck.

Could you share a code sample that reproduces this issue for you? The specific Font could be important as well as the Component and AffineTransform relations.

Also please make sure that you’ve tested this problem with our develop branch.

It’s specifically on Android. I am also still on JUCE 7 master, so develop is out of reach.

Possibly this got fixed in JUCE 8. In any case, I managed to solve it by using a default typeface without ligatures (“SourceSansPro”).

Thanks for your time.