Proposal for BiDi in terminal emulators
Eli Zaretskii via Unicode
unicode at unicode.org
Sun Feb 3 10:13:06 CST 2019
> Date: Sun, 3 Feb 2019 01:30:26 +0000
> From: Richard Wordingham via Unicode <unicode at unicode.org>
> Shaping for RTL scripts happens on strings stored in logical order.
> These are then laid out right to left, though the dominant usage of
> the term 'advance width' for right-to-left glyph sequences feels
> perversely different from the use for left to right glyph sequences.
> Passing text in the form of characters in left-to-right order is an
> annoying distraction, presumably forced on you by the attempt to
> maximise compatibility with existing systems.
Actually, you pass the characters to be shaped in logical order, and
then display the produced grapheme clusters in visual order.
More information about the Unicode