Created attachment 164326 [details] Example Text and Font Some characters are not in their real place if typed in a row (with All standard Persian fonts "B fontName"). Example: U+651 and (U+0627 + U+064B) اتّفاقاً Also for: U+651 and (U+0627 + U+064C) U+651 and (U+0627 + U+064D) *Please check the Attachment Files
Reproduced with 7.0.0 on Windows 10: Version: 7.0.0.3 (x64) Build ID: 8061b3e9204bef6b321a21033174034a5e2ea88e CPU 线程: 2; 操作系统: Windows 10.0 Build 18363; 界面渲染: Skia/点阵; VCL: win Locale: zh-CN (zh_CN); 界面: zh-CN Calc: threaded However it seems to be specific to this font, as changing to other fonts (I've tried Scheherazade and Noto Kufi Arabic, not sure how suitable they are for Persian, though) gives the correct rendering shown in the picture. So not sure if this is a bug in LO or in this font.
Reproducible with 6.4.5: Version: 6.4.5.2 (x64) Build ID: a726b36747cf2001e06b58ad5db1aa3a9a1872d6 CPU threads: 2; OS: Windows 10.0 Build 18363; UI render: default; VCL: win; Locale: zh-CN (zh_CN); UI-Language: en-US Calc: threaded ...but not with 5.2.7: Version: 5.2.7.2 (x64) Build ID: 2b7f1e640c46ceb28adf43ee075a6e8b8439ed10 CPU Threads: 2; OS Version: Windows 6.19; UI Render: default; Locale: zh-CN (zh_CN); Calc: group Harfbuzz related?
No, all fonts that names start with "B " are special for Persian Test and are quite standard. Also, this problem exists only in LibreOfficeWriter and does not exist in MicrosoftWord or gedit or notepad...
Created attachment 164341 [details] other Persian Standard Fonts. "B Nazanin" is official font of Persian universities (thesis).
However, this is a very important problem that needs to be resolved.
This is reported in GitHub repo https://github.com/harfbuzz/harfbuzz/issues/2647
These fonts are essentially broken and depend on undocumented quirks of Windows OpenType implementation. The issue might be fixed in HarfBuzz, but there is nothing to fix in LibreOffice itself.
*** Bug 161153 has been marked as a duplicate of this bug. ***