Home / Type/ FontFileReader Type — astro Architecture

FontFileReader Type — astro Architecture

Architecture documentation for the FontFileReader type/interface in definitions.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  875b7a50_28c5_6db1_5c53_a010ac168f8f["FontFileReader"]
  acedbcbd_1f43_e7eb_ce1b_cea2d1105273["definitions.ts"]
  875b7a50_28c5_6db1_5c53_a010ac168f8f -->|defined in| acedbcbd_1f43_e7eb_ce1b_cea2d1105273
  style 875b7a50_28c5_6db1_5c53_a010ac168f8f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/src/assets/fonts/definitions.ts lines 57–62

export interface FontFileReader {
	extract: (input: { family: string; url: string }) => {
		weight: string;
		style: Style;
	};
}

Frequently Asked Questions

What is the FontFileReader type?
FontFileReader is a type/interface in the astro codebase, defined in packages/astro/src/assets/fonts/definitions.ts.
Where is FontFileReader defined?
FontFileReader is defined in packages/astro/src/assets/fonts/definitions.ts at line 57.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free