Skip to main content

preview_family

Function preview_family 

Source
pub fn preview_family(
    ctx: &Context,
    role: Role,
    weight: Weight,
) -> Option<FontFamily>
Expand description

The egui family drawing a role’s preview at a weight (set_preview); None until egui’s fonts in use have it (before the first install’s pass).