Skip to main content

font_id

Function font_id 

Source
pub fn font_id(role: Role, weight: Weight, size: f32) -> FontId
Expand description

The font to draw a role’s text at a weight and a size (points).