Hi! Is there a simple way/py function to write the kern feature from the kerning dict? Basically, I’d like to have in the .glyphs file what Glyphs does on export (variable).
I don’t understand. In what context do you need this?
I’d like to re-use the same master’s kerning at different designspace locations between the masters (basically preventing it from interpolating in certain locations). I think that requires converting the kerning into a feature code as a starting point. Glyphs probably converts it into a feature on export anyway, so I wonder if there’s a python function for it?
I still don’t really understand what you are talking to do. Where do you like to put the kern code?
You could File > Generate Instances and then copy paste the kerning in the kerning panel.
I think he would like to have a Custom Parameter to set on an instance that says e.g. For this instance use the exact same kerning from Regular master.
Can you explain what exactly you are trying to do?
There is a “Link Metrics With Master” custom parameter for the masters. But that is probably not what you need. It is useful if you have two layers that need to have exactly the same metrics (spacing and kerning). e.g. in a color layer font. Or on a Grade axis.