Fonts
Structures representing abstract fonts.
Pango supports a flexible architecture where a
particular rendering architecture can supply an
implementation of fonts. The #PangoFont and
#PangoCFont structures represent an abstract
rendering-system-indepent font, and a
component of such a font,
respectively.
@family_name:
@style:
@variant:
@weight:
@stretch:
@PANGO_STYLE_NORMAL:
@PANGO_STYLE_OBLIQUE:
@PANGO_STYLE_ITALIC:
@PANGO_WEIGHT_NORMAL:
@PANGO_WEIGHT_BOLD:
@PANGO_VARIANT_NORMAL:
@PANGO_VARIANT_SMALL_CAPS:
@PANGO_STRETCH_ULTRA_CONDENSED:
@PANGO_STRETCH_EXTRA_CONDENSED:
@PANGO_STRETCH_CONDENSED:
@PANGO_STRETCH_SEMI_CONDENSED:
@PANGO_STRETCH_NORMAL:
@PANGO_STRETCH_SEMI_EXPANDED:
@PANGO_STRETCH_EXPANDED:
@PANGO_STRETCH_EXTRA_EXPANDED:
@PANGO_STRETCH_ULTRA_EXPANDED:
The #PangoFont structure is used to represent
a font in a rendering-system-independent matter.
To create an implementation of a #PangoFont,
the rendering-system specific code should malloc
a larger structure that contains a nested
#PangoFont, fill in the klass member of
the nested #PangoFont with a pointer to
a appropriate #PangoFontClass, then call
pango_font_init() on the structure.
The #PangoFont structure contains one member
that may be accessed by derived classes:
#PangoFontClass *klass;
a pointer to the class structure
for this font.
@klass:
The PangoFontClass structure contains the virtual
functions for an implementation of a a PangoFont.
It contains the following member:
void (*destroy) (#PangoFont *font);
a function to free the font structure and associated resources.
@klass:
@desc:
@Returns:
@descs:
@n_descs:
@desc:
@font:
@font:
@font:
@font:
@lang:
@ch:
@Returns:
@char:
@font:
@Returns:
@font:
@Returns:
@font:
@key:
@Returns:
@font:
@key:
@data:
@destroy_func:
@fontmap:
@fontmap:
@fontmap:
@fontmap:
@desc:
@size:
@Returns:
@fontmap:
@descs:
@n_descs: