setVariationsStatic

fun setVariationsStatic(variations: String)

Sets the variations field of a font description.

This is like method@Pango.FontDescription.set_variations, except that no copy of @variations is made. The caller must make sure that the string passed in stays around until @desc has been freed or the name is set again. This function can be used if

Since

1.42

Parameters

variations

a string representing the variations