Function lux::font::load_atlas [] [src]

pub fn load_atlas(image: &[u8], metadata: &[u8]) -> Result<RenderedFont<DynamicImage>, DecodingError>

Load the image portion of a font atlas from a slice of bytes, and the metadata portion from a slice.