setVariant

fun setVariant(variant: Variant)

Sets the variant field of a font description.

The enum@Pango.Variant can either be %PANGO_VARIANT_NORMAL or %PANGO_VARIANT_SMALL_CAPS.

Parameters

variant

the variant type for the font description.