Load multiple fonts in Figma plugin
const fetchFonts = async () => {
await figma.loadFontAsync({ family: "Comic Sans", style: "Regular" })
await figma.loadFontAsync({ family: "Comic Sans", style: "Medium" })
await figma.loadFontAsync({ family: "Comic Sans", style: "Bold" })
}
loadFonts().then(() => doSomething())