Having multiple variable fonts in the export panel

Is it possible to have multiple variable font instances in the export panel? In my case, I need one instance for each sub-family (Normal 100, Narrow 87,5, Condensed 75, and Compact 62,5), each with a WGHT (100 to 900) axis + a main variable instance with two axis (WGHT-100 to 900) and WDTH-100 to 62,5) ?

Yes, this is possible using the “Disable Master” custom parameter.
https://handbook.glyphsapp.com/single-page/#interpolation/subsetting-the-designspace

It’s not possible to do fine-tuned designspace subsetting directly out of Glyphs. You’ll need to familiarise yourself with fonttools and the varLib.instancer module. Or hire a font engineer who can do this for you :wink:

If your subset is perfectly congruent with specific masters, you can disable the other masters, as Hugo pointed out. There are some serious bugs in G3 when certain axes aren’t used anymore due to this, so proceed with caution. I wouldn’t recommend this method, honestly.

Thanks for your response! Sebastian, would it be possible for you to handle this for me? This part isn’t really my area of expertise, and I’d prefer something that just works. I tried the Axis Mappings parameter, but it didn’t give me any results.

the Name of the variable export setting works different than in the static instances. It is mostly used to distinguish upright from Italic fonts. So you should use “Regular” in all of them.

Does it handle variable OT features (special layers, variable GPOS, etc) correctly?

Alternate layers (which, in variable fonts, are separate glyphs) are handled correctly, if I’m not mistaken. Intermediate layers anyway.

Haven’t tested variable GPOS, but I don’t see why not.

1 Like