I am currently creating a plugin that requires a specific font style not available on Figma. Is it possible for me to use the font styles without the user installing the fonts?
Page 1 / 1
It’s not entirely clear where you want to use the custom font: in the plugin’s UI or in the TextNode in the file?
If in the plugin’s UI, then you can include any font available at the URL using the <link>
tag in HTML or @import
/@font-face
in CSS.
If in a TextNode, then only available fonts can be applied to it, which you can get via figma.listAvailableFontsAsync().
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.