Skip to content

vyaz-monorepo / core/src / isFontEngineAvailable

Function: isFontEngineAvailable()

isFontEngineAvailable(): Promise<boolean>

Defined in: core/src/measure/FontEngine.ts:210

Whether the fontkit module was successfully loaded. Useful for tests to verify the bundler isn't blocking fontkit.

Returns

Promise<boolean>

Released under the MIT License.