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...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help