Removing the SB formulas

Is there a way to ditch all the formulas from glyph sidebearings across the whole font and replace formulas with true current SB values (meaning those values that are in parenthesis)? Maybe there’s an easy script that could do this?

1 Like

These formulas are called metrics keys. There is a script called Delete Metrics Keys in my GitHub repository:
https://github.com/mekkablue/Glyphs-Scripts

1 Like

Thanks, but it crashes my Glyphs. Is there any way to get this working in OS 10.6.8 and Glyphs 1.4.4 (588)?

Glyphs on SnowLeopard crashes as soon as a script contains a reference to layer.parent.name.
As a workaround you can comment out lines which contain this reference, as long as it is only used for logging purpose as in the Delete Metrics script. So just comment out line 25:

print “Deleted metrics keys: %s” % thisGlyph.name

and it should work without crash on 10.6.8.

Thanks a million art!! It worked. I knew there had to be a way without the latest bells and whistles.