Struct
PangoFontDescription
Description [src]
struct PangoFontDescription {
/* No available fields */
}
A PangoFontDescription
describes a font in an implementation-independent manner.
PangoFontDescription
structures are used both to list what fonts are
available on the system and also for specifying the characteristics of
a font to load.
Instance methods
pango_font_description_better_match
Determines if the style attributes of new_match
are a closer match
for desc
than those of old_match
are, or if old_match
is NULL
,
determines if new_match
is a match at all.
pango_font_description_copy_static
Make a copy of a PangoFontDescription
, but don’t duplicate
allocated fields.
pango_font_description_get_size_is_absolute
Determines whether the size of the font is in points (not absolute) or device units (absolute).
since: 1.8
pango_font_description_merge
Merges the fields that are set in desc_to_merge
into the fields in
desc
.
pango_font_description_merge_static
Merges the fields that are set in desc_to_merge
into the fields in
desc
, without copying allocated fields.
pango_font_description_set_absolute_size
Sets the size field of a font description, in device units.
since: 1.8
pango_font_description_set_family_static
Sets the family name field of a font description, without copying the string.
pango_font_description_set_variations_static
Sets the variations field of a font description.
since: 1.42