pub fn from_bytes(bytes: Vec<u8>) -> Arc<CanvasFontFace> {
        // Pin the data for this font face
        let data = bytes.into_boxed_slice();
        Arc::new(Self::from_pinned(Arc::new(data.into()), 0))
    }
///
/// Creates a new font by loading the fonts from a byte array
///
Creates a new font by loading the fonts from a byte array
Creates a new font by loading the fonts from a byte array
pub fn from_bytes(bytes: Vec<u8>) -> Arc<CanvasFontFace> {
        // Pin the data for this font face
        let data = bytes.into_boxed_slice();
        Arc::new(Self::from_pinned(Arc::new(data.into()), 0))
    }
pub fn from_bytes ( bytes : Vec < u8 > ) -> Arc < CanvasFontFace > { // Pin the data for this font face let data = bytes . into_boxed_slice ( ) ; Arc :: new ( Self :: from_pinned ( Arc :: new ( data . into ( ) ) , 0 ) ) }
Creates a new font by loading the fonts from a byte array
Creates a new font by loading the fonts from a byte array
bytes
Vec<u8>