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

Michael_Berninger
September 11, 2023

Same here. 🥲
Is there any news about when the bug will be fixed?

Celine_
Figmate
Community Support
October 16, 2023

Hi all,
Thank for your patience while our engineering was working on the issue (font not applied to text with number or string variable applied in viewer) . Our team has implemented a fix. Please refresh Figma to ensure that you are using the fixed version.

If you are still having issues, please reach out to our team so we can investigate it further by filling this form here: https://help.figma.com/hc/en-us/requests/new

Please include your Figma account email, a link to the file, and share it with support-share@figma.com so they can investigate further. Sorry again for the disruption into your work!

Daniel_Cullinan
Active Member
October 17, 2023

This is still broken for me. Changing text via a string variable defaults the font to Inter for prototype viewers who don’t have the brand fonts installed.

Celine_
Figmate
Community Support
October 17, 2023

Hi Daniel, sorry to hear you are still having issue, and thank you for flagging this. Would you mind to reach out to our support team with a copy of your file? So they can investigate further the issue you encounter here: https://help.figma.com/hc/en-us/requests/new Thank you!

Daniel_Cullinan
Active Member
October 18, 2023

Thanks @Celine_Figma, I have submitted a support ticket

October 20, 2023

I also submitted a ticket. MY font is replaced when using string variables. The font works fine everywhere else.

@Daniel_Cullinan Have you had any luck?

Daniel_Cullinan
Active Member
October 24, 2023

Hey – sorry for the delayed response, I was waiting to hear back from support. No luck, they said I needed to make sure my fonts were installed locally 🫤

Obviously this has no bearing on sharing prototypes externally with clients, usability testers etc. …

Daniel_Cullinan
Active Member
October 25, 2023

I got a further update from support:

“This is expected behaviour. External viewers will see a missing font warning if they don’t have the font installed. Meaning, you can either swap to a preset/pre-installed font or the external users will have to install the font you use on the file.”

Bananas. I explained to them why it isn’t realistic to ask a client to install fonts just to look at a prototype, but here we are. Guess I won’t be using string variables then ☹

October 25, 2023

Worse of all, the font shows up fine everywhere else on the prototype; only the variables have an issue with fonts. I moved the Figma because font rendering was unreliable in XD and here I am…

Chris_Holm
New Member
November 16, 2023

The fix for me was to detach those components instances, then it works as expected.