What would be the best practise to split a kerning class into two, both inheriting the same kerning pairs?
So I kerned a Regular master. LC /o and LC /p for example had so similar outlines on the right side that I added them to the same kerning class. After a while, I needed to add another (Black) master. When drawing the Black, I noticed outlines of LC /o and /p can’t be similar anymore like in Regular but need slight adjustments.
I think it would be the least work for me if /o and /p have the same kerning pairs as a starting point and I could just adjust values where necessary.
Another question, is there a way to get a list of all glyphs in a certain kerning classP
How can I use this script? I already quit and reopened glyphsapp, uninstalled and re-installed the mekkablue scripts in the plugin manager, but still cannot find »split kerning groups« anywhere.
When you re-install the mekkablue scripts, make sure you at least do Script > Reload Scripts (available when holding the Option key). I can confirm the script is there.
Ok, after un- and reinstalling the mekkablue scripts one more time it’s there now.
Reloading Scripts with holding Option key was not necessary.
Thank you Sebastian and Rainer!
Thanks. In some cases, the GSFont.setKerningForPair() seems to get passed glyph IDs instead of the glyph names it expects. I built in a workaround, so it always gets a glyph name.