Function ttf_parser::fonts_in_collection [−][src]
pub fn fonts_in_collection(data: &[u8]) -> Option<u32>
Returns the number of fonts stored in a TrueType font collection.
Returns None
if a provided data is not a TrueType font collection.