module paragraphssource
Laying text out: paragraphs between mandatory breaks, each given its direction and levels by UAX #9 (text_scripts' bidi, else left to right) and shaped in runs of one style and level, then filled into lines in the text's order at UAX #14's opportunities (spaces at a line's end hang past it; a word wider than a line breaks between clusters, and with text_scripts words of Thai, Lao, Khmer and Myanmar between any two graphemes), each line's glyphs put in visual order by their levels (L1, L2), lines stacked by their faces' metrics and aligned on their paragraph's side.
type ParagraphLevelssource
exp type ParagraphLevels = struct
A paragraph's embedding level, and its bytes' levels in runs, each to its end; whether any byte's level may differ from 0.
Fields
exp level: u8exp runs: Vector<LevelRun>exp bidi: bool
type LevelRunsource
exp type LevelRun = struct
Fields
exp end: u64exp level: u8