pub type ttf_t = ttf_file;Expand description
@brief Loaded font structure
This structure contains information about the loaded font, including the character set and their glyphs.
Aliased Type§
#[repr(C)]pub struct ttf_t {
pub nchars: i32,
pub nglyphs: i32,
pub chars: *mut u16,
pub char2glyph: *mut u16,
pub glyphs: *mut ttf_glyph,
pub filename: *const i8,
pub glyf_csum: u32,
pub ubranges: [u32; 6],
pub head: ttf_file__bindgen_ty_1,
pub os2: ttf_file__bindgen_ty_2,
pub names: ttf_file__bindgen_ty_3,
pub hhea: ttf_file__bindgen_ty_4,
}Fields§
§nchars: i32§nglyphs: i32§chars: *mut u16§char2glyph: *mut u16§glyphs: *mut ttf_glyph§filename: *const i8§glyf_csum: u32§ubranges: [u32; 6]§head: ttf_file__bindgen_ty_1§os2: ttf_file__bindgen_ty_2§names: ttf_file__bindgen_ty_3§hhea: ttf_file__bindgen_ty_4