Intermact API Reference / @intermact/core / loadOutlineFontFromBuffer
Function: loadOutlineFontFromBuffer()
loadOutlineFontFromBuffer(
buffer,id):RegisteredFont
Defined in: packages/core/src/text/opentype-font.ts:20
Parse a font binary and register it under id (typically the asset URL). Returns the registered face handle.
Parameters
buffer
ArrayBuffer
id
string