Function zng_ext_font::unicode_bidi_sort

source ยท
pub fn unicode_bidi_sort(
    base_direction: LayoutDirection,
    line: impl Iterator<Item = (TextSegmentKind, BidiLevel)>,
    idx_offset: usize,
    sort_map: &mut Vec<usize>,
)
Expand description

Compute a map of segments in line to their final LTR display order.

The result is set in sort_map.