| Value | Meaning |
|---|---|
| INVALID0 | does not happen |
| LANGUAGE1 | language ([struct@Pango.AttrLanguage]) |
| FAMILY2 | font family name list ([struct@Pango.AttrString]) |
| STYLE3 | font slant style ([struct@Pango.AttrInt]) |
| WEIGHT4 | font weight ([struct@Pango.AttrInt]) |
| VARIANT5 | font variant (normal or small caps) ([struct@Pango.AttrInt]) |
| STRETCH6 | font stretch ([struct@Pango.AttrInt]) |
| SIZE7 | font size in points scaled by %PANGO_SCALE ([struct@Pango.AttrInt]) |
| FONT_DESC8 | font description ([struct@Pango.AttrFontDesc]) |
| FOREGROUND9 | foreground color ([struct@Pango.AttrColor]) |
| BACKGROUND10 | background color ([struct@Pango.AttrColor]) |
| UNDERLINE11 | whether the text has an underline ([struct@Pango.AttrInt]) |
| STRIKETHROUGH12 | whether the text is struck-through ([struct@Pango.AttrInt]) |
| RISE13 | baseline displacement ([struct@Pango.AttrInt]) |
| SHAPE14 | shape ([struct@Pango.AttrShape]) |
| SCALE15 | font size scale factor ([struct@Pango.AttrFloat]) |
| FALLBACK16 | whether fallback is enabled ([struct@Pango.AttrInt]) |
| LETTER_SPACING17 | letter spacing ([struct@PangoAttrInt]) |
| UNDERLINE_COLOR18 | underline color ([struct@Pango.AttrColor]) |
| STRIKETHROUGH_COLOR19 | strikethrough color ([struct@Pango.AttrColor]) |
| ABSOLUTE_SIZE20 | font size in pixels scaled by %PANGO_SCALE ([struct@Pango.AttrInt]) |
| GRAVITY21 | base text gravity ([struct@Pango.AttrInt]) |
| GRAVITY_HINT22 | gravity hint ([struct@Pango.AttrInt]) |
| FONT_FEATURES23 | OpenType font features ([struct@Pango.AttrString]). Since 1.38 |
| FOREGROUND_ALPHA24 | foreground alpha ([struct@Pango.AttrInt]). Since 1.38 |
| BACKGROUND_ALPHA25 | background alpha ([struct@Pango.AttrInt]). Since 1.38 |
| ALLOW_BREAKS26 | whether breaks are allowed ([struct@Pango.AttrInt]). Since 1.44 |
| SHOW27 | how to render invisible characters ([struct@Pango.AttrInt]). Since 1.44 |
| INSERT_HYPHENS28 | whether to insert hyphens at intra-word line breaks ([struct@Pango.AttrInt]). Since 1.44 |
| OVERLINE29 | whether the text has an overline ([struct@Pango.AttrInt]). Since 1.46 |
| OVERLINE_COLOR30 | overline color ([struct@Pango.AttrColor]). Since 1.46 |
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.