Negative kerning

Hey there, i’m new to juce, how do i give my font -2px kerning?

Would it be to use this?
setextraKerningFactor(-2);

I tried but it didn’t work, shit started going craycray for realss.

extraKerning	a multiple of the font's height that will be added to space between the characters. So a value of zero is normal spacing, positive values spread the letters out, negative values make them closer together.

So maybe -0.05f? -2 sound like it’ll make it go backwards.

1 Like

The FontsDemo has a kerning slider that you can test out, to see the effects of different values.

1 Like