Skip to main content

into_subrun

Function into_subrun 

Source
fn into_subrun(
    font: Font,
    text: String,
    glyphs: Vec<ShapedGlyph>,
    upem: u16,
    size_pt: f32,
) -> WordSubRun
Expand description

Single-sub-run packaging when no fallback retry was needed. Skips the rebasing branch: the input glyphs already have cluster offsets relative to local_text (which is the full parent text).