Reinterpolate metrics in brace layers for the whole font

Is there any script that would do so? Something like - select all glyphs in Font View and run a script or something. I have quite a few glyphs with brace layers and doing it manually one by one is a nightmare

I have the same question/need.
What is the best way to go about this?

Yes. A quick script.

for glyph in Font.glyphs:
    for brace_layer in [layer in glyph.layers if layer.attributes["coordinates"]]:
        brace_layer.reinterpolateMetrics()

something like this should work, didn’t test, am on mobile.

1 Like