const customFontIds = new Map(); export const getCustomFontId = (fontName: FontName) => { return customFontIds.get(fontName.family); }; export const setCustomFontId = (fontFamily: string, fontId: string) => { customFontIds.set(fontFamily, fontId); };