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
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.
Created attachment 195674 [details] RTL & LTR text boxes with text overlapping edges in Farsi, Hebrew & English Expanded the previous "version" of the example document to more languages and directions - with the problem showing just the same. Also, marked the border around the frame so the overlap is more visibile. Bug manifest with: Version: 24.2.4.2 (X86_64) / LibreOffice Community Build ID: 51a6219feb6075d9a4c46691dcfe0cd9c4fff3c2 CPU threads: 4; OS: Linux 6.6; UI render: default; VCL: gtk3 Locale: en-IL (en_IL); UI: en-US
Bug still manifests with: Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 01e6e4303e5a9966f102e0357fe0354a2f74a1c4 CPU threads: 4; OS: Linux 6.6; UI render: default; VCL: gtk3 Locale: en-IL (en_IL); UI: en-US as well.
Wait a minute... these boxes have Properties > Text Attributes > Spacing to Border of -0.15cm ! So the overlap is actually intended! So, I believe this is not NOTABUG. (Please argue why it is, if you decide to reopen.)