Bug 84845 - Arabic Allignment - end of line point (.) jumps to the right end of line, should be to the left of the line
Summary: Arabic Allignment - end of line point (.) jumps to the right end of line, sho...
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected) release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
Depends on:
Blocks: RTL-CTL
  Show dependency treegraph
Reported: 2014-10-09 15:49 UTC by jpduyx
Modified: 2020-02-25 17:47 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:

end of line point jumps to the wrong side of the line when typing arabic (10.00 KB, application/vnd.oasis.opendocument.text)
2014-10-09 15:49 UTC, jpduyx

Note You need to log in before you can comment on or make changes to this bug.
Description jpduyx 2014-10-09 15:49:11 UTC
Created attachment 107622 [details]
end of line point jumps to the wrong side of the line when typing arabic

Arabic is written from right to left. Normally this goes without any problems in LibreOffice. You select Arabic Keyboard in linux, set the allignment of LibreOffice Writer to 'Right' and start typing (from right to left). 

But when you want to end your sentence with a . (point) this (.) is jumps to the right side of the line, instead of the end of on the line (where the cursor is) at the left side. 

Only when you continue writing letters after the (.) the point will jump back into the tekst to the place where it belongs.
If you end the line with a point, and without any more tekst on that line, the point stays on the wrong side of the line. Writing invisible caracters like [space] after the (.) not help, they will also be written on the wrong side of the line. 

In the  attached example you can see the red-highlighted points on the right.
Comment 1 Joel Madero 2014-10-10 04:23:17 UTC
Jay - thoughts on this one?
Comment 2 Yousuf Philips (jay) (retired) 2014-10-10 05:59:24 UTC
Hi jpduyx,

In addition to setting the text alignment to right, you should also enable CTL support (Tools > Options > Language Settings > Languages > Complex Text Layout) and set the CTL language to Arabic (Saudi Arabia). Once CTL is enabled, you will see RTL and LTR buttons in the formatting toolbar which look like a pen with an arrow. You need to click the RTL button for paragraphs with arabic text, then the periods will appear correctly.

You can find more detailed information about setting this at < http://alefba.us/libreoffice-arabic-persian > though the information is for mac and is slightly outdated.
Comment 3 Geek Squad techsupport 2019-03-13 11:22:04 UTC Comment hidden (spam)
Comment 4 AOL Tech Support 2019-06-03 05:09:23 UTC Comment hidden (spam)
Comment 5 Mary Smith 2019-07-26 08:18:54 UTC Comment hidden (spam)
Comment 6 Martin mathews 2019-08-12 12:33:59 UTC Comment hidden (spam)
Comment 7 william smith 2019-12-09 07:54:57 UTC Comment hidden (spam)
Comment 8 william smith 2019-12-09 07:55:42 UTC Comment hidden (spam)
Comment 9 william smith 2019-12-09 07:56:26 UTC Comment hidden (spam)
Comment 10 Mona Lisa 2020-02-25 07:47:53 UTC Comment hidden (spam)