Class
Pango.FontFace
Description [src]
abstract class Pango.FontFace : GObject.Object {
parent_instance: GObject
}
A PangoFontFace
is used to represent a group of fonts with
the same family, slant, weight, and width, but varying sizes.
Instance methods
pango_font_face_describe
Returns the family, style, variant, weight and stretch of
a PangoFontFace
. The size field of the resulting font description
will be unset.
pango_font_face_get_face_name
Gets a name representing the style of this face among the
different faces in the PangoFontFamily
for the face. The
name is suitable for displaying to users.
pango_font_face_is_synthesized
Returns whether a PangoFontFace
is synthesized by the underlying
font rendering engine from another face, perhaps by shearing, emboldening,
or lightening it.
Available since: 1.18
Class structure
struct PangoFontFaceClass {
GObjectClass parent_class;
const char* (* get_face_name) (
PangoFontFace* face
);
PangoFontDescription* (* describe) (
PangoFontFace* face
);
void (* list_sizes) (
PangoFontFace* face,
int** sizes,
int* n_sizes
);
gboolean (* is_synthesized) (
PangoFontFace* face
);
PangoFontFamily* (* get_family) (
PangoFontFace* face
);
void (* _pango_reserved3) (
void
);
void (* _pango_reserved4) (
void
);
}
Class members
parent_class |
|
No description available. | |
get_face_name |
|
No description available. | |
describe |
|
No description available. | |
list_sizes |
|
No description available. | |
is_synthesized |
|
No description available. | |
get_family |
|
No description available. | |
_pango_reserved3 |
|
No description available. | |
_pango_reserved4 |
|
No description available. |
Virtual methods
Pango.FontFaceClass.describe
Returns the family, style, variant, weight and stretch of
a PangoFontFace
. The size field of the resulting font description
will be unset.
Pango.FontFaceClass.get_face_name
Gets a name representing the style of this face among the
different faces in the PangoFontFamily
for the face. The
name is suitable for displaying to users.
Pango.FontFaceClass.is_synthesized
Returns whether a PangoFontFace
is synthesized by the underlying
font rendering engine from another face, perhaps by shearing, emboldening,
or lightening it.
Available since: 1.18