| Value | Meaning |
|---|---|
| INVALID0 | does not happen |
| LANGUAGE1 | language (PangoAttrLanguage) |
| FAMILY2 | font family name list (PangoAttrString) |
| STYLE3 | font slant style (PangoAttrInt) |
| WEIGHT4 | font weight (PangoAttrInt) |
| VARIANT5 | font variant (normal or small caps) (PangoAttrInt) |
| STRETCH6 | font stretch (PangoAttrInt) |
| SIZE7 | font size in points scaled by PANGO_SCALE (PangoAttrInt) |
| FONT_DESC8 | font description (PangoAttrFontDesc) |
| FOREGROUND9 | foreground color (PangoAttrColor) |
| BACKGROUND10 | background color (PangoAttrColor) |
| UNDERLINE11 | whether the text has an underline (PangoAttrInt) |
| STRIKETHROUGH12 | whether the text is struck-through (PangoAttrInt) |
| RISE13 | baseline displacement (PangoAttrInt) |
| SHAPE14 | shape (PangoAttrShape) |
| SCALE15 | font size scale factor (PangoAttrFloat) |
| FALLBACK16 | whether fallback is enabled (PangoAttrInt) |
| LETTER_SPACING17 | letter spacing (PangoAttrInt) |
| UNDERLINE_COLOR18 | underline color (PangoAttrColor) |
| STRIKETHROUGH_COLOR19 | strikethrough color (PangoAttrColor) |
| ABSOLUTE_SIZE20 | font size in pixels scaled by PANGO_SCALE (PangoAttrInt) |
| GRAVITY21 | base text gravity (PangoAttrInt) |
| GRAVITY_HINT22 | gravity hint (PangoAttrInt) |
| FONT_FEATURES23 | OpenType font features (PangoAttrString). Since 1.38 |
| FOREGROUND_ALPHA24 | foreground alpha (PangoAttrInt). Since 1.38 |
| BACKGROUND_ALPHA25 | background alpha (PangoAttrInt). Since 1.38 |
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.