(Beta) Dynamic Fonts got converted to static fonts

Opened a file with a dynamic font, and it got changed to the non-dynamic version, losing the weight/width properties.

When choosing the other “Regular”, I get the options to adjust the weight/width, but now I need to rework my file.

Might be an issue that the font weight has the same name, but that’s the case when you have both the static and dynamic fonts installed.

So just to be clear you have both the variable version of Archivo, and the static versions installed too?

It’s possible that the updated Inspector isn’t accounting for variable fonts correctly but it’s not something we’ve discovered internally. Would explain why the weight is appearing twice. But I don’t know why it would convert those. I’m sorry that’s happened.

OK so a bit of digging, part of this is a font metadata issue. Most variable fonts are given a unique name from the static ones, but Archivo for some reason doesn’t. Meaning all the variable weights and static weights will get mixed together as you have both installed.

This isn’t a new issue, I see in previous versions of Sketch. There’s little we can do there as we really depend on the font’s metadata (and it’s like the Wild West out there).

Obviously the concerning thing is the change to static in your designs since you updated. Has this happened to all text layers? Even the ones that were using various weights? Also, has this happened in other documents?

Happened to all layers using the Archivo font, but only in the Sketch Beta. (Un)fortunately, I don’t use dynamic fonts in other files.

When opening the same file again in the stable version, the fonts get back to normal with all the dynamic properties in place. So something is different in the Beta.

It’s appearing twice because I have both the static and variable versions installed. However, only the beta is displaying the static one, while the regular Sketch correctly picks up the variable one.

Thanks for the additional info. It doesn’t make any sense to me but we’ll get someone to get to the bottom of it. I’m certain it’s exclusive to this particular font though because of the lack of proper metadata. It won’t be the first time a random font is causing issues.

In the meantime, do you need to have the static version of the font active as well as the variable one? Can you disable it? Perhaps that’s a fix?

I will check with other fonts which I have both static and dynamic installed. BTW I have opened the file again and it displays the font properly. That’s super weird.

Now another funny part is in the web app. It’s a shared style across frames, but in one frame it displays correctly:

while another one doesn’t:

I have double-checked by selecting the text fields in both of the frames:

I have removed non-dynamic fonts and the issue still occurs. It’s not random anymore, so at least there’s consistency, but the file opens.

It somehow takes the width (which is actually set to “Fit”) and breaks the text:

Then just by selecting the text, not editing but selecting (Cmd+Click), it fixes the width:

Apparently it’s taking another “Bold” from somewhere:

It got me thinking, where does it come from? So I tried one last thing: to un-embed the Bold static font (even though it was uninstalled from my system), and it actually helped. It even fixed some of the embedding issues in the web app (but not completely, the font weight is often ignored).