Changes between Version 20 and Version 21 of Ticket #4138, comment 16
- Timestamp:
- 10/28/21 18:57:12 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #4138, comment 16
v20 v21 16 16 My bottom line is that, in my opinion, MC probably needs a programmer who knows the bidi algorithm to fix the column swapping, and the justification of the file names. And I am not sure there are not more issues. Such as locale that put dates, perhaps name of months, in an RTL language. The knowledge of the bidi algorithm will probably help such a programmer ~~deal with~~ control libfribidi ~~API, and what some other components of the terminal might do with that API~~. With the result that MC could provide the right hints for libfribidi where appropriate. And who knows. Perhaps bugs, or needs for modifications ~~of the API~~, will emerge. 17 17 18 Rethinking about what looks to me your persistence to ignore the justification issue. Perhaps you are trying to imply the problem should be solved by smaller, measurable, steps. As if you were saying: let us attempt to solve just the swapping of columns issue that was raised here. Forget, for now, about possible month names in an RTL language. Or have justification of file names in a way that is expected by readers of RTL languages. Hopefully, that will take us to a better position. And then we will see how to continue. In that case, perhaps the first step should be for MC to insert an LTR enforcing artificial character at the end of each column. That is, in each column, and for each line of that column, MC will insert a n RTLenforcing artificial character. Putting that in other words: if today MC has18 Rethinking about what looks to me your persistence to ignore the justification issue. Perhaps you are trying to imply the problem should be solved by smaller, measurable, steps. As if you were saying: let us attempt to solve just the swapping of columns issue that was raised here. Forget, for now, about possible month names in an RTL language. Or have justification of file names in a way that is expected by readers of RTL languages. Hopefully, that will take us to a better position. And then we will see how to continue. In that case, perhaps the first step should be for MC to insert an LTR enforcing artificial character at the end of each column. That is, in each column, and for each line of that column, MC will insert a Left To Right enforcing artificial character. Putting that in other words: if today MC has 19 19 20 20 | XXXXXXXX | XXXXXXXX | XXXXXXXX | 21 21 | XXXXXXXX | XXXXXXXX | XXXXXXXX | 22 22 23 Where X is any character, of any language, including white space. And a bar is the columns separator character , then after the change MC will have23 Where X is any character, of any language, including white space. And a bar is the columns separator character. Then after the change MC will have 24 24 25 25 F | XXXXXXXX F | XXXXXXXX F | XXXXXXXX F | 26 26 F | XXXXXXXX F | XXXXXXXX F | XXXXXXXX F | 27 27 28 where F is the bidi pseudo character to enforce a n LTRdirection. Of course, the Linux console, and any non bidi aware terminal, will get confused by that pseudo bidi character.28 where F is the bidi pseudo character to enforce a Left To Right direction. Of course, the Linux console, and any non bidi aware terminal, will get confused by that pseudo bidi character. 29 29 As I wrote, my bidi knowledge is superficial. And I don’t know MC internals.