Skip to main content

FamilyComposer

Type Alias FamilyComposer 

Source
pub type FamilyComposer = Arc<dyn Fn(FontWeight, FontStyle) -> Vec<ComposedFace> + Send + Sync>;
Expand description

The faces a composed family draws text of a weight and style with, in the order they are tried for a character: the first that covers it draws it. Empty when the family has no face for that text (yet).

Aliased Typeยง

pub struct FamilyComposer { /* private fields */ }