setFamilyStatic

fun setFamilyStatic(family: String)

Sets the family name field of a font description, without copying the string.

This is like method@Pango.FontDescription.set_family, except that no copy of @family 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 @family is a static string such as a C string literal, or if @desc is only needed temporarily.

Parameters

family

a string representing the family name