Using Glyphs 2 (can’t use Glyphs 3 as the project has to be built with fontmake), I need to do contextual GPOS adjustements but the adjustment values different for different masters and I don’t know if there is a way to do this.
Say I want to do the following (the actual code will be a bit more complex) but the -50 should be -70 in Black master and -60 in Light master:
Thanks, I already found this. But it does not work for variable fonts, since it is only applied to static instances. Masters don’t support this custom parameter.
There is no workflow that allows manually defining variable GPOS. We are working on something. There is a meeting in the next few days/weeks about this. So as far as I can tell, there is no way to do that (except that tool from @SimonC )
In Glyphs 3, you would use tokens. There, the values are defined on the masters and interpolate nicely. But fontmake does not work with that setup (yet).
Actually Replace Prefix in masters seems to be taken into account, apparently glyphsLib does not really care if it is set on master or instance. So, I can get this to work with fontmake but it will not work in Glyphs, but this is good enough for my needs.