Enumeration
PangoAttrType
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 pango_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 ( |
PANGO_ATTR_LINE_HEIGHT |
Line height factor ( |
PANGO_ATTR_ABSOLUTE_LINE_HEIGHT |
Line height ( |
PANGO_ATTR_TEXT_TRANSFORM |
No description available. |
PANGO_ATTR_WORD |
Override segmentation to classify the range of the attribute as a single word ( |
PANGO_ATTR_SENTENCE |
Override segmentation to classify the range of the attribute as a single sentence ( |
PANGO_ATTR_BASELINE_SHIFT |
Baseline displacement ( |
PANGO_ATTR_FONT_SCALE |
Font-relative size change ( |