When using the option "Set Character Spacing" in "Properties" section of the sidebar, if the text is Arabic, then kashida is used to stretch the text, and because kashida is placed in wrong places, it causes defect in Arabic/Persian text rendering.
There was an old bug in Arabic/Persian text rendering that created defects, it was fixed before AO 3, then It was recreated when HarfBuzz was used, and it is now fixed in LibreOfffice 5.3. But it seems that there are still issues needed to be fixed.
Bug 35320 - EDITING: Justified problem in arabic
Steps to Reproduce:
1. Open libreoffice Writer or Impress.
2. Type some Arabic/Persian language text like "به نام خدا".
3. Open "Properties" from sidebar.
4. Open "Set Character Spacing" box, then choose "Very Loose".
Wrong placement of kashida causes defect in Arabic/Persian text rendering
kashida should be placed to increase the size of rendered words
User Profile Reset: No
User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0
Created attachment 131617 [details]
Screenshot of defect in LO Writer
Created attachment 131618 [details]
Defect in LO Writer
Created attachment 131619 [details]
Defect in LO Impress
Arch Linux 64-bit, KDE Plasma 5
Build ID: ed0e8f970ff552e75222dc92ed2879aa3b3e5851
CPU threads: 8; OS: Linux 4.9; UI render: default; VCL: kde4;
Locale: fi-FI (fi_FI.UTF-8); Calc: group
Built on March 4th 2016
This does not look like a new issue, can some one test with 5.2 or earlier?
Bug 104921 explains the root of most of these kashida issues. It is bad design decision that has been band-aided all the time instead of fixing the root cause.
Created attachment 131765 [details]
There is this bug in 184.108.40.206 version too.
There is this bug in version 220.127.116.11 too.
I suspect it even goes older than that, even all the way back to the first LibreOffice release.
(In reply to Khaled Hosny from comment #8)
> I suspect it even goes older than that, even all the way back to the first
> LibreOffice release.
Char spacing Very Loose == 6 pts.
Arch Linux 64-bit
Using letter spacing with Arabic script does not make much sense as it breaks the letters. CSS even goes far to require that browsers ignore letter spacing for scripts like Arabic, we probably should do that at some point, if only to prevent users from shooting themselves in the foot.
Some presentation templates use custom letter spacing. This is usually the source of problem. It may work for other languages, but right now, not for languages based on Arabic script.
** Please read this message in its entirety before responding **
To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.
There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.
If you have time, please do the following:
Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/
If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.
Please DO NOT
Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not
appropriate in this case)
If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from http://downloadarchive.documentfoundation.org/libreoffice/old/
2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword
Feel free to come ask questions or to say hello in our QA chat: https://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa
Thank you for helping us make LibreOffice even better for everyone!
I am using Version: 18.104.22.168 and I am still face this problem. I was just copying and pasting a text from the web. I don't find any workaround to solve this problem. I am not using letter spacing anyhow.
Created attachment 149834 [details]
the bug in 22.214.171.124