find & replace in glyph names

Find and replace strings in the names of selected glyphs.

RF3 RoboFont 3 code which still works in RoboFont 4. Not updated to the new RoboFont 4 APIs yet.

find string
string to be found and replaced
replace string
new string to be used in place of the found one
apply
find and replace the given string in the names of selected glyphs
overwrite
overwrite existing glyphs with the new name
duplicate
rename glyphs as duplicates and keep original glyphs
note

This tool will be rewritten using font.renameGlyph, which adds options to also rename the glyph in components, groups, kerning, and layers.