Skip to main content
Language

From Assets

VideoEditor SDK supports adding custom fonts from local assets. In this example, we add the font Raleway.

Creating FontAsset#

We create a FontAsset here with a unique identifier and the path to the font file relative to the assets directory.

Add font to AssetConfig#

To use the font, it must first be available in the SDK's backend. This is done by adding the FontAsset created above to the AssetConfig.

Configure UiConfigText#

Here, we configure UiConfigText and add a custom FontItem to the fontList.