Skip to main content

Swapping Font Assets at Runtime

Fonts can be loaded dynamically at runtime. This allows you to localize your Rive content without increasing the file size of the exported .riv file. Swapping a font asset replaces all instances of the font. For more information, see Loading Assets.

Fallback Fonts

Fallback fonts are not yet supported in Flutter.
Fallback fonts are not supported on the web.For security reasons, browsers do not allow the canvas to access local system files, including fonts. As a result, only fonts explicitly provided to Rive can be used.