| 13 | } |
| 14 | |
| 15 | export interface ResolveCategoryFallbacksOptions { |
| 16 | /** Font family name to resolve fallbacks for */ |
| 17 | fontFamily: string |
| 18 | /** Global fallbacks (array) or per-family fallbacks (object). Array overrides all category-based resolution. */ |
| 19 | fallbacks: string[] | Record<string, string[]> |
| 20 | /** Font metrics containing category information */ |
| 21 | metrics?: { category?: string } | null |
| 22 | /** User-provided category fallback overrides */ |
| 23 | categoryFallbacks?: Partial<Record<FontCategory, string[]>> |
| 24 | } |
| 25 | |
| 26 | /** |
| 27 | * Resolves the appropriate fallback fonts for a given font family. |
nothing calls this directly
no outgoing calls
no test coverage detected