Switching Shapes: new script to automate "Replace Glyphs"

After trying this a few ways in Glyphs 3: Switching Shapes | Glyphs I think I like the “Alternate glyphs” approach more than the bracket trick as it seems more powerful for specific conditions

One of the stated disadvantages is “need to handle instances (for static fonts) and feature code (for variable fonts) separately” so of I have written a script to try and handle it automatically.

The script should probably look for “#ifdef VARIABLE” but other than that I think it’s working? If anyone finds this useful or has issues please let me know.

1 Like