I think I might have accidentally lost all kerning I have done. I tried to apply a script named 'Set Kerning Groups (Lat-Grk_Cyr) (it was under ‘Scripts → Metrics and Kerning’ on the menu) and apparently I lost all kerning that I have done until now. (apparently, it set the kerning groups but erased the kerning values themselves) Luckily, I always save versions of my files when I need to do some big changes. So, please, how do I, first:
Import all my kerning pairs from a previously saved .glyphs file?
and second:
Is there an update for that ‘Set Kerning Groups’ script?
Thank you so much for your support! Please, help me!
(also, when importing kerning from another .glyphs file, do I have to do this master by master? Is there a way to import all masters kerning values at once?)
That can be done with File > Import… > Metrics. Then pick the other file. If the classes match already, open both files and copy paste the kerning from the kerning panel.
What do you mean by ‘if the classes match already’?
I did a cleanup and I was left with 168 kerning pairs. I will try copying and pasting from one kerning panel to the other, so I don’t lose these and get the previous ones from the older, previously saved .glyphs file.
Anyway, is there an updated ‘set kerning groups’ plugin? Is it safe to run it?
Tried copying and pasting from one .glyphs file to another and it seems it’s not copying all kerning pairs. I feel lost. How do I delete all kerning and just replace it with the kerning from the other file? Tried erasing all kerning, and in my kerning palette window, although it’s not showing any kerning pair, the counting shows ‘18 pairs’.
You had class kerning, e.g., @x-@y:10, and glyphs with kern groups of the same name.
You ran the script, which assigned new group names to the glyphs, e.g. to @LCX and @LCY.
It left the kerning values untouched. So there was still @x-@y:10 in the font, but no glyphs had corresponding group names anymore. This is called ‘orphaned kerning’. In Edit view, it looks like the kerning is gone. But it was still listed in Window > Kerning.
Clean up kerning removes orphaned kerning. Now the kerning info was definitely gone.
Thank you, @mekkablue ! I think that’s indeed what happened. So unfortunately I erased all my kerning and now I will have to import kerning from another .glyphs file which I had saved before with just a bit less of kerning pairs. But I guess now I can’t undo my deleting. Honestly, I find this kerning nomenclature and more technical kerning stuff a bit confusing. I will try to do the kerning import now. Thank you so much, Rainer!
If it is a glyphs file, just copy. And paste the kerning from kerning window to Kerning window. After you imported kerning groups of course. Or actually, it does not matter when you do which step.
So, I did it and apparently it worked. One thing I’ve noticed though it’s that it seemed that I had lost some kerning, anyway, but as I start to rename my Kerning Groups to what it was before I applied the script, it’s that kerning seems to ‘return’, so maybe all that I could have done before was to rename the kerning groups, after all…
Anyway, sorry about the confusion.