resolve_embedded_font

Function resolve_embedded_font 

Source
pub fn resolve_embedded_font(user_input: &str) -> Option<&'static EmbeddedFont>
Expand description

Resolve a font by its CSS font-family name.

Returns the matching embedded font metadata if the name exactly matches any of the available css_family entries.

Used during style patching and font validation.