Trait GlyphClosure

Source
trait GlyphClosure {
    // Required method
    fn closure_glyphs(
        &self,
        ctx: &mut ClosureCtx<'_>,
        lookup_list: &SubstitutionLookupList<'_>,
        lookup_index: u16,
    ) -> Result<(), ReadError>;

    // Provided method
    fn may_have_non_1to1(&self) -> Result<bool, ReadError> { ... }
}
Expand description

A trait for tables which participate in closure

Required Methods§

Source

fn closure_glyphs( &self, ctx: &mut ClosureCtx<'_>, lookup_list: &SubstitutionLookupList<'_>, lookup_index: u16, ) -> Result<(), ReadError>

Update the set of glyphs with any glyphs reachable via substitution.

Provided Methods§

Implementors§