Class
PangoFontFace
Description [src]
abstract class Pango.FontFace : GObject.Object
{
/* No available fields */
}
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.
since: 1.18
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.
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
);
}
No description available.
Class members
parent_class: GObjectClass
No description available.
get_face_name: const char* (* get_face_name) ( PangoFontFace* face )
No description available.
describe: PangoFontDescription* (* describe) ( PangoFontFace* face )
No description available.
list_sizes: void (* list_sizes) ( PangoFontFace* face, int** sizes, int* n_sizes )
No description available.
is_synthesized: gboolean (* is_synthesized) ( PangoFontFace* face )
No description available.
get_family: PangoFontFamily* (* get_family) ( PangoFontFace* face )
No description available.
_pango_reserved3: void (* _pango_reserved3) ( void )
No description available.
_pango_reserved4: void (* _pango_reserved4) ( void )
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.
since: 1.18