I have a /c with alternate layers and an /escyrillic that uses the /c as component, which means /esdescendercyrillic has a nested component.
To export my variable font I want to preserve as many components as I can, so only decompose the ones that I really have to.
The problem I have is that decomposing the /escyrillic is not creating the alternate layers I need for the shapes to swap.
Is there a readymade solution for this that I don’t know?
I wouldn’t decompose components in your working file.
Of course you wouldn’t, decomposing them in the working file is not advisable, that’s why I never planned on doing it.
I did some testing in the mean time and the filter UnnestComponents reassigns the glyph to use another component which is what I need in this case.
Initially I was sceptic because it added around 0.1MB but checking the glyf table confirmed my theory.