Skip to main content
June 23, 2023
Question

Missing font style when variables change

I really like the new variables feature but currently I’m struggling with it… I built some components, where I used variables within the text. When the value of the variable changes, the text style changes, more precisely the individual font will be removed. Is this a bug or does anyone has a hint for me?

This topic has been closed for replies.

52 replies

Dangel_Corey
July 20, 2023

same issue

Celine_
Figmate
Community Support
July 20, 2023

Hi all,
Thanks for flagging this! To give you an update, our engineering team are still investigating this issue - while I cannot set an ETA yet for the fix at this time.

This issue is specifically happening for locally installed fonts, so as a workaround if you use one of the Figma system fonts instead, this issue will not occur. However we are working on resolving the main issue here soon.

Thank you all for your help here by reporting this, and your patience while the team work to resolve this issue! We will keep you updated. 🙏

Bea5
July 26, 2023

Same issue here

Ruben_Reina
July 27, 2023

Same issue here.

Jakob_Ulrich
August 2, 2023

Hi guys…
I had the same issue. But then I read one important thing in the Figma file for Advanced Prototyping by Figma you should check.

Order of actions matters. When you have multiple actions, they are run sequentially from top down. Therefore, when you have “Change to” interactions with interactive components, place that last, otherwise the component will switch before other actions are read.

So I tried it and it worked. Change the order and place the “Change to” action to the bottom and the “Set variable” actions to the top.
Screenshot 2023-08-02 at 15.26.07

But in fact, the issue comes up with locally installed fonts.

Stephanie21
August 2, 2023

Unfortunately, this didn’t work for me 😦 However, I’m using “Navigate” instead of “Change to” so that might be the culprit.

anton92
August 3, 2023

Having the same problem with no change-to actions.

Cassie_Wallender1
August 8, 2023

Same issue here with the locally installed font Roobert. Switched to a Google font and everything works. Looking forward to a resolution.

Reinoud
August 12, 2023

Same Issue here

UiStudio
August 14, 2023

I have the same problem 😢