HarfBuzz.glyph_info_t

Fields

Name

Type

Access

Description

cluster

int

r/w

the index of the character in the original text that corresponds to this HarfBuzz.glyph_info_t, or whatever the client passes to HarfBuzz.buffer_add(). More than one HarfBuzz.glyph_info_t can have the same cluster value, if they resulted from the same character (e.g. one to many glyph substitution), and when more than one character gets merged in the same glyph (e.g. many to one glyph substitution) the HarfBuzz.glyph_info_t will have the smallest cluster value of them. By default some characters are merged into the same cluster (e.g. combining marks have the same cluster as their bases) even if they are separate glyphs, HarfBuzz.buffer_set_cluster_level() allow selecting more fine-grained cluster handling.

codepoint

int

r/w

either a Unicode code point (before shaping) or a glyph index (after shaping).

mask

int

r

var1

HarfBuzz.var_int_t

r

var2

HarfBuzz.var_int_t

r

Methods

None

Details

class HarfBuzz.glyph_info_t

The HarfBuzz.glyph_info_t is the structure that holds information about the glyphs and their relation to input text.