setFallbackFont

Deprecated

Prefer defining a `FontFallbackStrategy` instead

Set a fallback font for the Rive runtime.

Return

Whether the font was successfully registered.

Parameters

byteArray

The ByteArray bytes for a font file.


Deprecated

Prefer defining a `FontFallbackStrategy` instead

Set a fallback font for the Rive runtime.

Return

Whether the font was successfully registered.

Parameters

opts

The Fonts.FontOpts specifying the desired font characteristics. If not provided, default options are used.