Type Definition read_fonts::layout::Lookup
source · [−]pub type Lookup<'a, T> = TableRef<'a, LookupMarker<T>>;Expand description
Implementations
sourceimpl<'a, T> Lookup<'a, T>
impl<'a, T> Lookup<'a, T>
sourcepub fn lookup_type(&self) -> u16
pub fn lookup_type(&self) -> u16
Different enumerations for GSUB and GPOS
sourcepub fn lookup_flag(&self) -> u16
pub fn lookup_flag(&self) -> u16
Lookup qualifiers
sourcepub fn sub_table_count(&self) -> u16
pub fn sub_table_count(&self) -> u16
Number of subtables for this lookup
sourcepub fn subtable_offsets(&self) -> &'a [BigEndian<Offset16>]
pub fn subtable_offsets(&self) -> &'a [BigEndian<Offset16>]
Array of offsets to lookup subtables, from beginning of Lookup table
sourcepub fn subtables(&self) -> impl Iterator<Item = Result<T, ReadError>> + 'awhere
T: FontRead<'a>,
pub fn subtables(&self) -> impl Iterator<Item = Result<T, ReadError>> + 'awhere
T: FontRead<'a>,
Attempt to resolve subtable_offsets.
sourcepub fn mark_filtering_set(&self) -> u16
pub fn mark_filtering_set(&self) -> u16
Index (base 0) into GDEF mark glyph sets structure. This field is only present if the USE_MARK_FILTERING_SET lookup flag is set.