Function ttf_parser::fonts_in_collection[][src]

pub fn fonts_in_collection(data: &[u8]) -> Option<u32>
Expand description

Returns the number of fonts stored in a TrueType font collection.

Returns None if a provided data is not a TrueType font collection.