:right-sidebar: True GlyphGeometry =================================================================== .. currentmodule:: gi.repository.Pango .. class:: GlyphGeometry(*args, **kwargs) :no-contents-entry: The ``PangoGlyphGeometry`` structure contains width and positioning information for a single glyph. Note that ``width`` is not guaranteed to be the same as the glyph extents. Kerning and other positioning applied during shaping will affect both the ``width`` and the ``x_offset`` for the glyphs in the glyph string that results from shaping. The information in this struct is intended for rendering the glyphs, as follows: - Assume the current point is (x, y) - Render the current glyph at (x + x_offset, y + y_offset), - Advance the current point to (x + width, y) - Render the next glyph Fields ------ .. rst-class:: interim-class .. class:: GlyphGeometry :no-index: .. attribute:: width The logical width to use for the the character. .. attribute:: x_offset Horizontal offset from nominal character position. .. attribute:: y_offset Vertical offset from nominal character position.