Locking a glyph locks kerning for this glyph but not for the kerning class

If I lock the glyph n, I can’t modify its kerning directly, which is expected.
However, I can still change the kerning class (and thereby affect n’s kerning) by editing an unlocked glyph like m, which shares the same kerning class.

Expected behavior: Locking a glyph should also prevent indirect changes via its kerning class, or at least warn the user.

Is this intended behavior?

The kerning class does not belong to any glyph. You might use the “n” as a class name. But that is just a name. You can delete the n and the class would still be there and work the same for all remaining glyphs.

sorry, perhaps a throwback to the old fl 5 times.

But actually this is a big problem for me. i quite often accidentally ruin the class kerning when i just don’t pay attention to rare letters that are part of a class but have slight variations.

So would it make sense to have the option to lock the class kerning for all group members? what do you think? Or is there a possibility that I haven’t seen yet?

I don’t think that this is possible.

You can achieve that with the Compress function in the kerning window, but be aware that function tries to compress as much as possible.

If you want to be more surgical, you can take a look at the mekkablue scripts that remove exceptions or the partial compress script.

No, looking kerning classes is not possible.