createVariableIconFont
Creates a variable IconFont using a FontConstructor.
This function is not composable, use rememberVariableIconFont when in a composition.
Parameters
a function returning a Font object, taking as parameters the weight (FontWeight) and the variation settings (FontVariation.Settings)
the supported weights for the font
the font variation settings, should not include the optical size ('opsz') and must not include the weight ('wght')
the font feature settings, written in a CSS syntax
Creates a variable IconFont using a Skia Typeface.
This function is not composable, use rememberVariableIconFont when in a composition
Parameters
the internal name to differentiate the typeface
the base Skia SkTypeface that will be cloned for each required variation settings
the supported weights for the font
the font variation settings, should not include the optical size ('opsz') and must not include the weight ('wght')
the font feature settings, written in a CSS syntax
the density of the screen, used to convert the icon size to pixels