Trait tfm::ligkern::Emitter

source ·
pub trait Emitter {
    // Required methods
    fn emit_character(&mut self, c: char);
    fn emit_kern(&mut self, kern: Scaled);
    fn emit_ligature(&mut self, c: char, original: Rc<str>);
}
Expand description

Implementations of this trait determine how characters, kerns and ligatures are handled when running a lig/kern program.

Required Methods§

source

fn emit_character(&mut self, c: char)

source

fn emit_kern(&mut self, kern: Scaled)

source

fn emit_ligature(&mut self, c: char, original: Rc<str>)

Implementors§