pango.font_family

Module for [FontFamily] class

Types 3

A pango.font_family.FontFamily is used to represent a family of related font faces.

The font faces in a family share a common design, but differ in slant, weight, width or other aspects.

Methods
GType _getGType() static nothrow
GType _gType() @property nothrow
FontFamily self() nothrowReturns `this`, for use in `with` statements.
FontFamilyGidBuilder builder() static nothrowGet builder for [pango.font_family.FontFamily] Returns: New builder object
gobject.types.GType itemType() @property nothrowGet `itemType` property. Returns: The type of items contained in this list.
uint nItems() @property nothrowGet `nItems` property. Returns: The number of items contained in this list.
string name() @property nothrowGet `name` property. Returns: The name of the family
pango.font_face.FontFace getFace(string name = null) nothrowGets the [pango.font_face.FontFace] of family with the given name.
string getName() nothrowGets the name of the family.
bool isMonospace() nothrowA monospace font is a font designed for text display where the the characters form a regular grid.
bool isVariable() nothrowA variable font is a font which has axes that can be modified to produce different faces.
void listFaces(out pango.font_face.FontFace[] faces) nothrowLists the different font faces that make up family.
Constructors
this(void * ptr, Flag!"Take" take)

Fluent builder for pango.font_family.FontFamily

Methods
FontFamily build() nothrowCreate object from builder. Returns: New object