Skip to main content

SubstitutionLookupList

Type Alias SubstitutionLookupList 

Source
pub type SubstitutionLookupList<'a> = SelectedLookupList<'a, SubstitutionLookup<'a>>;
Expand description

The GSUB lookup list selected by the header.

Aliased Type§

pub enum SubstitutionLookupList<'a> {
    Original(LookupList<'a, SubstitutionLookup<'a>>),
    Extended(LookupList2<'a, SubstitutionLookup<'a>>),
}

Variants§

§

Original(LookupList<'a, SubstitutionLookup<'a>>)

A LookupList, with 16-bit offsets.

§

Extended(LookupList2<'a, SubstitutionLookup<'a>>)

A LookupList2, with 32-bit offsets.

Implementations§

Source§

impl SubstitutionLookupList<'_>

Source

pub fn closure_lookups( &self, glyph_set: &IntSet<GlyphId>, lookup_indices: &mut IntSet<u16>, ) -> Result<(), ReadError>