Skip to main content

run_width

Function run_width 

Source
pub fn run_width(glyphs: &[PositionedGlyph]) -> f32
Expand description

Width of a shaped run in raster pixels: cumulative advance + the trailing glyph’s offset (which is normally 0; included for correctness when round-2 mark-to-base attachment lands).