pub fn add_font_from_memory(
identifier: impl AsRef<str>,
data: impl AsRef<[u8]>,
font_size: f32,
config: &mut ImFontConfig,
callback: RawFontReceive,
) -> Revertible<impl Fn() + Send + Sync + 'static>Expand description
Adds a font from memory and sends updates to the callback.