I renamed corners from _corner.leftSerif to _corner.left. Now I have a problem with allready constructed characters with the oldnamed corners. How (if) I can find / replace corners on all of the master?
Script?
You probably already solved it but his script should do the trick.
from GlyphsApp import CORNER, CAP
thisFont = Glyphs.font # frontmost font
oldCornerName = "_corner.old"
newCornerName = "_corner.new"
for glyph in thisFont.glyphs:
for layer in glyph.layers:
for hint in layer.hints:
if(hint.type == CORNER and hint.name == oldCornerName):
print("corner component");
hint.setName_(newCornerName)
Yes I did, but thank you for the script.