Function get_font

Source
pub fn get_font(
    identifier: impl AsRef<str>,
    callback: RawFontReceive,
) -> Revertible<impl Fn() + Send + Sync + 'static>
Expand description

Registers a new callback to receive the font with the given identifier.