Function core_text::font::new_from_buffer[][src]

pub fn new_from_buffer(buffer: &[u8]) -> Result<CTFont, ()>