Script for copying glyphs from one master into another

Hey,

I’d like to import the 100+ tone mark ligatures from Ysabeau’s Bold master to the Black master — I figure they can stand to look lighter than the actual letters. Is there a script to take all that labor off my hands?

I found something called «Copy Layer to Every Master Layer» in my old copy of @oneweioranother’s scripts, but that’s not exactly what I need, and the script is way too complex for me to edit. It’s also mysteriously absent from the current version on GitHub. I also found an online mention of a script that does exactly what I want in the mekkablue scripts, but the entire Masters directory seems to have vanished since then!

Is there a conspiracy to keep that sort of power out of people’s hands, or did it somehow not survive the move to Glyphs 3?

Cheers, Christian

No conspiracy, none at all. Mekkablue’s script Copy Layer to Layer.py will do exactly what you want. His repo is at the very bottom of the Plugin Manager Scripts window. That particular script resides in the Interpolation folder.

1 Like

You can also use Paste Special (Cmd+Opt+v) to copy one master to another.

1 Like

Of course you would say that. :wink:
But thanks! Must have missed it since it has nothing to do with Interpolation…

1 Like

Huh, just tried it an nothing happened. Shouldn’t there be a dialog to ask me which Layer to copy into which other one?

EDIT: Apparently installing the up-to-date mekkablue scripts didn’t overwrite the old ones, and I tried the wrong ones.

EDIT 2: The new version fails:

I’m running 10.13.6, out of habit mainly and it works as it should using the latest Cutting Edge version. The UI for it looks like this:
Copy Layer to Layer

Oh wait, the script did work! It just waited to show me until after I had clicked away the dialog box. Looks like the error didn’t hurt.

Which OS are you using? I have a 14.7.1 machine also so I can test it there too if needed.

::eta:: Just tested it there and it works fine.

There’s also a script called fill up empty masters and it fits what it says but within the same font.