Bug 155704 - Part of the text falls out of the box borders for Arabic/Persian text with a fallback font
Summary: Part of the text falls out of the box borders for Arabic/Persian text with a ...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.6.0.0 alpha1+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: RTL-CTL Font-Fallback
  Show dependency treegraph
 
Reported: 2023-06-06 09:49 UTC by Hossein
Modified: 2023-09-30 07:55 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Text box with Persian text and Lohit Devanagari font (13.22 KB, application/vnd.oasis.opendocument.text)
2023-06-06 09:49 UTC, Hossein
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hossein 2023-06-06 09:49:12 UTC
Created attachment 187744 [details]
Text box with Persian text and Lohit Devanagari font

Description:
Part of the text falls out of the box borders for Arabic/Persian text with a fallback font

Steps to Reproduce:
1. Open ODT attachment
2. Click on the text to see the text box borders

Actual Results:
Part of the text falls out of the text box borders. Please note that this is a different issue from tdf#152142:

Bug 152142 - RTL Text sometimes falls out of the text box
https://bugs.documentfoundation.org/show_bug.cgi?id=152142

Expected Results:
Text should remain inside the text box borders, even when a fallback font is used.

Reproducible: Always


User Profile Reset: No


Additional Info:
Reproducible with the latest LO 7.6 dev master:
Version: 7.6.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 244f9cf66bc36f229ccb5712bc8d80166b92266d
CPU threads: 12; OS: Linux 5.19; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

Not reproducible with the LO 7.5 official binaries:
Version: 7.5.1.2 (X86_64) / LibreOffice Community
Build ID: fcbaee479e84c6cd81291587d2ee68cba099e129
CPU threads: 12; OS: Linux 5.19; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: CL threaded
Comment 1 ⁨خالد حسني⁩ 2023-06-07 16:09:32 UTC
I can reproduce with 7.5 as well. It happens only when the font that does not support Arabic is installed, using the name of an existent font does not show the issue.