pub fn from_bytes(bytes: &'static [u8]) -> Result<Self, &'static str> {
        rusttype::Font::try_from_bytes(bytes)
            .map(|font| Font { inner: font })
            .ok_or("Could not load font from bytes")
    }
/// Read the font from byte stream.
Read the font from byte stream.
Read the font from byte stream .
pub fn from_bytes(bytes: &'static [u8]) -> Result<Self, &'static str> {
        rusttype::Font::try_from_bytes(bytes)
            .map(|font| Font { inner: font })
            .ok_or("Could not load font from bytes")
    }
pub fn from_bytes ( bytes : & ' static [ u8 ] ) -> Result < Self , & ' static str > { rusttype :: Font :: try_from_bytes ( bytes ) . map ( | font | Font { inner : font } ) . ok_or ( " " ) }
Read the font from byte stream.
Read the font from byte stream .
bytes
&'static [u8]