listFonts() — astro Function Reference
Architecture documentation for the listFonts() function in unifont-font-resolver.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 45f5b03a_8e0e_9fc6_197c_a482452c81b0["listFonts()"] e75025f8_1303_03ea_42ce_653194e50374["UnifontFontResolver"] 45f5b03a_8e0e_9fc6_197c_a482452c81b0 -->|defined in| e75025f8_1303_03ea_42ce_653194e50374 585ad958_97bd_0d25_1b2b_d396c4fe2747["astroToUnifontProvider()"] 585ad958_97bd_0d25_1b2b_d396c4fe2747 -->|calls| 45f5b03a_8e0e_9fc6_197c_a482452c81b0 86803e41_45ca_a354_b3e0_fd9a88d03563["idFromProvider()"] 45f5b03a_8e0e_9fc6_197c_a482452c81b0 -->|calls| 86803e41_45ca_a354_b3e0_fd9a88d03563 style 45f5b03a_8e0e_9fc6_197c_a482452c81b0 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/assets/fonts/infra/unifont-font-resolver.ts lines 121–128
async listFonts({ provider }: { provider: FontProvider }): Promise<string[] | undefined> {
return await this.#unifont.listFonts([
UnifontFontResolver.idFromProvider({
hasher: this.#hasher,
provider,
}),
]);
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does listFonts() do?
listFonts() is a function in the astro codebase, defined in packages/astro/src/assets/fonts/infra/unifont-font-resolver.ts.
Where is listFonts() defined?
listFonts() is defined in packages/astro/src/assets/fonts/infra/unifont-font-resolver.ts at line 121.
What does listFonts() call?
listFonts() calls 1 function(s): idFromProvider.
What calls listFonts()?
listFonts() is called by 1 function(s): astroToUnifontProvider.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free