Any way to get the postScriptNames of fonts in plugin?

I want to get the postScriptNames of fonts but it seems only font family names and styles are available from api.

Unfortunately this is not possible.

Ok thanks. I’m kind of curious can you explain what’s happening behind the scene and why it’s not possible?

Figma gets information about fonts in two ways:

  1. From own list, which includes Google Fonts;

  2. From Figma Agent (local fonts).

In both cases, Figma knows the postscriptName, but the Plugin API has no methods or properties to get the postscriptName. All you can get with the Plugin API is, and fontWeight.

1 Like