Description: Italic Arabic/Persian text is garbled with some fonts like "B Nazanin". This problem does not happen with each and every font. Steps to Reproduce: 1. Open attachment Actual Results: Italic text in the attachment is garbled. If you choose the text and make it a normal text, the problem goes away. "B Nazanin" font is used in the document. Expected Results: Italic text should be rendered correctly, with italic style applied to it. One can make it normal text to see what it should look like. Reproducible: Always User Profile Reset: No Additional Info: Reproducible with the latest LO 25.2 dev master: Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 42f8b7ab7f76676987e5b3aabedffcc3466bcaed CPU threads: 20; OS: Windows 11 X86_64 (10.0 build 22631); UI render: Skia/Vulkan; VCL: win Locale: en-US (en_US); UI: en-US Calc: CL threaded Not reproducible with LO 24.2: Version: 24.2.2.2 (X86_64) / LibreOffice Community Build ID: d56cc158d8a96260b836f100ef4b4ef25d6f1a01 CPU threads: 12; OS: Linux 6.2; UI render: default; VCL: gtk3 Locale: en-US (en_US.UTF-8); UI: en-US Calc: threaded
Created attachment 196538 [details] Italic text with "B Nazanin" font
I couldn't reproduce this issue on Linux. Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: f7fbf6504fd6190187f6e4d092af880ba8c7bf6a CPU threads: 32; OS: Linux 6.8; UI render: Skia/Vulkan; VCL: gtk3 Locale: en-US (en_US.UTF-8); UI: en-US Calc: threaded
Ah, unfortunately the problem is not reproducible in this example after save / reload. I will try to reproduce the problem again.
[Automated Action] NeedInfo-To-Unconfirmed
Created attachment 203877 [details] Screenshot from Writer The bug is reproducible for me with LO 25.8 stable on Windows: Version: 25.8.2.2 (X86_64) Build ID: d401f2107ccab8f924a8e2df40f573aab7605b6f CPU threads: 20; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Raster; VCL: win Locale: en-US (en_US); UI: en-US Calc: CL threaded The problem is only visible on display, and not in the PDF output. If you press Ctrl+a then Ctrl+i, the text becomes visible, and then if you press Ctrl+i again, the text becomes garbled again. Please not that "B Nazanin" comes in two files: Normal (BNAZANIN.TTF) and bold (BNAZANB.TTF), and there is no italic ttf. B Nazanin font, used in the document can be downloaded from here: https://bornaray.com/Content/downloads/fonts/BNAZANIN.rar
(In reply to Hossein from comment #5) > Please not that "B Nazanin" comes in two files: Normal (BNAZANIN.TTF) and > bold (BNAZANB.TTF), and there is no italic ttf. > > B Nazanin font, used in the document can be downloaded from here: > https://bornaray.com/Content/downloads/fonts/BNAZANIN.rar On Windows 11, when trying to open any of the TTFs, it says it's not a valid font file.
(In reply to Buovjaga from comment #6) > (In reply to Hossein from comment #5) > > Please not that "B Nazanin" comes in two files: Normal (BNAZANIN.TTF) and > > bold (BNAZANB.TTF), and there is no italic ttf. > > > > B Nazanin font, used in the document can be downloaded from here: > > https://bornaray.com/Content/downloads/fonts/BNAZANIN.rar > > On Windows 11, when trying to open any of the TTFs, it says it's not a valid > font file. Have you extracted the 91 KB RAR file correctly? I could open the TTF files successfully on both Windows 11 and Linux. They are TTF files with .TTF extension. This is an alternative ZIP download: https://dl.fontchi.com/fonts/b-series/Bnazanin.zip
(In reply to Hossein from comment #7) > (In reply to Buovjaga from comment #6) > > (In reply to Hossein from comment #5) > > > Please not that "B Nazanin" comes in two files: Normal (BNAZANIN.TTF) and > > > bold (BNAZANB.TTF), and there is no italic ttf. > > > > > > B Nazanin font, used in the document can be downloaded from here: > > > https://bornaray.com/Content/downloads/fonts/BNAZANIN.rar > > > > On Windows 11, when trying to open any of the TTFs, it says it's not a valid > > font file. > Have you extracted the 91 KB RAR file correctly? I could open the TTF files > successfully on both Windows 11 and Linux. They are TTF files with .TTF > extension. > > This is an alternative ZIP download: > https://dl.fontchi.com/fonts/b-series/Bnazanin.zip Ah, the failure was only with Windows font viewer, but right-clicking and selecting Install works anyway. But I don't see the issue. Version: 25.8.2.2 (X86_64) Build ID: d401f2107ccab8f924a8e2df40f573aab7605b6f CPU threads: 2; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Raster; VCL: win Locale: en-US (en_US); UI: en-US Calc: threaded Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 620(Build:0) CPU threads: 2; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Raster; VCL: win Locale: en-US (en_US); UI: en-US Calc: threaded