createStaticIconFont

fun createStaticIconFont(vararg fonts: Font, fontFeatureSettings: String? = null): StaticIconFont(source)

Creates a static IconFont using a list of Font objects. Multiple fonts might be provided to support multiple weights.

This function is not composable, use rememberStaticIconFont when in a composition.

Parameters

fonts

the font(s) used to draw the icons

fontFeatureSettings

the font feature settings, written in a CSS syntax