Skip to main content
Question

Adding missing fonts via Figma Plugin

  • April 17, 2024
  • 1 reply
  • 261 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 replies.

1 reply

Gleb
  • Power Member
  • 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.