Value | Meaning |
---|
InvalidPangoAttrType.PANGO_ATTR_INVALID | |
LanguagePangoAttrType.PANGO_ATTR_LANGUAGE | |
FamilyPangoAttrType.PANGO_ATTR_FAMILY | |
StylePangoAttrType.PANGO_ATTR_STYLE | |
WeightPangoAttrType.PANGO_ATTR_WEIGHT | |
VariantPangoAttrType.PANGO_ATTR_VARIANT | |
StretchPangoAttrType.PANGO_ATTR_STRETCH | |
SizePangoAttrType.PANGO_ATTR_SIZE | |
FontDescPangoAttrType.PANGO_ATTR_FONT_DESC | |
ForegroundPangoAttrType.PANGO_ATTR_FOREGROUND | |
BackgroundPangoAttrType.PANGO_ATTR_BACKGROUND | |
UnderlinePangoAttrType.PANGO_ATTR_UNDERLINE | |
StrikethroughPangoAttrType.PANGO_ATTR_STRIKETHROUGH | |
RisePangoAttrType.PANGO_ATTR_RISE | |
ShapePangoAttrType.PANGO_ATTR_SHAPE | |
ScalePangoAttrType.PANGO_ATTR_SCALE | |
FallbackPangoAttrType.PANGO_ATTR_FALLBACK | |
LetterSpacingPangoAttrType.PANGO_ATTR_LETTER_SPACING | |
UnderlineColorPangoAttrType.PANGO_ATTR_UNDERLINE_COLOR | |
StrikethroughColorPangoAttrType.PANGO_ATTR_STRIKETHROUGH_COLOR | |
AbsoluteSizePangoAttrType.PANGO_ATTR_ABSOLUTE_SIZE | |
GravityPangoAttrType.PANGO_ATTR_GRAVITY | |
GravityHintPangoAttrType.PANGO_ATTR_GRAVITY_HINT | |
PangoAttrType: @PANGO_ATTR_INVALID: does not happen @PANGO_ATTR_LANGUAGE: language (#PangoAttrLanguage) @PANGO_ATTR_FAMILY: font family name list (#PangoAttrString) @PANGO_ATTR_STYLE: font slant style (#PangoAttrInt) @PANGO_ATTR_WEIGHT: font weight (#PangoAttrInt) @PANGO_ATTR_VARIANT: font variant (normal or small caps) (#PangoAttrInt) @PANGO_ATTR_STRETCH: font stretch (#PangoAttrInt) @PANGO_ATTR_SIZE: font size in points scaled by %PANGO_SCALE (#PangoAttrInt) @PANGO_ATTR_FONT_DESC: font description (#PangoAttrFontDesc) @PANGO_ATTR_FOREGROUND: foreground color (#PangoAttrColor) @PANGO_ATTR_BACKGROUND: background color (#PangoAttrColor) @PANGO_ATTR_UNDERLINE: whether the text has an underline (#PangoAttrInt) @PANGO_ATTR_STRIKETHROUGH: whether the text is struck-through (#PangoAttrInt) @PANGO_ATTR_RISE: baseline displacement (#PangoAttrInt) @PANGO_ATTR_SHAPE: shape (#PangoAttrShape) @PANGO_ATTR_SCALE: font size scale factor (#PangoAttrFloat) @PANGO_ATTR_FALLBACK: whether fallback is enabled (#PangoAttrInt) @PANGO_ATTR_LETTER_SPACING: letter spacing (#PangoAttrInt) @PANGO_ATTR_UNDERLINE_COLOR: underline color (#PangoAttrColor) @PANGO_ATTR_STRIKETHROUGH_COLOR: strikethrough color (#PangoAttrColor) @PANGO_ATTR_ABSOLUTE_SIZE: font size in pixels scaled by %PANGO_SCALE (#PangoAttrInt) @PANGO_ATTR_GRAVITY: base text gravity (#PangoAttrInt) @PANGO_ATTR_GRAVITY_HINT: gravity hint (#PangoAttrInt)
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.