pub type Cff2Header<'a> = TableRef<'a, Cff2HeaderMarker>;
Expand description
Compact Font Format (CFF) version 2 table header
Aliased Type§
struct Cff2Header<'a> { /* private fields */ }
Implementations§
Source§impl<'a> Cff2Header<'a>
impl<'a> Cff2Header<'a>
Sourcepub fn major_version(&self) -> u8
pub fn major_version(&self) -> u8
Format major version (set to 2).
Sourcepub fn minor_version(&self) -> u8
pub fn minor_version(&self) -> u8
Format minor version (set to 0).
Sourcepub fn header_size(&self) -> u8
pub fn header_size(&self) -> u8
Header size (bytes).
Sourcepub fn top_dict_length(&self) -> u16
pub fn top_dict_length(&self) -> u16
Length of Top DICT structure in bytes.
Sourcepub fn top_dict_data(&self) -> &'a [u8] ⓘ
pub fn top_dict_data(&self) -> &'a [u8] ⓘ
Data containing the Top DICT.
Sourcepub fn trailing_data(&self) -> &'a [u8] ⓘ
pub fn trailing_data(&self) -> &'a [u8] ⓘ
Remaining table data.