:right-sidebar: True glyph_position_t =================================================================== .. currentmodule:: gi.repository.HarfBuzz .. class:: glyph_position_t(*args, **kwargs) :no-contents-entry: The :obj:`~gi.repository.HarfBuzz.glyph_position_t` is the structure that holds the positions of the glyph in both horizontal and vertical directions. All positions in :obj:`~gi.repository.HarfBuzz.glyph_position_t` are relative to the current point. Fields ------ .. rst-class:: interim-class .. class:: glyph_position_t :no-index: .. attribute:: var .. attribute:: x_advance How much the line advances after drawing this glyph when setting text in horizontal direction. .. attribute:: x_offset How much the glyph moves on the X-axis before drawing it, this should not affect how much the line advances. .. attribute:: y_advance How much the line advances after drawing this glyph when setting text in vertical direction. .. attribute:: y_offset How much the glyph moves on the Y-axis before drawing it, this should not affect how much the line advances.