Guide · About 5 minutes
Your first script
Run three lines of Python that respace a selection, then undo them.
Step 2: Select some glyphs
In the glyph grid, select a few glyphs whose spacing you want to set.
Step 3: Write the script
Replace the text in the editor with this.
pythonfor glyph in CurrentFont().selectedGlyphs: glyph.leftMargin = 40 glyph.rightMargin = 40Step 4: Run it
Press Ctrl+Enter. The selected glyphs now have 40 units on each side.
CtrlEnter