module shaping::gpossource
Glyph positioning (GPOS): single and pair adjustments, cursive
attachment, marks attached to bases, ligatures and other marks,
contextual and chained contextual lookups, through extensions, applied
as HarfBuzz applies them. Attached glyphs keep what they attach to,
resolved into offsets once every lookup ran (resolve_attachments).
fn position_lookupsource
exp fn position_lookup(c: &var Apply, buffer: &var Buffer, index: u32)
Applies the lookup to every glyph its mask selects.
fn resolve_attachmentssource
exp fn resolve_attachments(buffer: &var Buffer)
Each attached glyph's offset made to follow what it attaches to: cursive ones across the line, marks also along it, less the advances between them (HarfBuzz's propagate_attachment_offsets).