Tuesday, April 30, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 1534  / 1 Year ago, tue, may 9, 2023, 4:14:12

I successfully write in Arabic.



But there's a problem with symbols like brackets (), <> , and full stops. They are displayed in wrong directions in case of brackets and in wrong place in case of full stop (at the beginning of the line instead the end)



And the another wired problem: when you press the right arrow the cursor moves to left , and when u press left ,cursor moves right.



Sorry , with all my respect to Ubuntu programmers, How you cannot solve this silly problem!


More From » rtl

 Answers
2

  • About []<>{}..etc, I think you mean same case as Stabilizing characters like <>, {} and []


  • Concerning cursor direction, There are two modes:




    1. Logical: Cursor moves as the text is stored in memory.

    2. Visual: Cursor moves as the text is displayed.



    Most user expect to see Visual cursor movement (Like in MS Windows). But not all application have it or use it by default.



    With Logical Cursor Movement, the cursor move as visual in LTR languages but it look like reversed in RTL languages. You should think: Left as Backward and Right as Forward.



    Logical cursor movement was counted by RTL languages users as bug, before implementing visual movement algorithm. Nowadays, GTK/Qt/KDE covers such missing option in applications as Unicode become universal standard. So most applications developed using these kits use visual cursor movement.




    • Gedit uses visual cursor.


    • As I know, LibreOffice (which I think you was aiming to) supports both with Logical as default. To change it:



      Tools → Options → Language Settings → Complex Text Layout → Cursor Control: Movement.





enter image description here



Recommended Readings:




[#27991] Thursday, May 11, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
berlorful

Total Points: 346
Total Questions: 90
Total Answers: 99

Location: Monaco
Member since Tue, Nov 30, 2021
2 Years ago
berlorful questions
Thu, Sep 2, 21, 10:12, 3 Years ago
Sun, May 9, 21, 20:55, 3 Years ago
Mon, Jan 16, 23, 23:19, 1 Year ago
Mon, Aug 29, 22, 05:43, 2 Years ago
;