20 #ifndef ANTKEEPER_TYPE_FONT_METRICS_HPP
21 #define ANTKEEPER_TYPE_FONT_METRICS_HPP
Metrics describing properties of a font.
float max_vertical_advance
Maximum advance height for all glyphs, for vertical layouts.
float underline_position
Vertical position of an underline.
float linespace
Baseline-to-baseline distance, computed as ascent - descent + linegap.
float linegap
Distance that must be placed between two lines of text.
float underline_thickness
Thickness of an underline.
float descent
Negative distance from the baseline to the lowest grid coordinate.
float size
Vertical size of the font.
float ascent
Positive distance from the baseline to the highest or upper grid coordinate.
float max_horizontal_advance
Maximum advance with for all glyphs, for horizontal layouts.