pango.font_face

Module for [FontFace] class

Types 3

A pango.font_face.FontFace is used to represent a group of fonts with the same family, slant, weight, and width, but varying sizes.

Methods
GType _getGType() static nothrow
GType _gType() @property nothrow
FontFace self() nothrowReturns `this`, for use in `with` statements.
FontFaceGidBuilder builder() static nothrowGet builder for [pango.font_face.FontFace] Returns: New builder object
pango.font_description.FontDescription describe() nothrowReturns a font description that matches the face.
string getFaceName() nothrowGets a name representing the style of this face.
pango.font_family.FontFamily getFamily() nothrowGets the [pango.font_family.FontFamily] that face belongs to. Returns: the [pango.font_family.FontFamily]
bool isSynthesized() nothrowReturns whether a [pango.font_face.FontFace] is synthesized.
void listSizes(out int[] sizes) nothrowList the available sizes for a font.
Constructors
this(void * ptr, Flag!"Take" take)

Fluent builder for pango.font_face.FontFace

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