Open egmontkob opened 5 years ago
What I can imagine where the lack of this flag is desired is a terminal emulator that does not support combining accents, rather they all occupy their individual cell (resulting in terribly ugly look), along with the expectation that combining accents should visually follow (that is: with RTL text appear on the left of) the base letter. Does the manpage really refer to these?
I could find the Linux console, as well as the Terminology emulator that behave like this, i.e. don't support combining accents at all. Why would someone who cares about relevant scripts pick one of these, rather than one of those many that do support them?
lol. When I wrote that in 2004, we didn't have many, or any, terminal emulators that supported combining characters!
I was lazy to "git blame" that sentence, didn't think it would be that old :) So I take it as confirmed that it's a legacy, no longer accurate statement. Thanks for your input!
Pull-Request please.
fribidi_reorder_line()'s manual says:
Could you please clarify what this "console-based systems" refers to?
Most terminal emulators handle combining characters: they tie them to the character cell containing the base character (the previously received one in the input stream). In such terminal emulators, assuming the terminal itself doesn't do any BiDi, it's the reordered variant with FRIBIDI_FLAG_REORDER_NSM that needs to be output to achieve the desired result.
What I can imagine where the lack of this flag is desired is a terminal emulator that does not support combining accents, rather they all occupy their individual cell (resulting in terribly ugly look), along with the expectation that combining accents should visually follow (that is: with RTL text appear on the left of) the base letter. Does the manpage really refer to these?
I could find the Linux console, as well as the Terminology emulator that behave like this, i.e. don't support combining accents at all. Why would someone who cares about relevant scripts pick one of these, rather than one of those many that do support them?
I suspect that the quoted sentence is a legacy, and refers to a negligible use case within the terminal emulation world, and thus probably deserves to be clarified/revised. (Or did I miss anything fundamental?)