Naming in VAR version

Hello,
I have a display problem in the variable version of my font. The instances are displayed as in the screenshot below. I think I need to add a custom parameter to my instances, but which one should I use? Do you have an idea ?

Can you show the instance settings? Can it be that these are all different widths?

If you have the instance name set to “Light” for all instances, but they have a localised family name (such as “Condensed”, “Extended” etc.), you will need a parameter “Variable Style Names”. Set this to the combined style name: e.g. “Condensed Light”.

Hello @SCarewe,
Here a screenshot of the instances. Where can I put this parameter : in geenral or in pers. parameters section ?

What about the Semi Condensed?

Here the semi condensed panel.

Yes. As I described above, you will need an extra parameter “Variable Style names” (noms de styles variables, un truc comme ça). Your instance name is still set to “Regular”, for all subfamilies, which is why you have Regular four times in your variable font.

Thanks for your answer Sebastian. Like this ?

Exactly, yes. This parameter replaces the style name, but only for variable font exports.

This also means that you don’t need the parameter if the name is the same (like in your first screenshot, where you added “Regular” again, although it’s the same).

1 Like

:+1: :facepunch:

and the “styleMapFamilyName” custom parameter is not doing anything any more. And “Regular Semi Condensed” would not be a useful “styleMapFamilyName”.

Hello Georg,
Thanks, Ok I will fix it. This function has resolved several issues I encountered while working on custom fonts for a client, particularly with compatibility in Windows Office Word. To prevent font duplication, it was essential for the Regular and Bold styles to be correctly recognized as distinct font weights within Office Word.

Now, I have another question but I will post another topic about to have variable fonts for each sub families.

But not by setting the styleMapFamilyName. At least that should begin with the normal family name. But you should always style link the Regular and the Bold (that makes the “Bold” disappear from the style menu). Otherwise you get a fake Bold when you hit the “B” button. Have a look at this: Naming | Glyphs and Make your font work in Windows | Glyphs.