Skip to content

Canvix — Free & open-source graphic design tool. A community-built Canva alternative with a drag-and-drop editor, templates, shapes, text, images & one-click export. Works on desktop, tablet & mobile.

34.8 KB
Raw Blame
// ─────────────────────────────────────────────────────────────
// Canvix font catalog (v0.17 Wave 2) — 63 → 260+ families.
//
// The first 63 families remain pinned to the preload <link> in
// app/layout.tsx (fast first paint for existing documents); every
// additional family loads ON DEMAND via the loader in
// ./loader.ts (ensureFontLoaded) — the font dropdown, brand kit,
// and document-open scanner all call it, so a catalog of hundreds
// costs nothing until a family is actually previewed or used.
//
// All families are Google Fonts; `weights` mirrors the css2 axis
// string the loader requests.
// ─────────────────────────────────────────────────────────────

export interface FontOption {
  family: string
  label: string
  weights: string
  category: 'sans' | 'serif' | 'display' | 'handwriting' | 'mono'
}

export const FONTS: FontOption[] = [
  // ── Sans — the original 18 (preloaded) ──
  { family: 'Inter', label: 'Inter', weights: '400,500,600,700,800', category: 'sans' },
  { family: 'Poppins', label: 'Poppins', weights: '400,600,700,800', category: 'sans' },
  { family: 'Montserrat', label: 'Montserrat', weights: '600,700,800,900', category: 'sans' },
  { family: 'Space Grotesk', label: 'Space Grotesk', weights: '500,700', category: 'sans' },
  { family: 'Oswald', label: 'Oswald', weights: '500,700', category: 'sans' },
  { family: 'Raleway', label: 'Raleway', weights: '400,700', category: 'sans' },
  { family: 'Lato', label: 'Lato', weights: '400,700', category: 'sans' },
  { family: 'Open Sans', label: 'Open Sans', weights: '400,700', category: 'sans' },
  { family: 'Nunito', label: 'Nunito', weights: '400,700', category: 'sans' },
  { family: 'Quicksand', label: 'Quicksand', weights: '400,700', category: 'sans' },
  { family: 'Rubik', label: 'Rubik', weights: '400,700', category: 'sans' },
  { family: 'Work Sans', label: 'Work Sans', weights: '400,700', category: 'sans' },
  { family: 'DM Sans', label: 'DM Sans', weights: '400,700', category: 'sans' },
  { family: 'Josefin Sans', label: 'Josefin Sans', weights: '400,700', category: 'sans' },
  { family: 'Barlow', label: 'Barlow', weights: '400,700', category: 'sans' },
  { family: 'Manrope', label: 'Manrope', weights: '400,700', category: 'sans' },
  { family: 'Outfit', label: 'Outfit', weights: '400,700', category: 'sans' },
  { family: 'Figtree', label: 'Figtree', weights: '400,700', category: 'sans' },
  // ── Sans — Wave 2 additions (on-demand) ──
  { family: 'Roboto', label: 'Roboto', weights: '400,500,700,900', category: 'sans' },
  { family: 'Noto Sans', label: 'Noto Sans', weights: '400,700', category: 'sans' },
  { family: 'Mulish', label: 'Mulish', weights: '400,700,800', category: 'sans' },
  { family: 'Karla', label: 'Karla', weights: '400,700,800', category: 'sans' },
  { family: 'Heebo', label: 'Heebo', weights: '400,700,800', category: 'sans' },
  { family: 'Urbanist', label: 'Urbanist', weights: '400,600,700,800', category: 'sans' },
  { family: 'Plus Jakarta Sans', label: 'Plus Jakarta Sans', weights: '400,600,700,800', category: 'sans' },
  { family: 'Sora', label: 'Sora', weights: '400,600,700,800', category: 'sans' },
  { family: 'Epilogue', label: 'Epilogue', weights: '400,600,700,800', category: 'sans' },
  { family: 'Lexend', label: 'Lexend', weights: '400,600,700,800', category: 'sans' },
  { family: 'Assistant', label: 'Assistant', weights: '400,600,700,800', category: 'sans' },
  { family: 'Cabin', label: 'Cabin', weights: '400,600,700', category: 'sans' },
  { family: 'Catamaran', label: 'Catamaran', weights: '400,600,700,800', category: 'sans' },
  { family: 'Chivo', label: 'Chivo', weights: '400,700', category: 'sans' },
  { family: 'Dosis', label: 'Dosis', weights: '400,600,700,800', category: 'sans' },
  { family: 'Exo 2', label: 'Exo 2', weights: '400,600,700,800', category: 'sans' },
  { family: 'Fira Sans', label: 'Fira Sans', weights: '400,600,700', category: 'sans' },
  { family: 'IBM Plex Sans', label: 'IBM Plex Sans', weights: '400,600,700', category: 'sans' },
  { family: 'Jost', label: 'Jost', weights: '400,600,700', category: 'sans' },
  { family: 'Kanit', label: 'Kanit', weights: '400,600,700', category: 'sans' },
  { family: 'Mada', label: 'Mada', weights: '400,600,700', category: 'sans' },
  { family: 'Mitr', label: 'Mitr', weights: '400,600,700', category: 'sans' },
  { family: 'Overpass', label: 'Overpass', weights: '400,600,700,800', category: 'sans' },
  { family: 'Public Sans', label: 'Public Sans', weights: '400,600,700,800', category: 'sans' },
  { family: 'Questrial', label: 'Questrial', weights: '400', category: 'sans' },
  { family: 'Rajdhani', label: 'Rajdhani', weights: '400,600,700', category: 'sans' },
  { family: 'Red Hat Display', label: 'Red Hat Display', weights: '400,600,700,800', category: 'sans' },
  { family: 'Saira', label: 'Saira', weights: '400,600,700,800', category: 'sans' },
  { family: 'Sarabun', label: 'Sarabun', weights: '400,600,700', category: 'sans' },
  { family: 'Titillium Web', label: 'Titillium Web', weights: '400,600,700', category: 'sans' },
  { family: 'Ubuntu', label: 'Ubuntu', weights: '400,500,700', category: 'sans' },
  { family: 'Varela Round', label: 'Varela Round', weights: '400', category: 'sans' },
  { family: 'Yantramanav', label: 'Yantramanav', weights: '400,500,700', category: 'sans' },
  { family: 'Asap', label: 'Asap', weights: '400,600,700', category: 'sans' },
  { family: 'Baloo 2', label: 'Baloo 2', weights: '400,600,700,800', category: 'sans' },
  { family: 'Encode Sans', label: 'Encode Sans', weights: '400,600,700', category: 'sans' },
  { family: 'Hanken Grotesk', label: 'Hanken Grotesk', weights: '400,600,700,800', category: 'sans' },
  { family: 'Onest', label: 'Onest', weights: '400,600,700,800', category: 'sans' },
  { family: 'Instrument Sans', label: 'Instrument Sans', weights: '400,600,700', category: 'sans' },
  { family: 'Bricolage Grotesque', label: 'Bricolage Grotesque', weights: '400,600,700,800', category: 'sans' },
  { family: 'Schibsted Grotesk', label: 'Schibsted Grotesk', weights: '400,600,700,800', category: 'sans' },
  { family: 'Anek Latin', label: 'Anek Latin', weights: '400,600,700,800', category: 'sans' },
  { family: 'Familjen Grotesk', label: 'Familjen Grotesk', weights: '400,600,700', category: 'sans' },
  { family: 'Gabarito', label: 'Gabarito', weights: '400,600,700,800', category: 'sans' },
  { family: 'Geologica', label: 'Geologica', weights: '400,600,700,800', category: 'sans' },
  { family: 'Wix Madefor Text', label: 'Wix Madefor Text', weights: '400,600,700,800', category: 'sans' },
  { family: 'Nunito Sans', label: 'Nunito Sans', weights: '400,600,700,800', category: 'sans' },
  { family: 'Source Sans 3', label: 'Source Sans 3', weights: '400,600,700', category: 'sans' },
  { family: 'Archivo', label: 'Archivo', weights: '400,600,700,800', category: 'sans' },
  { family: 'Oxygen', label: 'Oxygen', weights: '400,700', category: 'sans' },
  { family: 'Pontano Sans', label: 'Pontano Sans', weights: '400,700', category: 'sans' },
  { family: 'Spline Sans', label: 'Spline Sans', weights: '400,600,700', category: 'sans' },
  { family: 'Geist', label: 'Geist', weights: '400,500,600,700,800', category: 'sans' },
  { family: 'Anybody', label: 'Anybody', weights: '400,600,700,800', category: 'sans' },
  { family: 'Sen', label: 'Sen', weights: '400,700,800', category: 'sans' },
  { family: 'Tomorrow', label: 'Tomorrow', weights: '400,600,700', category: 'sans' },
  { family: 'Chilanka', label: 'Chilanka', weights: '400', category: 'sans' },
  { family: 'Gantari', label: 'Gantari', weights: '400,600,700,800', category: 'sans' },
  { family: 'Kumbh Sans', label: 'Kumbh Sans', weights: '400,600,700', category: 'sans' },
  { family: 'Radio Canada', label: 'Radio Canada', weights: '400,600,700', category: 'sans' },
  { family: 'Syne', label: 'Syne', weights: '400,600,700,800', category: 'sans' },
  { family: 'Commissioner', label: 'Commissioner', weights: '400,600,700,800', category: 'sans' },
  { family: 'Wix Madefor Display', label: 'Wix Madefor Display', weights: '400,600,700,800', category: 'sans' },
  { family: 'Martel Sans', label: 'Martel Sans', weights: '400,600,700,800', category: 'sans' },
  { family: 'Tourney', label: 'Tourney', weights: '400,700', category: 'sans' },
  { family: 'Rethink Sans', label: 'Rethink Sans', weights: '400,600,700,800', category: 'sans' },
  { family: 'Blinker', label: 'Blinker', weights: '400,600,700,800', category: 'sans' },
  { family: 'Krona One', label: 'Krona One', weights: '400', category: 'sans' },
  { family: 'Jomhuria', label: 'Jomhuria', weights: '400', category: 'sans' },
  { family: 'Russo One', label: 'Russo One', weights: '400', category: 'sans' },
  { family: 'Michroma', label: 'Michroma', weights: '400', category: 'sans' },
  { family: 'Orbitron', label: 'Orbitron', weights: '400,600,700,800', category: 'sans' },
  { family: 'Audiowide', label: 'Audiowide', weights: '400', category: 'sans' },
  { family: 'Saira Condensed', label: 'Saira Condensed', weights: '400,600,700', category: 'sans' },
  { family: 'Archivo Narrow', label: 'Archivo Narrow', weights: '400,600,700', category: 'sans' },

  // ── Serif — the original 14 (preloaded) ──
  { family: 'Playfair Display', label: 'Playfair Display', weights: '400,700,800', category: 'serif' },
  { family: 'Abril Fatface', label: 'Abril Fatface', weights: '400', category: 'serif' },
  { family: 'Roboto Slab', label: 'Roboto Slab', weights: '400,700', category: 'serif' },
  { family: 'Lora', label: 'Lora', weights: '400,700', category: 'serif' },
  { family: 'Merriweather', label: 'Merriweather', weights: '400,700', category: 'serif' },
  { family: 'Libre Baskerville', label: 'Libre Baskerville', weights: '400,700', category: 'serif' },
  { family: 'EB Garamond', label: 'EB Garamond', weights: '400,700', category: 'serif' },
  { family: 'Cormorant Garamond', label: 'Cormorant Garamond', weights: '400,700', category: 'serif' },
  { family: 'DM Serif Display', label: 'DM Serif Display', weights: '400', category: 'serif' },
  { family: 'Prata', label: 'Prata', weights: '400', category: 'serif' },
  { family: 'Bitter', label: 'Bitter', weights: '400,700', category: 'serif' },
  { family: 'Fraunces', label: 'Fraunces', weights: '400,700', category: 'serif' },
  { family: 'Bodoni Moda', label: 'Bodoni Moda', weights: '400,700', category: 'serif' },
  { family: 'Cinzel', label: 'Cinzel', weights: '400,700', category: 'serif' },
  // ── Serif — Wave 2 additions (on-demand) ──
  { family: 'Noto Serif', label: 'Noto Serif', weights: '400,700', category: 'serif' },
  { family: 'Roboto Serif', label: 'Roboto Serif', weights: '400,700', category: 'serif' },
  { family: 'Source Serif 4', label: 'Source Serif 4', weights: '400,600,700', category: 'serif' },
  { family: 'PT Serif', label: 'PT Serif', weights: '400,700', category: 'serif' },
  { family: 'Cardo', label: 'Cardo', weights: '400,700', category: 'serif' },
  { family: 'Crimson Text', label: 'Crimson Text', weights: '400,600,700', category: 'serif' },
  { family: 'Crimson Pro', label: 'Crimson Pro', weights: '400,600,700', category: 'serif' },
  { family: 'Newsreader', label: 'Newsreader', weights: '400,600,700', category: 'serif' },
  { family: 'Literata', label: 'Literata', weights: '400,600,700', category: 'serif' },
  { family: 'Petrona', label: 'Petrona', weights: '400,600,700', category: 'serif' },
  { family: 'Frank Ruhl Libre', label: 'Frank Ruhl Libre', weights: '400,600,700', category: 'serif' },
  { family: 'Arvo', label: 'Arvo', weights: '400,700', category: 'serif' },
  { family: 'Domine', label: 'Domine', weights: '400,700', category: 'serif' },
  { family: 'Rokkitt', label: 'Rokkitt', weights: '400,700', category: 'serif' },
  { family: 'Vollkorn', label: 'Vollkorn', weights: '400,600,700', category: 'serif' },
  { family: 'Zilla Slab', label: 'Zilla Slab', weights: '400,600,700', category: 'serif' },
  { family: 'Aleo', label: 'Aleo', weights: '400,700', category: 'serif' },
  { family: 'Spectral', label: 'Spectral', weights: '400,600,700', category: 'serif' },
  { family: 'Faustina', label: 'Faustina', weights: '400,600,700', category: 'serif' },
  { family: 'Gelasio', label: 'Gelasio', weights: '400,700', category: 'serif' },
  { family: 'Kreon', label: 'Kreon', weights: '400,600,700', category: 'serif' },
  { family: 'Markazi Text', label: 'Markazi Text', weights: '400,600,700', category: 'serif' },
  { family: 'Vidaloka', label: 'Vidaloka', weights: '400', category: 'serif' },
  { family: 'Yeseva One', label: 'Yeseva One', weights: '400', category: 'serif' },
  { family: 'Marcellus', label: 'Marcellus', weights: '400', category: 'serif' },
  { family: 'Marcellus SC', label: 'Marcellus SC', weights: '400', category: 'serif' },
  { family: 'Italiana', label: 'Italiana', weights: '400', category: 'serif' },
  { family: 'Trirong', label: 'Trirong', weights: '400,600,700', category: 'serif' },
  { family: 'Bellefair', label: 'Bellefair', weights: '400', category: 'serif' },
  { family: 'David Libre', label: 'David Libre', weights: '400,700', category: 'serif' },
  { family: 'Podkova', label: 'Podkova', weights: '400,600,700,800', category: 'serif' },
  { family: 'Rozha One', label: 'Rozha One', weights: '400', category: 'serif' },
  { family: 'Shrikhand', label: 'Shrikhand', weights: '400', category: 'serif' },
  { family: 'Amiri', label: 'Amiri', weights: '400,700', category: 'serif' },
  { family: 'Lilita One', label: 'Lilita One', weights: '400', category: 'serif' },
  { family: 'Convergence', label: 'Convergence', weights: '400', category: 'serif' },
  { family: 'Bentham', label: 'Bentham', weights: '400', category: 'serif' },
  { family: 'Besley', label: 'Besley', weights: '400,600,700,800', category: 'serif' },
  { family: 'Eczar', label: 'Eczar', weights: '400,600,700,800', category: 'serif' },
  { family: 'Gilda Display', label: 'Gilda Display', weights: '400', category: 'serif' },
  { family: 'Judson', label: 'Judson', weights: '400,700', category: 'serif' },
  { family: 'Karma', label: 'Karma', weights: '400,700', category: 'serif' },
  { family: 'Trocchi', label: 'Trocchi', weights: '400', category: 'serif' },
  { family: 'Vollkorn SC', label: 'Vollkorn SC', weights: '400,700', category: 'serif' },
  { family: 'Abhaya Libre', label: 'Abhaya Libre', weights: '400,600,700,800', category: 'serif' },
  { family: 'Alike', label: 'Alike', weights: '400', category: 'serif' },
  { family: 'Alice', label: 'Alice', weights: '400', category: 'serif' },
  { family: 'Halant', label: 'Halant', weights: '400,600,700', category: 'serif' },
  { family: 'Taviraj', label: 'Taviraj', weights: '400,600,700', category: 'serif' },

  // ── Display — the original 14 (preloaded) ──
  { family: 'Bebas Neue', label: 'Bebas Neue', weights: '400', category: 'display' },
  { family: 'Anton', label: 'Anton', weights: '400', category: 'display' },
  { family: 'Archivo Black', label: 'Archivo Black', weights: '400', category: 'display' },
  { family: 'Lobster', label: 'Lobster', weights: '400', category: 'display' },
  { family: 'Alfa Slab One', label: 'Alfa Slab One', weights: '400', category: 'display' },
  { family: 'Bungee', label: 'Bungee', weights: '400', category: 'display' },
  { family: 'Righteous', label: 'Righteous', weights: '400', category: 'display' },
  { family: 'Ultra', label: 'Ultra', weights: '400', category: 'display' },
  { family: 'Passion One', label: 'Passion One', weights: '400,700', category: 'display' },
  { family: 'Monoton', label: 'Monoton', weights: '400', category: 'display' },
  { family: 'Rye', label: 'Rye', weights: '400', category: 'display' },
  { family: 'Titan One', label: 'Titan One', weights: '400', category: 'display' },
  { family: 'Luckiest Guy', label: 'Luckiest Guy', weights: '400', category: 'display' },
  { family: 'Permanent Marker', label: 'Permanent Marker', weights: '400', category: 'display' },
  // ── Display — Wave 2 additions (on-demand) ──
  { family: 'Black Ops One', label: 'Black Ops One', weights: '400', category: 'display' },
  { family: 'Bowlby One SC', label: 'Bowlby One SC', weights: '400', category: 'display' },
  { family: 'Bungee Shade', label: 'Bungee Shade', weights: '400', category: 'display' },
  { family: 'Bungee Inline', label: 'Bungee Inline', weights: '400', category: 'display' },
  { family: 'Cabin Sketch', label: 'Cabin Sketch', weights: '400,700', category: 'display' },
  { family: 'Chango', label: 'Chango', weights: '400', category: 'display' },
  { family: 'Chewy', label: 'Chewy', weights: '400', category: 'display' },
  { family: 'Comfortaa', label: 'Comfortaa', weights: '400,600,700', category: 'display' },
  { family: 'Concert One', label: 'Concert One', weights: '400', category: 'display' },
  { family: 'Dongle', label: 'Dongle', weights: '400,700', category: 'display' },
  { family: 'Eater', label: 'Eater', weights: '400', category: 'display' },
  { family: 'Fugaz One', label: 'Fugaz One', weights: '400', category: 'display' },
  { family: 'Iceberg', label: 'Iceberg', weights: '400', category: 'display' },
  { family: 'Moo Lah Lah', label: 'Moo Lah Lah', weights: '400', category: 'display' },
  { family: 'Nosifer', label: 'Nosifer', weights: '400', category: 'display' },
  { family: 'Oxanium', label: 'Oxanium', weights: '400,600,700', category: 'display' },
  { family: 'Patua One', label: 'Patua One', weights: '400', category: 'display' },
  { family: 'Piedra', label: 'Piedra', weights: '400', category: 'display' },
  { family: 'Press Start 2P', label: 'Press Start 2P', weights: '400', category: 'display' },
  { family: 'Pridi', label: 'Pridi', weights: '400,600,700', category: 'display' },
  { family: 'Racing Sans One', label: 'Racing Sans One', weights: '400', category: 'display' },
  { family: 'Rammetto One', label: 'Rammetto One', weights: '400', category: 'display' },
  { family: 'Rubik Mono One', label: 'Rubik Mono One', weights: '400', category: 'display' },
  { family: 'Rubik Wet Paint', label: 'Rubik Wet Paint', weights: '400', category: 'display' },
  { family: 'Rubik Beastly', label: 'Rubik Beastly', weights: '400', category: 'display' },
  { family: 'Sail', label: 'Sail', weights: '400', category: 'display' },
  { family: 'Sarina', label: 'Sarina', weights: '400', category: 'display' },
  { family: 'Spicy Rice', label: 'Spicy Rice', weights: '400', category: 'display' },
  { family: 'Staatliches', label: 'Staatliches', weights: '400', category: 'display' },
  { family: 'Supermercado One', label: 'Supermercado One', weights: '400', category: 'display' },
  { family: 'Train One', label: 'Train One', weights: '400', category: 'display' },
  { family: 'UnifrakturMaguntia', label: 'UnifrakturMaguntia', weights: '400', category: 'display' },
  { family: 'Wellfleet', label: 'Wellfleet', weights: '400', category: 'display' },
  { family: 'Wallpoet', label: 'Wallpoet', weights: '400', category: 'display' },
  { family: 'Vampiro One', label: 'Vampiro One', weights: '400', category: 'display' },
  { family: 'Rubik Glitch', label: 'Rubik Glitch', weights: '400', category: 'display' },
  { family: 'Rubik Puddles', label: 'Rubik Puddles', weights: '400', category: 'display' },
  { family: 'Metamorphous', label: 'Metamorphous', weights: '400', category: 'display' },
  { family: 'MedievalSharp', label: 'MedievalSharp', weights: '400', category: 'display' },
  { family: 'Grenze Gotisch', label: 'Grenze Gotisch', weights: '400,700', category: 'display' },
  { family: 'Grechen Fuemen', label: 'Grechen Fuemen', weights: '400', category: 'display' },
  { family: 'Fascinate', label: 'Fascinate', weights: '400', category: 'display' },
  { family: 'Emblema One', label: 'Emblema One', weights: '400', category: 'display' },
  { family: 'Diplomata SC', label: 'Diplomata SC', weights: '400', category: 'display' },
  { family: 'Della Respira', label: 'Della Respira', weights: '400', category: 'display' },
  { family: 'Creepster', label: 'Creepster', weights: '400', category: 'display' },
  { family: 'Butcherman', label: 'Butcherman', weights: '400', category: 'display' },
  { family: 'Bilbo Swash Caps', label: 'Bilbo Swash Caps', weights: '400', category: 'display' },
  { family: 'Bigshot One', label: 'Bigshot One', weights: '400', category: 'display' },
  { family: 'Bevan', label: 'Bevan', weights: '400', category: 'display' },
  { family: 'Baumans', label: 'Baumans', weights: '400', category: 'display' },
  { family: 'Baskervville', label: 'Baskervville', weights: '400', category: 'display' },
  { family: 'Aladin', label: 'Aladin', weights: '400', category: 'display' },
  { family: 'Aubrey', label: 'Aubrey', weights: '400', category: 'display' },
  { family: 'Barriecito', label: 'Barriecito', weights: '400', category: 'display' },
  { family: 'Bungee Spice', label: 'Bungee Spice', weights: '400', category: 'display' },
  { family: 'Codystar', label: 'Codystar', weights: '300,400', category: 'display' },
  { family: 'Dawning of a New Day', label: 'Dawning of a New Day', weights: '400', category: 'display' },
  { family: 'Delius Unicase', label: 'Delius Unicase', weights: '400,700', category: 'display' },
  { family: 'Dr Sugiyama', label: 'Dr Sugiyama', weights: '400', category: 'display' },
  { family: 'Esteban', label: 'Esteban', weights: '400', category: 'display' },
  { family: 'Faster One', label: 'Faster One', weights: '400', category: 'display' },
  { family: 'Federant', label: 'Federant', weights: '400', category: 'display' },
  { family: 'Fontdiner Swanky', label: 'Fontdiner Swanky', weights: '400', category: 'display' },
  { family: 'Frijole', label: 'Frijole', weights: '400', category: 'display' },
  { family: 'Fruktur', label: 'Fruktur', weights: '400', category: 'display' },
  { family: 'Girassol', label: 'Girassol', weights: '400', category: 'display' },
  { family: 'Grenze', label: 'Grenze', weights: '400,700', category: 'display' },
  { family: 'Hachi Maru Pop', label: 'Hachi Maru Pop', weights: '400', category: 'display' },
  { family: 'Hanalei', label: 'Hanalei', weights: '400', category: 'display' },
  { family: 'Hanalei Fill', label: 'Hanalei Fill', weights: '400', category: 'display' },
  { family: 'Imprima', label: 'Imprima', weights: '400', category: 'display' },
  { family: 'Inder', label: 'Inder', weights: '400', category: 'display' },
  { family: 'Inknut Antiqua', label: 'Inknut Antiqua', weights: '400,700', category: 'display' },
  { family: 'Irish Grover', label: 'Irish Grover', weights: '400', category: 'display' },
  { family: 'Jim Nightshade', label: 'Jim Nightshade', weights: '400', category: 'display' },
  { family: 'Jolly Lodger', label: 'Jolly Lodger', weights: '400', category: 'display' },
  { family: 'Kranky', label: 'Kranky', weights: '400', category: 'display' },
  { family: 'Leckerli One', label: 'Leckerli One', weights: '400', category: 'display' },
  { family: 'Lemon', label: 'Lemon', weights: '400', category: 'display' },
  { family: 'Liu Jian Mao Cao', label: 'Liu Jian Mao Cao', weights: '400', category: 'display' },
  { family: 'Long Cang', label: 'Long Cang', weights: '400', category: 'display' },
  { family: 'Loved by the King', label: 'Loved by the King', weights: '400', category: 'display' },
  { family: 'Lovers Quarrel', label: 'Lovers Quarrel', weights: '400', category: 'display' },
  { family: 'Ma Shan Zheng', label: 'Ma Shan Zheng', weights: '400', category: 'display' },
  { family: 'Major Mono Display', label: 'Major Mono Display', weights: '400', category: 'display' },
  { family: 'Metal Mania', label: 'Metal Mania', weights: '400', category: 'display' },
  { family: 'Miltonian', label: 'Miltonian', weights: '400', category: 'display' },
  { family: 'Miltonian Tattoo', label: 'Miltonian Tattoo', weights: '400', category: 'display' },
  { family: 'Mina', label: 'Mina', weights: '400,700', category: 'display' },
  { family: 'Modak', label: 'Modak', weights: '400', category: 'display' },
  { family: 'Monofett', label: 'Monofett', weights: '400', category: 'display' },
  { family: 'Moul', label: 'Moul', weights: '400', category: 'display' },
  { family: 'Moulpali', label: 'Moulpali', weights: '400', category: 'display' },
  { family: 'Mouse Memoirs', label: 'Mouse Memoirs', weights: '400', category: 'display' },
  { family: 'Mr Bedfort', label: 'Mr Bedfort', weights: '400', category: 'display' },
  { family: 'Mr Dafoe', label: 'Mr Dafoe', weights: '400', category: 'display' },
  { family: 'Mrs Saint Delafield', label: 'Mrs Saint Delafield', weights: '400', category: 'display' },
  { family: 'Mrs Sheppards', label: 'Mrs Sheppards', weights: '400', category: 'display' },
  { family: 'New Rocker', label: 'New Rocker', weights: '400', category: 'display' },
  { family: 'Nothing You Could Do', label: 'Nothing You Could Do', weights: '400', category: 'display' },
  { family: 'Oooh Baby', label: 'Oooh Baby', weights: '400', category: 'display' },
  { family: 'Petit Formal Script', label: 'Petit Formal Script', weights: '400', category: 'display' },
  { family: 'Pinyon Script', label: 'Pinyon Script', weights: '400', category: 'display' },
  { family: 'Playfair Display SC', label: 'Playfair Display SC', weights: '400,700', category: 'display' },
  { family: 'Redressed', label: 'Redressed', weights: '400', category: 'display' },
  { family: 'Reenie Beanie', label: 'Reenie Beanie', weights: '400', category: 'display' },
  { family: 'Rochester', label: 'Rochester', weights: '400', category: 'display' },
  { family: 'Rock Salt', label: 'Rock Salt', weights: '400', category: 'display' },
  { family: 'Ruthie', label: 'Ruthie', weights: '400', category: 'display' },
  { family: 'Saintyplex', label: 'Saintyplex', weights: '400', category: 'display' },
  { family: 'Sancreek', label: 'Sancreek', weights: '400', category: 'display' },
  { family: 'Sedgwick Ave', label: 'Sedgwick Ave', weights: '400', category: 'display' },
  { family: 'Sedgwick Ave Display', label: 'Sedgwick Ave Display', weights: '400', category: 'display' },
  { family: 'Sniglet', label: 'Sniglet', weights: '400,800', category: 'display' },
  { family: 'Sofia', label: 'Sofia', weights: '400', category: 'display' },
  { family: 'Special Elite', label: 'Special Elite', weights: '400', category: 'display' },
  { family: 'Sriracha', label: 'Sriracha', weights: '400', category: 'display' },
  { family: 'Sue Ellen Francisco', label: 'Sue Ellen Francisco', weights: '400', category: 'display' },
  { family: 'Sunflower', label: 'Sunflower', weights: '300,500,700', category: 'display' },
  { family: 'Tangerine', label: 'Tangerine', weights: '400,700', category: 'display' },
  { family: 'Tenor Sans', label: 'Tenor Sans', weights: '400', category: 'display' },
  { family: 'The Girl Next Door', label: 'The Girl Next Door', weights: '400', category: 'display' },
  { family: 'Trade Winds', label: 'Trade Winds', weights: '400', category: 'display' },
  { family: 'Tulip One', label: 'Tulip One', weights: '400', category: 'display' },
  { family: 'UnifrakturCook', label: 'UnifrakturCook', weights: '700', category: 'display' },
  { family: 'Vast Shadow', label: 'Vast Shadow', weights: '400', category: 'display' },
  { family: 'Vibur', label: 'Vibur', weights: '400', category: 'display' },
  { family: 'Waiting for the Sunrise', label: 'Waiting for the Sunrise', weights: '400', category: 'display' },
  { family: 'Warnes', label: 'Warnes', weights: '400', category: 'display' },
  { family: 'Wire One', label: 'Wire One', weights: '400', category: 'display' },
  { family: 'Yesteryear', label: 'Yesteryear', weights: '400', category: 'display' },
  { family: 'Zeyada', label: 'Zeyada', weights: '400', category: 'display' },
  { family: 'Zilla Slab Highlight', label: 'Zilla Slab Highlight', weights: '400,700', category: 'display' },

  // ── Handwriting — the original 14 (preloaded) ──
  { family: 'Pacifico', label: 'Pacifico', weights: '400', category: 'handwriting' },
  { family: 'Caveat', label: 'Caveat', weights: '400,700', category: 'handwriting' },
  { family: 'Dancing Script', label: 'Dancing Script', weights: '400,700', category: 'handwriting' },
  { family: 'Great Vibes', label: 'Great Vibes', weights: '400', category: 'handwriting' },
  { family: 'Sacramento', label: 'Sacramento', weights: '400', category: 'handwriting' },
  { family: 'Satisfy', label: 'Satisfy', weights: '400', category: 'handwriting' },
  { family: 'Kaushan Script', label: 'Kaushan Script', weights: '400', category: 'handwriting' },
  { family: 'Alex Brush', label: 'Alex Brush', weights: '400', category: 'handwriting' },
  { family: 'Allura', label: 'Allura', weights: '400', category: 'handwriting' },
  { family: 'Parisienne', label: 'Parisienne', weights: '400', category: 'handwriting' },
  { family: 'Amatic SC', label: 'Amatic SC', weights: '400,700', category: 'handwriting' },
  { family: 'Shadows Into Light', label: 'Shadows Into Light', weights: '400', category: 'handwriting' },
  { family: 'Indie Flower', label: 'Indie Flower', weights: '400', category: 'handwriting' },
  { family: 'Kalam', label: 'Kalam', weights: '400,700', category: 'handwriting' },
  // ── Handwriting — Wave 2 additions (on-demand) ──
  { family: 'Architects Daughter', label: 'Architects Daughter', weights: '400', category: 'handwriting' },
  { family: 'Bad Script', label: 'Bad Script', weights: '400', category: 'handwriting' },
  { family: 'Homemade Apple', label: 'Homemade Apple', weights: '400', category: 'handwriting' },
  { family: 'La Belle Aurore', label: 'La Belle Aurore', weights: '400', category: 'handwriting' },
  { family: 'League Script', label: 'League Script', weights: '400', category: 'handwriting' },
  { family: 'Marck Script', label: 'Marck Script', weights: '400', category: 'handwriting' },
  { family: 'Mea Culpa', label: 'Mea Culpa', weights: '400', category: 'handwriting' },
  { family: 'Merienda', label: 'Merienda', weights: '400,700', category: 'handwriting' },
  { family: 'MonteCarlo', label: 'MonteCarlo', weights: '400', category: 'handwriting' },
  { family: 'Mali', label: 'Mali', weights: '400,600,700', category: 'handwriting' },
  { family: 'Nanum Pen Script', label: 'Nanum Pen Script', weights: '400', category: 'handwriting' },
  { family: 'Nanum Brush Script', label: 'Nanum Brush Script', weights: '400', category: 'handwriting' },
  { family: 'Patrick Hand', label: 'Patrick Hand', weights: '400', category: 'handwriting' },
  { family: 'Patrick Hand SC', label: 'Patrick Hand SC', weights: '400', category: 'handwriting' },
  { family: 'Playwrite', label: 'Playwrite', weights: '400', category: 'handwriting' },
  { family: 'Schoolbell', label: 'Schoolbell', weights: '400', category: 'handwriting' },
  { family: 'Shadows Into Light Two', label: 'Shadows Into Light Two', weights: '400', category: 'handwriting' },
  { family: 'Signika Negative', label: 'Signika Negative', weights: '400,600,700', category: 'handwriting' },
  { family: 'Solitreo', label: 'Solitreo', weights: '400', category: 'handwriting' },
  { family: 'Sweet Pea', label: 'Sweet Pea', weights: '400', category: 'handwriting' },
  { family: 'Tabby GG', label: 'Tabby GG', weights: '400', category: 'handwriting' },
  { family: 'Thasadith', label: 'Thasadith', weights: '400,700', category: 'handwriting' },
  { family: 'Tillana', label: 'Tillana', weights: '400,600,700', category: 'handwriting' },
  { family: 'Water Brush', label: 'Water Brush', weights: '400', category: 'handwriting' },
  { family: 'Whisper', label: 'Whisper', weights: '400', category: 'handwriting' },
  { family: 'WindSong', label: 'WindSong', weights: '400,500', category: 'handwriting' },
  { family: 'Yellowtail', label: 'Yellowtail', weights: '400', category: 'handwriting' },
  { family: 'Yomogi', label: 'Yomogi', weights: '400', category: 'handwriting' },
  { family: 'Zen Loop', label: 'Zen Loop', weights: '400,700', category: 'handwriting' },
  { family: 'Playwrite AU SA', label: 'Playwrite AU SA', weights: '400', category: 'handwriting' },
  { family: 'Playwrite US Modern', label: 'Playwrite US Modern', weights: '400', category: 'handwriting' },
  { family: 'Delius', label: 'Delius', weights: '400', category: 'handwriting' },
  { family: 'Delius Swash Caps', label: 'Delius Swash Caps', weights: '400', category: 'handwriting' },

  // ── Mono — the original 3 (preloaded) + additions ──
  { family: 'DM Mono', label: 'DM Mono', weights: '400,500', category: 'mono' },
  { family: 'JetBrains Mono', label: 'JetBrains Mono', weights: '400,700', category: 'mono' },
  { family: 'Space Mono', label: 'Space Mono', weights: '400,700', category: 'mono' },
  { family: 'Anonymous Pro', label: 'Anonymous Pro', weights: '400,700', category: 'mono' },
  { family: 'Cutive Mono', label: 'Cutive Mono', weights: '400', category: 'mono' },
  { family: 'Fira Code', label: 'Fira Code', weights: '400,600,700', category: 'mono' },
  { family: 'IBM Plex Mono', label: 'IBM Plex Mono', weights: '400,600,700', category: 'mono' },
  { family: 'Inconsolata', label: 'Inconsolata', weights: '400,700', category: 'mono' },
  { family: 'Source Code Pro', label: 'Source Code Pro', weights: '400,600,700', category: 'mono' },
  { family: 'Ubuntu Mono', label: 'Ubuntu Mono', weights: '400,700', category: 'mono' },
  { family: 'VT323', label: 'VT323', weights: '400', category: 'mono' },
  { family: 'Spline Sans Mono', label: 'Spline Sans Mono', weights: '400,600,700', category: 'mono' },
  { family: 'Martian Mono', label: 'Martian Mono', weights: '400,700', category: 'mono' },
  { family: 'Red Hat Mono', label: 'Red Hat Mono', weights: '400,600,700', category: 'mono' },
  { family: 'Kode Mono', label: 'Kode Mono', weights: '400,700', category: 'mono' },
  { family: 'Chivo Mono', label: 'Chivo Mono', weights: '400,700', category: 'mono' },
  { family: 'Noto Sans Mono', label: 'Noto Sans Mono', weights: '400,700', category: 'mono' },
  { family: 'Geist Mono', label: 'Geist Mono', weights: '400,500,600,700', category: 'mono' },
];

/**
 * The historic 63 families pinned to the preload <link> in app/layout.tsx.
 * The on-demand loader skips these (they arrive with first paint); every
 * other catalog family loads lazily via ensureFontLoaded().
 */
export const PRELOADED_FONTS = new Set<string>([
  'Inter',
  'Poppins',
  'Montserrat',
  'Space Grotesk',
  'Oswald',
  'Raleway',
  'Lato',
  'Open Sans',
  'Nunito',
  'Quicksand',
  'Rubik',
  'Work Sans',
  'DM Sans',
  'Josefin Sans',
  'Barlow',
  'Manrope',
  'Outfit',
  'Figtree',
  'Playfair Display',
  'Abril Fatface',
  'Roboto Slab',
  'Lora',
  'Merriweather',
  'Libre Baskerville',
  'EB Garamond',
  'Cormorant Garamond',
  'DM Serif Display',
  'Prata',
  'Bitter',
  'Fraunces',
  'Bodoni Moda',
  'Cinzel',
  'Bebas Neue',
  'Anton',
  'Archivo Black',
  'Lobster',
  'Alfa Slab One',
  'Bungee',
  'Righteous',
  'Ultra',
  'Passion One',
  'Monoton',
  'Rye',
  'Titan One',
  'Luckiest Guy',
  'Permanent Marker',
  'Pacifico',
  'Caveat',
  'Dancing Script',
  'Great Vibes',
  'Sacramento',
  'Satisfy',
  'Kaushan Script',
  'Alex Brush',
  'Allura',
  'Parisienne',
  'Amatic SC',
  'Shadows Into Light',
  'Indie Flower',
  'Kalam',
  'DM Mono',
  'JetBrains Mono',
  'Space Mono',
])