Simp module

Glyph_Data

structSource

One glyph of a font: its code point, where it sits in the glyph atlas, and its size and advance.

Fields

utf32: u32
glyph_index_within_font: u32
x0: s16
y0: s16
width: u32
height: u32
offset_x: s16
offset_y: s16
ascent: s16
advance: s16
page: *Font_Page

See also