Created attachment 183563 [details]
Diacritics cut off
In Arabic script languages like Arabic, Persian, etc., several diacritics are used; some of them are called 'harakat's. These diacritics are placed above or below the characters depending on their type.
In the last line of a paragraph, for the font size bigger than 150 with Tahoma font, rendering of diacritics below the characters is cut off. This is incorrect rendering.
This problem is limited to the display, as the output is correct, without cut off.
Steps to Reproduce:
In the first page of attachment, there are 3 paragraphs, each one a single line, containing text with font size 150, 151, and 152 respectively. In this case, the diacritics in the 2 last lines are cut off.
In the second page of the attachment, there is only 1 paragraph that is wrapped into 3 lines. The font sizes are equal to the ones in the first page. In this page, only the last line with font size 152 has cut off diacritics.
Mo cut off in the diacritics
User Profile Reset: No
Version: 22.214.171.124.alpha0+ (X86_64) / LibreOffice Community
Build ID: 75b569890a6630bb2a5b727c8567f7ea59ccb62e
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
For more information about diacritics, One may refer to:
* Arabic Diacritic
Created attachment 183564 [details]
Diacritics is not cut off (PDF output)
The PDF output is OK.
Created attachment 183565 [details]
Diacritics cut off (screenshot from the display)
The display is wrong, and the diacritics are cut off
confirm with Version: 126.96.36.199.alpha0+ (X86_64) / LibreOffice Community
Build ID: cfc8a8f5d841b3f84d207196153be67da7f60652
CPU threads: 4; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
and Version 188.8.131.52.alpha0+ (Build ID: efca6f15609322f62a35619619a6d5fe5c9bd5a) - in 4.1 it's different.
Not reproducible with LO 3.5:
Build ID: 7e68ba2-a744ebf-1f241b7-c506db1-7d53735
It is important to add that sometimes (but not always) the cut off goes away when tatweel character (ـ) is removed from the text.