Copy anchors from background to foreground

Hello, checking if anyone knows/ has written a script that copies anchors from the background layer to the foreground.


  1. Paste the code below in the Macro Window (Window > Macro Panel).
  2. In Font view, select some glyphs.
  3. Press the Run button in the Macro Window.
  4. Repeat steps 2 & 3 for other masters, other glyphs, etc.
for thisLayer in Glyphs.font.selectedLayers:
	for backgroundAnchor in Layer.background.anchors:
		foregroundAnchor = GSAnchor() =
		foregroundAnchor.position = backgroundAnchor.position
1 Like

Thanks a million!