| Summary: | Order of multiple English words separated by Persian "،" separator in a Persian paragraph is not as expected! | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | Reza <saraeygh> |
| Component: | Writer | Assignee: | Not Assigned <libreoffice-bugs> |
| Status: | RESOLVED NOTABUG | ||
| Severity: | trivial | CC: | buzea.bogdan, hossein, khaled, Tex2002ans+LibreOffice |
| Priority: | medium | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Crash report or crash signature: | Regression By: | ||
| Bug Depends on: | |||
| Bug Blocks: | 43808 | ||
| Attachments: |
Three sample sentence describing different situations.
The PDF format of previous attachment. |
||
|
Description
Reza
2023-11-03 19:03:53 UTC
Created attachment 190639 [details]
Three sample sentence describing different situations.
Created attachment 190640 [details]
The PDF format of previous attachment.
Hey Reza, Thanks for the bug report + sample documents. 1. Can you also post your exact info from: - Help > About LibreOffice 2. And can you: - Tell us which exact version of Debian you are using? - - - I also: - Changed this bug from NEW -> UNCONFIRMED. --- UNCONFIRMED is for a fresh, newly reported issue. --- NEW means a 2nd person was able to reproduce your steps/problem, so we know it is an actual issue. - Marked "earliest version" as 7.4.7.2, as you reported in your Reddit thread when you first found this problem. - Marked this as a Right-to-Left issue. --- This should get more eyes on it from the relevant testers/devs/users. :) - - - Note: This bug was originally reported on the LibreOffice subreddit: - https://www.reddit.com/r/libreoffice/comments/17ibbpl/writing_multiple_english_words_separated_by/ There may be more discussion/info there. Here is some of the relevant info: 1. Originally tested on: > Version: 7.4.7.2 / LibreOffice Community > Locale: fa-IR (en_US.UTF-8); UI: en-US and also the 7.6.2 Flatpak. (Both versions had this issue.) 2. Seems to happen in both ODT + DOCX. 3. This Unicode character seems to work correctly: - ؛ = U+061B = ARABIC SEMICOLON but this one DOES NOT: - ، = U+060C = ARABIC COMMA Thanks you for correcting and adding relevant stuffs. My LibreOffice info: Version: 7.6.2.1 (X86_64) / LibreOffice Community Build ID: 56f7684011345957bbf33a7ee678afaf4d2ba333 CPU threads: 4; OS: Linux 6.1; UI render: default; VCL: gtk3 Locale: en-US (en_US.UTF-8); UI: en-US Flatpak Calc: threaded My OS info: OS name: Debian GNU/Linux 12 (bookworm) OS Type: 64-bit GNOME version: 43.6 Windowing system: Wayland Hi. I can confirm this and can reproduce this. This is how Unicode Bidirectional Text Algorithm works, the Arabic comma and semicolon have different didirectional class leading in different behaviour in situations like this. See for how the direction of such text is resolved by the algorithm: https://util.unicode.org/UnicodeJsps/bidi.jsp?a=x%D8%8C+y%0D%0Ax%D8%9B+y&p=RTL So, you are saying what is typed by "CTRL + 7" in Persian layout keyboard is s Arabic comma? What is the solution for my case then? What if I wanna get my expected result? What Unicode character should I use instead of Arabic comma? (In reply to Reza from comment #7) > So, you are saying what is typed by "CTRL + 7" in Persian layout keyboard is > s Arabic comma? > What is the solution for my case then? > What if I wanna get my expected result? What Unicode character should I use > instead of Arabic comma? You already have the solution in your document; using “Right-To-Left Mark”. (In reply to خالد حسني from comment #8) > You already have the solution in your document; using “Right-To-Left Mark”. So, that's it :) Now, is it OK to change the status to "Resolved"? |