Bug 167488 - Justified Persian/Arabic text goes out of margin when set to LTR
Summary: Justified Persian/Arabic text goes out of margin when set to LTR
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
25.8.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-07-13 10:25 UTC by Hossein
Modified: 2025-07-13 10:37 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
ODT file which shows out of margin text in page 2 (50.01 KB, application/vnd.oasis.opendocument.text)
2025-07-13 10:36 UTC, Hossein
Details
PDF output which shows out of margin text in page 2 (37.83 KB, application/pdf)
2025-07-13 10:37 UTC, Hossein
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hossein 2025-07-13 10:25:07 UTC
Description:
When setting Persian/Arabic paragraph to LTR, sometimes text goes out of margin

Steps to Reproduce:
1. Open attachment attachment 187767 [details] from tdf#155707
2. Go to the start of page 2, second paragraph. This is the paragraph after "RTL - Justified:"
3. Set the paragraph to LTR (you can use left alt+left shift, or appropriate toolbar button)

Actual Results:
Text goes out of margin, on second line after "RTL - Justified:"

Expected Results:
Text should remain inside margins


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: b00dec9132572fe7e9215aad5e9030b242f5b625
CPU threads: 12; OS: Linux 6.2; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 1 Hossein 2025-07-13 10:36:08 UTC
Created attachment 201781 [details]
ODT file which shows out of margin text in page 2

Justified Persian text in an LTR paragraph goes out of margin
Comment 2 Hossein 2025-07-13 10:37:06 UTC
Created attachment 201782 [details]
PDF output which shows out of margin text in page 2