does anyone know of a way to change a selection of metric widths simultaneously? eg. in a monospace design, change all examples of width 483 to 484. I can’t do it with find/replace, or so it seems
You can use scripting from the Macro Panel to make such adjustments.
For example, change the width of all layers with a width of 483 to 484 like so:
for glyph in Font.glyphs:
for layer in glyph.layers:
if layer.width == 483:
layer.width = 484
2 Likes
thank you
You can also select glyphs in the font view and use the info box in the lower left to change the spacing.
1 Like
thank you
Hello, this script is very useful.
I have one more question. The script currently modifies values by adding or subtracting from the right side. If I want to perform additions or subtractions from the center, how can I adjust this script?
You need to change the script to do half of the adjustment to the left and half to the width/rsb.
1 Like