DocumentServer icon indicating copy to clipboard operation
DocumentServer copied to clipboard

Incorrect represantation of Arabic fonts

Open akram1 opened this issue 8 months ago • 8 comments

This issue is unique.

  • [x] I have used the search tool and did not find an issue describing my bug.

Operating System of DocumentServer

Linux (DEB package)

Version information

8.3.3

Expected Behavior

Correct representation of Arabic Fonts

Actual Behavior

Most of Arabic fonts have incorrect representation specially when doing Italic, only font Noto Naskh is correct Take a look at the picture below. I highlighted the incorrect font. This applied in Document and Presentation. Applying bold, underline... work fine. Either the representation is incorrect or doing Italic render the font incorrectly.

Image

Reproduction Steps

Open Document or Presentation. Switch to Arabic layout and type in Arabic. Change fonts and you will see what I described.

Additional information

akram1 avatar Apr 23 '25 10:04 akram1

Hello @akram1 ! Thank you for report! I can confirm that the problem exists. I created ticket 72696 with your issue. Problem reproduces in Document Server.

ElenaMaaya avatar Apr 24 '25 12:04 ElenaMaaya

OnlyOffice team has made good progress on RTL related issues. I reported 10 real issues, and the team has fixed 6 of them. 4 remain unresolved. This issue (#3215) has stopped me from using OnlyOffice. I hope this issue is resolved quickly. Also, the issue #3123 is very easy to fix. In fact, I reported the issue with the solution. The other issues #3133 and #3212 share the same problem, which is missing object/component RTL/LTR property that mirror the orientation right or left. I hope my explanations help the team to resolve the issues.

akram1 avatar Jun 10 '25 16:06 akram1

Version 9.0 Update : This issue is still present in version 9.0. Some progress made in some fonts however, only 1 out of 9 fonts 9 fonts that support Arabic has no problem. 3 fonts are not working, 8 are not working in Italic mode.

Image

akram1 avatar Jun 20 '25 19:06 akram1

@akram1, thank you for your patience. Our development team is actively working on resolving the reported issue and we are doing our best to find a solution as quickly as possible.

We will keep you informed about any updates.

ElenaMaaya avatar Jun 23 '25 10:06 ElenaMaaya

Update: After some examining the fonts that come with OnlyOffice and my Debian OS. Some Arabic fonts do not have Italic inside the true type font file. For Example, Arial has Regular Arabic and Bold but not Italic. It seems that if OnlyOffice does not find the type script in the font or even it's Bold or Italic, it calls a default font (unknown). I checked Arial font in LibreOffice. It is missing italic, but LibreOffice can do Arial Arabic Italic fine. Maybe the solution is to implement a standard bold, italic functions in OnlyOffice in case they are missing in the font file. If the typescript is missing, it calls a default font of the typescript. Moreover, OnlyOffice should have a unified default font on all applications, which is currently not the case. The default font should be a universal font and widely used such as Arial (the Arabic font above is unkown and is rarely used).

Is there a way to add more fonts. I tried to add more fonts to my Debian OS hoping they show up in OnlyOffice. That did not work. It would be very nice that I can add fonts to OnlyOffice from OnlyOffice UI directly.

akram1 avatar Jul 06 '25 11:07 akram1

Update version 9.0.4: The issues mentioned are still present in version 9.0.4. Please fix them

akram1 avatar Aug 30 '25 17:08 akram1

Update on version 9.1: Bold font is handled correctly. But Italic is still a problem
Here is a table to elaborate more on this issue: Image

akram1 avatar Nov 01 '25 12:11 akram1

Hi, @akram1! Thanks for the update. Yes, we know about the italic problem and are digging into it. We’ll let you know as soon as we have a fix—but for now, we can’t give a precise timeline.

ElenaMaaya avatar Nov 05 '25 09:11 ElenaMaaya