Layer Palette – Multiple Layer Clean-up

Hi All

I’m working on a layered font. I’ve created my masters by copying the original design and I’m now editing them. All fine.

Naturally, the copied masters retain the various working layers I’d made for each glyph but these are now clogging up the layers palette which I’m using constantly to turn the visibility of the masters on/off.

The only way I’ve found to delete them is one by one using the minus icon at the bottom of the palette. I can’t seem to select multiple layers to delete them. Is there another way?

Thanks

Jamie

Take a look at my scripts on GitHub. There is one called Delete all Non-Master Layers. Should be easy to adapt if it doesn’t exactly do what you want.

1 Like

Thanks Rainer. Much appreciated.

I would like to clean-up non master Layers, but leave only the latest revision of them. Is there good way ?

BTW does it make a difference in terms of final exported fonts size; if the unused layers are not cleaned up, as well as background?

No. They are just for you. The only layers that are effective are Brace and Bracket layers.

A simple Python script can do that. Look at my Delete all Non-Master Layers script and adapt it to your needs.

Anyway, I could remove all of unnecessary layers, Thanks !!

Hi, Rainer. Where can I find an up-to-date version of this script? I had one from 2015, but it doesn’t seem to work anymore and I can’t find it on your git.

Uninstall and reinstall the mekkablue script via Window > Plugin Manager > Scripts > mekkablue (scroll all the way down).

Then hold down your option key and choose Script > Reload Scripts.

I did all that.

But I was searching for ‘Layers > Delete…’ and it’s now ‘Interpolation > Remove…’ Still, now I’ve been reunited with one of my favorite scripts, and many, many thanks for the advice and for writing it in the first place.

2 Likes