Name
pango.FontFace — an object representing a group of fonts varying only in
size.
Methods
pango.FontFace.describe
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_name
Returns : | 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_sizes
Returns : | a tuple containing a list of face sizes in
pango units or None |
Note
This 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.