get_face


Description:

[ Version ( since = "1.46" ) ]
public virtual unowned FontFace? get_face (string? name)

Gets the `PangoFontFace` of this with the given name.

Parameters:

this

a `PangoFontFamily`

name

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

Returns:

the `PangoFontFace`, or null if no face with the given name exists.




2022 vala-language.org