Function stb_truetype::is_font
source · pub fn is_font(data: &[u8]) -> boolExpand description
Return true if data holds a font stored in a format this crate
recognizes, according to its signature in the initial bytes.
pub fn is_font(data: &[u8]) -> boolReturn true if data holds a font stored in a format this crate
recognizes, according to its signature in the initial bytes.