Bug 147717 - Order of words, letter reversed with "character position" rotation, or there is no rotation
Summary: Order of words, letter reversed with "character position" rotation, or there ...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.3.0.3 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: RTL-CTL Character
  Show dependency treegraph
 
Reported: 2022-03-01 20:19 UTC by vaaydayaasra
Modified: 2022-08-06 03:35 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot on LO 7.3.0.3 (62.73 KB, image/png)
2022-03-01 20:25 UTC, vaaydayaasra
Details
ODT document used to generate the screenshot (11.06 KB, application/vnd.oasis.opendocument.text)
2022-03-01 20:25 UTC, vaaydayaasra
Details
Same phenomena, with Hebrew+English text (16.00 KB, application/vnd.oasis.opendocument.text)
2022-08-05 08:58 UTC, Eyal Rozenberg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description vaaydayaasra 2022-03-01 20:19:00 UTC
Description:
Arabic script text is not displayed as expected in LibreOffice Writer 7.3.0.3 when the paragraph is marked as LTR and the text is rotated 90 or 270 degrees. Two separate cases appear:

1) If the paragraph starts with a Latin letter, the whole paragraph is rotated but Arabic letters are in reversed order, turning السلام into مالسلا.

2) If the paragraph starts with an Arabic letter, the Arabic part is not rotated at all whereas any following Latin letters will be.

Marking the paragraphs as RTL reverses the situation: Arabic is displayed correctly but Latin letters are displayed in reverse order or are not rotated at all, depending on whether the first character is an Arabic or a Latin letter. See the attached screenshot, where the first paragraph says "hello السلام عليكم" (Latin first, 90° rotation), the second paragraph "السلام عليكم hello" (Arabic first, 90° rotation) and the third paragraph "hello السلام عليكم" without rotation (looks as expected).

Steps to Reproduce:
1. Open a new Writer document.
2. Write Latin text followed by Arabic (e.g. "hello السلام عليكم") in the same paragraph, then Arabic followed by Latin (e.g. "السلام عليكم hello") in the following paragraph.
3. Select the paragraphs and rotate them by 90 degrees through Character > Position.

Actual Results:
The first paragraph shows Arabic letters in reversed order, the second paragraph does not rotate Arabic text at all.

Expected Results:
Arabic letters should rotate and be displayed in the correct order in both paragraphs.


Reproducible: Always


User Profile Reset: No


OpenGL enabled: Yes

Additional Info:
Version: 7.3.0.3 (x64) / LibreOffice Community
Build ID: 0f246aa12d0eee4a0f7adcefbf7c878fc2238db3
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: fr-FR (fr_FR); UI: fr-FR
Calc: CL
Comment 1 vaaydayaasra 2022-03-01 20:25:09 UTC
Created attachment 178600 [details]
Screenshot on LO 7.3.0.3
Comment 2 vaaydayaasra 2022-03-01 20:25:57 UTC
Created attachment 178601 [details]
ODT document used to generate the screenshot
Comment 3 Eyal Rozenberg 2022-08-05 08:58:40 UTC
Created attachment 181627 [details]
Same phenomena, with Hebrew+English text

Confirmed, and this also happens with Hebrew.