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.