Skip to main content

Crate egui_system_font_provider

Crate egui_system_font_provider 

Source
Expand description

Load system fonts on demand for characters that the fonts installed in egui lack.

SystemFontProvider is an epaint::text::FontProvider backed by fontique, which uses the operating system’s own font fallback (CoreText, DirectWrite, fontconfig, or Android’s fonts.xml) to find an installed font for a script and locale.

egui_ctx.add_font_provider(std::sync::Arc::new(egui_system_font_provider::SystemFontProvider::new()));

Structs§

SystemFontProvider
Finds installed system fonts for characters that the egui fonts lack.