PangoAttrType
Distinguishes between different types of attributes. Along with the predefined values, it is possible to allocate additional values for custom attributes using 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.
Value | Symbolic name | Description |
  0 | Pango::ATTR_INVALID | |
  1 | Pango::ATTR_LANGUAGE | Language (PangoAttrLanguage). |
  2 | Pango::ATTR_FAMILY | Font family name list (PangoAttrString). |
  3 | Pango::ATTR_STYLE | Font slant style (PangoAttrInt). |
  4 | Pango::ATTR_WEIGHT | Font weight (PangoAttrInt). |
  5 | Pango::ATTR_VARIANT | Font variant (normal or small caps) (PangoAttrInt). |
  6 | Pango::ATTR_STRETCH | Font stretch (PangoAttrInt). |
  7 | Pango::ATTR_SIZE | Font size in points divided by PANGO_SCALE (PangoAttrInt). |
  8 | Pango::ATTR_FONT_DESC | Font description (PangoAttrFontDesc). |
  9 | Pango::ATTR_FOREGROUND | Foreground color (PangoAttrColor). |
  10 | Pango::ATTR_BACKGROUND | Background color (PangoAttrColor). |
  11 | Pango::ATTR_UNDERLINE | Whether the text has an underline (PangoAttrInt). |
  12 | Pango::ATTR_STRIKETHROUGH | Whether the text is struck-through (PangoAttrInt). |
  13 | Pango::ATTR_RISE | Baseline displacement (PangoAttrInt). |
  14 | Pango::ATTR_SHAPE | Shape (PangoAttrShape). |
  15 | Pango::ATTR_SCALE | Font size scale factor (PangoAttrScale). |
  16 | Pango::ATTR_FALLBACK | Whether fallback is enabled (PangoAttrInt). |
  17 | Pango::ATTR_LETTER_SPACING | |
  18 | Pango::ATTR_UNDERLINE_COLOR | |
  19 | Pango::ATTR_STRIKETHROUGH_COLOR | |
  20 | Pango::ATTR_ABSOLUTE_SIZE |