generateFontFace() — astro Function Reference
Architecture documentation for the generateFontFace() function in minifiable-css-renderer.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 2992d8bc_170f_b58b_d651_6fc0de9839ab["generateFontFace()"] cc3ea93b_08d9_b82f_2084_fe8478b24785["MinifiableCssRenderer"] 2992d8bc_170f_b58b_d651_6fc0de9839ab -->|defined in| cc3ea93b_08d9_b82f_2084_fe8478b24785 9479a2d2_6804_b69a_8c88_5e4a444a6c0d["renderFontFace()"] 2992d8bc_170f_b58b_d651_6fc0de9839ab -->|calls| 9479a2d2_6804_b69a_8c88_5e4a444a6c0d be8c2179_c654_bb13_a969_c3d72a5977a7["withFamily()"] 2992d8bc_170f_b58b_d651_6fc0de9839ab -->|calls| be8c2179_c654_bb13_a969_c3d72a5977a7 style 2992d8bc_170f_b58b_d651_6fc0de9839ab fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/assets/fonts/infra/minifiable-css-renderer.ts lines 51–53
generateFontFace(family: string, properties: CssProperties): string {
return renderFontFace(withFamily(family, properties), this.#minify);
}
Domain
Subdomains
Source
Frequently Asked Questions
What does generateFontFace() do?
generateFontFace() is a function in the astro codebase, defined in packages/astro/src/assets/fonts/infra/minifiable-css-renderer.ts.
Where is generateFontFace() defined?
generateFontFace() is defined in packages/astro/src/assets/fonts/infra/minifiable-css-renderer.ts at line 51.
What does generateFontFace() call?
generateFontFace() calls 2 function(s): renderFontFace, withFamily.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free