DocumentServer
DocumentServer copied to clipboard
OnlyOffice document doesn't fully support Khmer Unicode
I try to install "fonts-khmeros"
apt-get install fonts-khmeros
and run
./documentserver-generate-allfonts.sh
But I still cannot see correct Khmer font.
Let see the text in the document
The text should be like this: ប្រាសាទ អង្គរវត្ត ស្ថិតនៅក្នុងប្រទេសកម្ពុជា
DocumentServer version: 5.4.2.46 I use docker image: onlyoffice/documentserver
Hello, @kuyseng. This problem is related to the lack of support for ligatures. Issue 38300 in our private tracker.
@Rita-Bubnova Well noted. Thanks for your reply
@Rita-Bubnova It seems that in order to support ligatures you need to render text in words (or sentences) vs characters. Am I correct in identifying it as the underlying issue?
ONLYOFFICE does not support ligatures. What are ligatures can be read on the internet).
@K0R0L
Thanks for your reply
ONLYOFFICE indeed does not support ligatures. We are looking for ways to fix that so we can support Arabic, Hebrew etc.
I was looking at the code, the root cause seems to me that you render letter by letter. If that is the case there are ways to support ligatures by forcing the proper ligature character from the character map.
Can you please confirm that the root cause is the character-by-character rendering?
Thanks
@ShockwaveNN -- thanks for the label
Can you connect us with a developer who handles rendering? We may be able to support this effort that is preventing RTL
Thanks
@ramezrafla @K0R0L is developer who handles rendering
@ShockwaveNN
Thanks for the quick reply
Looking forward to @K0R0L 's reply
Well, what a bummer.
The bug will be fixed in the next major release
@TatianaKirillova When is the next major release going to be released?
@ItsSunnyMonster Sorry, we don't have exact date but probably around next month, but we cannot guarantee it
DocumentServer v7.2 is released. This issue should be fixed
Feel free to comment or reopen it if you got further questions