Skip to main content
Question

Adding missing fonts via Figma Plugin

  • April 17, 2024
  • 1 reply
  • 238 views

How to add missing fonts programmatically?

My plugin deals with text, and I want the text to have the same font. Now it might not be available on some machines where my plugin will generate Figma design. Is there any programmatic way to add it?

This topic has been closed for comments

1 reply

Gleb
  • Power Member
  • 4707 replies
  • April 17, 2024

You can’t use missing fonts manually and you can’t use them via API. In order to add a font to Figma the user needs to install a font to their machine and restart Figma. You can’t do any of that with a plugin. Use a fallback font like the default Inter.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings