Skip to main content

fonts

Function fonts 

Source
pub fn fonts() -> &'static [FontAsset]
Expand description

Returns every embedded FontAsset from enabled packs.

Register these fonts with your GUI toolkit (for example egui FontDefinitions or iced Font) before drawing glyphs from try_icon.