Incorrect represantation of Arabic fonts
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.
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
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.
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.
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.
@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.
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.
Update version 9.0.4: The issues mentioned are still present in version 9.0.4. Please fix them
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:
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.