Modifying glyph names
Posted: Tue Jan 31, 2017 9:50 pm
I make use of being able to copy glyph names for manipulation every single day, multiple times per day. I have some macros and spreadsheets where most of my OT Feature stuff is written, then copied into the text editor to swap out tabs for spaces, ready to be pasted into the feature. Works great and is fast if more than a few glyphs are involved.
What I would now like to request is being able to paste glyph names into selected glyphs.
I have a current font with between 6 and 13 variations for every single main glyph. So a thousand or so variations to rename. It takes a bit to use the glyph properties dialog box, highlight something as meaningful as glyph678, type a.1 or whatever, press enter, use the mouse to select the next glyph and rinse & repeat for what seems like forever.
As the Copy/paste of glyph names uses a paragraph return for each name, perhaps Erwin could see the text on the clipboard and with a paste, each name could be changed, one glyph per paragraph?
Or, even if a script needed to be used.
I do use a script to both create empty glyphs and name them. But it only works when I am in control of the project from the beginning. I have, in the past, used my script to create more glyphs at the end of the current glyphs, then copy and paste the outlines/metrics into them, then delete the original glyphs. But that is more prone to error (as I found out, it's easy to get lost) and the proposed method would be cleaner/more simple to my thinking.
Mike
What I would now like to request is being able to paste glyph names into selected glyphs.
I have a current font with between 6 and 13 variations for every single main glyph. So a thousand or so variations to rename. It takes a bit to use the glyph properties dialog box, highlight something as meaningful as glyph678, type a.1 or whatever, press enter, use the mouse to select the next glyph and rinse & repeat for what seems like forever.
As the Copy/paste of glyph names uses a paragraph return for each name, perhaps Erwin could see the text on the clipboard and with a paste, each name could be changed, one glyph per paragraph?
Or, even if a script needed to be used.
I do use a script to both create empty glyphs and name them. But it only works when I am in control of the project from the beginning. I have, in the past, used my script to create more glyphs at the end of the current glyphs, then copy and paste the outlines/metrics into them, then delete the original glyphs. But that is more prone to error (as I found out, it's easy to get lost) and the proposed method would be cleaner/more simple to my thinking.
Mike