Skip to main content
Jun 23, 2023 2:46 PM UTC
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
Sep 11, 2023 4:41 PM UTC

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

Celine_
Figmate
Community Support
Oct 16, 2023 2:34 PM UTC

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
Oct 17, 2023 8:10 AM UTC

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
Oct 17, 2023 8:33 AM UTC

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
Oct 18, 2023 7:41 AM UTC

Thanks @Celine_Figma, I have submitted a support ticket

Oct 20, 2023 5:19 PM UTC

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
Oct 24, 2023 7:48 AM UTC

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
Oct 25, 2023 8:37 AM UTC

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 ☹

Oct 25, 2023 6:27 PM UTC

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
Nov 16, 2023 2:29 PM UTC

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