Hi thanks for the quick answer, however my question is a bit different.
let’s say there is a font which is installed in the user’s machine and it is TypeKit font.
i want to use it also in the plugin side, and in order to do so i need to let the user import the css file that includes the fonts for the project.
however, it seems like how xd is naming fonts and how typekit is naming fonts is different, is there a way to get to the adobe fonts naming?
Unfortunately there’s no API in XD or UXP that maps from one to the other.
Perhaps @DavidXD has some insight into how XD is determining the display value, in case it’s algorithmically determined (in which case you could do the same or reverse transformation.)