glyph_extents_t#

class glyph_extents_t(*args, **kwargs)#

Glyph extent values, measured in font units.

Note that height is negative, in coordinate systems that grow up.

Fields#

class glyph_extents_t
height#

Distance from the top extremum of the glyph to the bottom extremum.

width#

Distance from the left extremum of the glyph to the right extremum.

x_bearing#

Distance from the x-origin to the left extremum of the glyph.

y_bearing#

Distance from the top extremum of the glyph to the y-origin.