Function zng::font::unicode_bidi_levels
source ยท pub fn unicode_bidi_levels(
base_direction: LayoutDirection,
line: impl Iterator<Item = TextSegmentKind>,
levels: &mut Vec<Level>,
)
Expand description
Compute initial bidirectional levels of each segment of a line
.
The result is set in levels
.