Struct FontRasterMetrics
Defined in File font-rasterizer.h
Struct Documentation
-
struct FontRasterMetrics
Owned face metrics in raster pixels for the selected size; design metrics precede grid rounding.
Public Members
-
float ascent = {}
Native ascender above the baseline.
-
float descent = {}
Negative below the baseline.
-
float line_spacing = {}
Recommended baseline-to-baseline advance.
-
float design_ascent = {}
Scaled design metrics before pixel rounding.
-
float design_descent = {}
Scaled design descent, normally negative below baseline.
-
float design_height = {}
Combined ascent-minus-descent scaling before pixel rounding.
-
float underline_position = {}
Positive below the baseline.
-
float underline_thickness = {}
Scaled underline thickness.
-
float x_height = {}
Height of x, or half the line spacing when unavailable.
-
float bitmap_scale = 1
Fixed bitmap strikes may require downscaling in character sizing.
-
bool has_ellipsis = {}
Face maps U+2026 to a glyph.
-
float ascent = {}