MCPcopy
hub / github.com/gkurt/tegaki / ParsedFontInfo

Interface ParsedFontInfo

packages/generator/src/commands/generate.ts:119–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117}
118
119export interface ParsedFontInfo {
120 family: string;
121 style: string;
122 unitsPerEm: number;
123 ascender: number;
124 descender: number;
125 lineCap: LineCap;
126 font: opentype.Font;
127 /** Additional subset fonts (e.g. CJK subsets from Google Fonts) */
128 extraFonts?: opentype.Font[];
129 /**
130 * Deduplicated GSUB feature tags declared by the font (e.g. `liga`, `calt`,
131 * `init`/`medi`/`fina` for Arabic). Detected once at parse time via harfbuzz
132 * so downstream code — bundle builder, UI feature toggles, live preview —
133 * never has to re-run detection.
134 */
135 features: string[];
136}
137
138// ── Bundle types ──────────────────────────────────────────────────────────
139

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected