Function stb_truetype::is_font
source · pub fn is_font(data: &[u8]) -> bool
Expand 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]) -> bool
Return true
if data
holds a font stored in a format this crate
recognizes, according to its signature in the initial bytes.