FontDescription.setFamily

void setFamily(string family)

Sets the family name field of a font description.

The family name represents a family of related font styles, and will resolve to a particular [pango.font_family.FontFamily]. In some uses of [pango.font_description.FontDescription], it is also possible to use a comma separated list of family names for this field.

Parameters

familya string representing the family name.