pub fn resolve_font(family: &str) -> Option<ResolvedFont>Expand description
Resolve a font family name to a file path using fontconfig
Attempts resolution in the following order:
- Exact family name match
- “sans” generic family
- Any available font
pub fn resolve_font(family: &str) -> Option<ResolvedFont>Resolve a font family name to a file path using fontconfig
Attempts resolution in the following order: