Editing across masters

Hi,
is there a way to edit sidebearings of a glyph across all masters?
and paste component/path to all masters of a glyph?
i wish there was a checkbox like “Add to all masters” in “Add Component” window.
Side Question: is there a way to delete glyph contents not the glyph itself?
thanks

is there a way to edit sidebearings of a glyph across all masters?

Can you explain what you are trying to do?

i wish there was a checkbox like “Add to all masters” in “Add Component” window.

Good idea

is there a way to delete glyph contents not the glyph itself?

In font view, select the glyphs and run “Edit > Clear”.

i making different weight of my font, its arabic, so sidebearings of glyphs like medi forms is always zero! im trying to select all the medi forms for example and set all the sidebearing to zero across all masters, instead of going through every each master and set them to zero!
also my font uses a lot of components that repeats in many glyphs, like arabic dots. so i made different forms of dots in separated glyphs, and i wish there was a way to select every corresponding glyph and paste the component across all of the masters!

Then you should use metrics keys. Have a look in the handbook.
And you should always add a bit overlap so that the side bearing is -20 or so.

oh thanks! i didnt know about metric keys.
but, any idea for pasting component across masters? any script?

Currently, best is to do it in one master, select and copy the components, then step through masters (Cmd-1,2,3…) and paste in each master.

If you have to do this a lot, consider a small script.

yes, I have been doing this a lot like a few hundred times since yesterday! :grin: so it would be great if you tell me how to write the script.

Scripting is learnable in an afternoon. Start here:
https://glyphsapp.com/tutorials/scripting-glyphs-part-1

Not on my Mac now, will paste sample code later for you to customize.

1 Like