I’m slowly getting to grips with more and more scripting, but I can’t crack this one yet, but I believe this should be possible.
Once again I’m revamping a color font created out of components, and each color layer is filled with various parts. There is a lot of foreground-background interaction going on, so there are a lot of layers. Inside of the components, I’ve assigned colors as mini-illustrations, so the proper part is used when pasted inside a glyph. So this works, but now I have to apply these new color layers throughout all the glyphs :(.
So I wonder, is there a way to duplicate all (color palette) layers in a selected glyph/master? And even better, assign a specific color from the palette to all duplicates?
I’ll delve on myself in the meantime, but thanks in advance!
Solved it in a different way, although now I’m running into a different issue:
The color layers don’t export properly in the variable version (normal color works fine). The glyphs are all made up of components with a stroke. For the variables to work I have to fully decompose before exporting. Changing the stroked shapes to outlines brings no change.
Of course this might have to do with the complexity, but I’ve had way more difficult things export fine. Oh and yes, I’ve checked the decompose filter, but that one only uses the master, not the layers.