Skip to main content

SimpleKerning

Trait SimpleKerning 

Source
pub trait SimpleKerning {
    // Required methods
    fn simple_kerning(&self, left: GlyphId, right: GlyphId) -> Option<i32>;
    fn collect_glyphs(
        &self,
        _first_set: &mut U32Set,
        _second_set: &mut U32Set,
        _num_glyphs: u32,
    );
}

Required Methods§

Source

fn simple_kerning(&self, left: GlyphId, right: GlyphId) -> Option<i32>

Source

fn collect_glyphs( &self, _first_set: &mut U32Set, _second_set: &mut U32Set, _num_glyphs: u32, )

Implementations on Foreign Types§

Source§

impl SimpleKerning for Subtable6<'_>

Source§

fn simple_kerning(&self, left: GlyphId, right: GlyphId) -> Option<i32>

Source§

fn collect_glyphs( &self, first_set: &mut U32Set, second_set: &mut U32Set, num_glyphs: u32, )

Source§

impl SimpleKerning for Subtable0<'_>

Source§

fn simple_kerning(&self, left: GlyphId, right: GlyphId) -> Option<i32>

Source§

fn collect_glyphs( &self, first_set: &mut U32Set, second_set: &mut U32Set, _num_glyphs: u32, )

Source§

impl SimpleKerning for Subtable2<'_>

Source§

fn simple_kerning(&self, left: GlyphId, right: GlyphId) -> Option<i32>

Source§

fn collect_glyphs( &self, first_set: &mut U32Set, second_set: &mut U32Set, _num_glyphs: u32, )

Source§

impl SimpleKerning for Subtable3<'_>

Source§

fn simple_kerning(&self, left: GlyphId, right: GlyphId) -> Option<i32>

Source§

fn collect_glyphs( &self, first_set: &mut U32Set, second_set: &mut U32Set, _num_glyphs: u32, )

Source§

impl SimpleKerning for Subtable0<'_>

Source§

fn simple_kerning(&self, left: GlyphId, right: GlyphId) -> Option<i32>

Source§

fn collect_glyphs( &self, first_set: &mut U32Set, second_set: &mut U32Set, _num_glyphs: u32, )

Source§

impl SimpleKerning for Subtable2<'_>

Source§

fn simple_kerning(&self, left: GlyphId, right: GlyphId) -> Option<i32>

Source§

fn collect_glyphs( &self, first_set: &mut U32Set, second_set: &mut U32Set, num_glyphs: u32, )

Implementors§