Skip to main content

select_font

Function select_font 

Source
pub fn select_font(
    family: &FamilyProto,
    preferred_style: FontStyle,
    preferred_weight: i32,
) -> Option<&FontProto>
Expand description

Select the best matching font from a family given style and weight preferences.