Skip to main content

Font

Type Alias Font 

Source
pub type Font = FontData;
👎Deprecated since 0.6.0:

Old name for this type, use parley::FontData instead.

Aliased Type§

pub struct Font {
    pub data: Blob<u8>,
    pub index: u32,
}

Fields§

§data: Blob<u8>

Blob containing the content of the font file.

§index: u32

Index of the font in a collection, or 0 for a single font.