Struct read_fonts::tables::cmap::SubHeader
source · #[repr(C)]#[repr(packed)]pub struct SubHeader {
pub first_code: BigEndian<u16>,
pub entry_count: BigEndian<u16>,
pub id_delta: BigEndian<i16>,
pub id_range_offset: BigEndian<u16>,
}Expand description
Part of Cmap2
Fields§
§first_code: BigEndian<u16>First valid low byte for this SubHeader.
entry_count: BigEndian<u16>Number of valid low bytes for this SubHeader.
id_delta: BigEndian<i16>See text below.
id_range_offset: BigEndian<u16>See text below.
Implementations§
source§impl SubHeader
impl SubHeader
sourcepub fn first_code(&self) -> u16
pub fn first_code(&self) -> u16
First valid low byte for this SubHeader.
sourcepub fn entry_count(&self) -> u16
pub fn entry_count(&self) -> u16
Number of valid low bytes for this SubHeader.
sourcepub fn id_range_offset(&self) -> u16
pub fn id_range_offset(&self) -> u16
See text below.
Trait Implementations§
source§impl FixedSize for SubHeader
impl FixedSize for SubHeader
source§const RAW_BYTE_LEN: usize = 8usize
const RAW_BYTE_LEN: usize = 8usize
The raw size of this type, in bytes. Read more