Pango - 1.0: Text Attributes and Markup
docs.gtk.org·2d
Preview
Report Post

Text Attributes and Markup

Attributed text is used in a number of places in Pango. It is used as the input to the itemization process and also when creating a PangoLayout.

Attributes can influence the various stages of the rendering pipeline. For example, font or size attributes will influence the font selection that is happening during itemization, font features and letterspacing attributes will influence shaping, and color or underline attributes will be used for rendering.

Pango uses a simple structs for individual attributes, such as PangoAttrColor or PangoAttrFontDesc. Each attribute has a type, and a start and end inde…

Similar Posts

Loading similar posts...