Skip to content

Intermact API Reference / @intermact/core / glyphFor

Function: glyphFor()

glyphFor(char, fontId?): Glyph

Defined in: packages/core/src/text/glyph-resolver.ts:14

Resolve a glyph for char from a registered outline font.

Parameters

char

string

fontId?

string

Returns

Glyph

Intermact v1.0 — 文档覆盖 Phase-1 / Phase-2 / Phase-3(全阶段)