Enumeration
Pango.AttrType
Description [src]
The PangoAttrType
distinguishes between different types of attributes.
Along with the predefined values, it is possible to allocate additional values for custom attributes using [type_func@attr_type_register]. The predefined values are given below. The type of structure used to store the attribute is listed in parentheses after the description.
Members
Name | Description |
---|---|
PANGO_ATTR_INVALID |
does not happen |
PANGO_ATTR_LANGUAGE |
language ( |
PANGO_ATTR_FAMILY |
font family name list ( |
PANGO_ATTR_STYLE |
font slant style ( |
PANGO_ATTR_WEIGHT |
font weight ( |
PANGO_ATTR_VARIANT |
font variant (normal or small caps) ( |
PANGO_ATTR_STRETCH |
font stretch ( |
PANGO_ATTR_SIZE |
font size in points scaled by |
PANGO_ATTR_FONT_DESC |
font description ( |
PANGO_ATTR_FOREGROUND |
foreground color ( |
PANGO_ATTR_BACKGROUND |
background color ( |
PANGO_ATTR_UNDERLINE |
whether the text has an underline ( |
PANGO_ATTR_STRIKETHROUGH |
whether the text is struck-through ( |
PANGO_ATTR_RISE |
baseline displacement ( |
PANGO_ATTR_SHAPE |
shape ( |
PANGO_ATTR_SCALE |
font size scale factor ( |
PANGO_ATTR_FALLBACK |
whether fallback is enabled ( |
PANGO_ATTR_LETTER_SPACING |
letter spacing ( |
PANGO_ATTR_UNDERLINE_COLOR |
underline color ( |
PANGO_ATTR_STRIKETHROUGH_COLOR |
strikethrough color ( |
PANGO_ATTR_ABSOLUTE_SIZE |
font size in pixels scaled by |
PANGO_ATTR_GRAVITY |
base text gravity ( |
PANGO_ATTR_GRAVITY_HINT |
gravity hint ( |
PANGO_ATTR_FONT_FEATURES |
OpenType font features ( |
PANGO_ATTR_FOREGROUND_ALPHA |
foreground alpha ( |
PANGO_ATTR_BACKGROUND_ALPHA |
background alpha ( |
PANGO_ATTR_ALLOW_BREAKS |
whether breaks are allowed ( |
PANGO_ATTR_SHOW |
how to render invisible characters ( |
PANGO_ATTR_INSERT_HYPHENS |
whether to insert hyphens at intra-word line breaks ( |
PANGO_ATTR_OVERLINE |
whether the text has an overline ( |
PANGO_ATTR_OVERLINE_COLOR |
overline color ( |
Type functions
pango_attr_type_get_name
Fetches the attribute type name.
pango_attr_type_register
Allocate a new attribute type ID.