20 #ifndef ANTKEEPER_TYPE_GLYPH_METRICS_HPP
21 #define ANTKEEPER_TYPE_GLYPH_METRICS_HPP
Metrics describing properties of a glyph.
float height
Vertical extent of the glyph.
float vertical_advance
Distance to move the pen position after the glyph has been rendered, in vertical layouts.
math::fvec2 vertical_bearing
Offset from the pen position to the glph's top-left edge, in vertical layouts.
float width
Horizontal extent of the glyph.
math::fvec2 horizontal_bearing
Offset from the pen position to the glyph's top-left edge, in horizontal layouts.
float horizontal_advance
Distance to move the pen position after the glyph has been rendered, in horizontal layouts.