ttf_parser

Function fonts_in_collection

source
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.