FIxed bug [Bug] <Error MIME al cargar fuente “Arial” desde Google Fonts en exportaciones públicas>

Fixes #2435
This commit is contained in:
sahil
2025-11-05 16:12:57 +05:30
parent 03f15f91b3
commit b49798950a
2 changed files with 14 additions and 0 deletions

View File

@ -6,6 +6,10 @@ export type Font = {
files: Record<string, string>;
};
export const localFonts = ["Arial", "Cambria", "Garamond", "Times New Roman"];
export const isLocalFont = (family: string): boolean =>
localFonts.some((f) => f.toLowerCase() === family.toLowerCase());
export const fonts: Font[] = [
{
family: "Roboto",