HarfBuzz.glyph_position_t

Fields

Name

Type

Access

Description

var

HarfBuzz.var_int_t

r

x_advance

int

r/w

how much the line advances after drawing this glyph when setting text in horizontal direction.

x_offset

int

r/w

how much the glyph moves on the X-axis before drawing it, this should not affect how much the line advances.

y_advance

int

r/w

how much the line advances after drawing this glyph when setting text in vertical direction.

y_offset

int

r/w

how much the glyph moves on the Y-axis before drawing it, this should not affect how much the line advances.

Methods

None

Details

class HarfBuzz.glyph_position_t

The HarfBuzz.glyph_position_t is the structure that holds the positions of the glyph in both horizontal and vertical directions. All positions in HarfBuzz.glyph_position_t are relative to the current point.