GlyphVisAttr

class GlyphVisAttr(*args, **kwargs)

A PangoGlyphVisAttr structure communicates information between the shaping and rendering phases.

Currently, it contains cluster start and color information. More attributes may be added in the future.

Clusters are stored in visual order, within the cluster, glyphs are always ordered in logical order, since visual order is meaningless; that is, in Arabic text, accent glyphs follow the glyphs for the base character.

Fields

class GlyphVisAttr
is_cluster_start

Set for the first logical glyph in each cluster.

is_color

Set if the the font will render this glyph with color. Since 1.50