reloadFont
open fun reloadFont(font: Font, scale: <Error class: unknown class>, context: Context? = null, variations: String? = null): Font
Returns a new font that is like @font, except that its size is multiplied by @scale, its backend-dependent configuration (e.g. cairo font options) is replaced by the one in @context, and its variations are replaced by @variations.
Return
the modified font
Since
1.52
Parameters
font
a font in @fontmap
scale
the scale factor to apply
context
a PangoContext
variations
font variations to use