pango.FontFacean object representing a group of fonts varying only in
size.Synopsispango.FontFacegobject.GObjectdescribeget_face_namelist_sizesDescriptionA pango.FontFace
object represents a group of fonts with the same family, weight, slant,
stretch and width but varying sizes. A list of font faces can be retrieved
from a pango.FontFamily
object using the pango.FontFamily.list_faces()
method.Ancestry+-- gobject.GObject
+-- pango.FontFace
Methodspango.FontFace.describedescribeReturns :a pango.FontDescription
object containing the description of the face.The describe() method returns a pango.FontDescription
object containing the family, style, variant, weight and stretch of the
pango.FontFace.
The size attribute field will be unset.pango.FontFace.get_face_nameget_face_nameReturns :the face name for the
face.The get_face_name() method returns a
string representing this font face. This name is unique among all faces in the
family and is suitable for displaying to users.pango.FontFace.list_sizeslist_sizesReturns :a tuple containing a list of face sizes in
pango units or NoneThis method is available in PyGTK 2.4 and above.The list_sizes() method returns a tuple
containing the available sizes for a bitmap font. If the font face is a
scalable font this method returns None.