export type PresetFont = { id: string; label: string; regular: string; bold: string; }; export const PRESET_FONTS: PresetFont[] = [ { id: "Inter", label: "Inter", regular: "Inter-Regular.ttf", bold: "Inter-Bold.ttf", }, { id: "Roboto", label: "Roboto", regular: "Roboto-Regular.ttf", bold: "Roboto-Bold.ttf", }, { id: "Oswald", label: "Oswald", regular: "Oswald-Regular.ttf", bold: "Oswald-Bold.ttf", }, { id: "Montserrat", label: "Montserrat", regular: "Montserrat-Regular.ttf", bold: "Montserrat-Bold.ttf", }, { id: "Playfair Display", label: "Playfair Display", regular: "PlayfairDisplay-Regular.ttf", bold: "PlayfairDisplay-Bold.ttf", }, ]; export function isPresetFont(family: string): boolean { return PRESET_FONTS.some((font) => font.id === family); }