Pango.GlyphVisAttr

Fields

Name

Type

Access

Description

is_cluster_start

int

r/w

set for the first logical glyph in each cluster.

is_color

int

r/w

set if the the font will render this glyph with color.

Methods

None

Details

class Pango.GlyphVisAttr

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.