Skip to main content

FontData

Type Alias FontData 

Source
pub type FontData = Arc<dyn AsRef<[u8]> + Send + Sync>;
Expand description

Font file bytes however the host owns them: an owned buffer, or a memory-mapped file from a system-font source — faces only ever read.

Aliased Type§

pub struct FontData { /* private fields */ }