Skip to main content

parse

Function parse 

Source
pub fn parse(data: &[u8]) -> Option<Face<'_>>
Expand description

Parses a font file (ttf, otf, or the first face of a ttc); unpack WOFF and WOFF 2 with sfnt first.