FontFamily.getFace

Gets the pango.font_face.FontFace of family with the given name.

class FontFamily
getFace
(
string name = null
)

Parameters

name string

the name of a face. If the name is null, the family's default face (fontconfig calls it "Regular") will be returned.

Return Value

Type: pango.font_face.FontFace

the pango.font_face.FontFace, or null if no face with the given name exists.