The attrs array must have one pango.types.LogAttr for
each position in text; if text contains N characters,
it has N+1 positions, including the last position at the
end of the text. text should be an entire paragraph;
logical attributes can't be computed without context
(for example you need to see spaces on either side of
a word to know the word is a word).
Computes a pango.types.LogAttr for each character in text.
The attrs array must have one pango.types.LogAttr for each position in text; if text contains N characters, it has N+1 positions, including the last position at the end of the text. text should be an entire paragraph; logical attributes can't be computed without context (for example you need to see spaces on either side of a word to know the word is a word).