pub fn from_bytes(data: Vec<u8>) -> Self {
        VectorFont(
            rusttype::FontCollection::from_bytes(data)
                .unwrap()
                .into_font()
                .unwrap(),
        )
    }
/// Create a VectorFont from an owned Vec of TTF data
Create a VectorFont from an owned Vec of TTF data
Create a VectorFont from an owned Vec of TTF data
pub fn from_bytes(data: Vec<u8>) -> Self {
        VectorFont(
            rusttype::FontCollection::from_bytes(data)
                .unwrap()
                .into_font()
                .unwrap(),
        )
    }
pub fn from_bytes ( data : Vec < u8 > ) -> Self { VectorFont ( rusttype :: FontCollection :: from_bytes ( data ) . unwrap ( ) . into_font ( ) . unwrap ( ) , ) }
Create a VectorFont from an owned Vec of TTF data
Create a VectorFont from an owned Vec of TTF data
data
Vec<u8>
data
Vec<u8>