Function add_font_from_file

Source
pub fn add_font_from_file(
    identifier: impl AsRef<str>,
    file: impl AsRef<Path>,
    font_size: f32,
    config: &mut ImFontConfig,
    callback: RawFontReceive,
) -> Revertible<impl Fn() + Send + Sync + 'static>
Expand description

Adds a font from a file path and sends updates to the callback.