ui

module pkg::alloy::text::shaping::normalizesource

Normalizing a run's characters as HarfBuzz does for the face (hb-ot-shape-normalize.cc): each character decomposed where the face lacks it and has its parts (or always, for some shapers), marks put in canonical order, then each mark composed with its base where the face has the result; every character given the glyph the face maps it to.

fn normalizesource

exp fn normalize(plan: &Plan, face: &Face, buffer: &var Buffer)

const SPACE_EMsource

exp const SPACE_EM: u32 = 1;

The width of a space character the face may lack, HarfBuzz's space_t.

const SPACE_EM_16source

exp const SPACE_EM_16: u32 = 16;

const SPACE_4_EM_18source

exp const SPACE_4_EM_18: u32 = 17;

const SPACE_PLAINsource

exp const SPACE_PLAIN: u32 = 18;

const SPACE_FIGUREsource

exp const SPACE_FIGURE: u32 = 19;

const SPACE_PUNCTUATIONsource

exp const SPACE_PUNCTUATION: u32 = 20;

const SPACE_NARROWsource

exp const SPACE_NARROW: u32 = 21;