Created attachment 44463 [details]
see the red box
the problem that when you try to do justify to your text you see some kashidas added between words see the picture in the attachment
Created attachment 44464 [details]
Created attachment 44465 [details]
Created attachment 44466 [details]
Generated by libo bootstrap: f67863ca3e
This bug seems to have been fixed in the development version of libo. The PDF needs checking.
the same problem was been solved in the 3.5 versions but in the 4th or 3.6 the problem is returned, i hope that the group resolve this problem because i use the Writer so much
*** Bug 58980 has been marked as a duplicate of this bug. ***
This bug was there since OOo3.0, it just got worse in LO 3.6
*** Bug 62751 has been marked as a duplicate of this bug. ***
I'll take this bug, i've made some experiments and I know how to fix it.
Ahmad H. Al Harthi committed a patch related to this issue.
It has been pushed to "master":
fdo#35320 A fix for Arabic justification problem caused by kashidas
The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
Affected users are encouraged to test the fix and report feedback.
I want to apply this patch but I do not know how to do that.
Anyway I am running Ubuntu and Archlinux. When the patch apply to the source code so I can compile it?
I look after deb or source code in here http://dev-builds.libreoffice.org/daily/ but there was only rpm.
(In reply to comment #10)
> I want to apply this patch but I do not know how to do that.
> Anyway I am running Ubuntu and Archlinux. When the patch apply to the source
> code so I can compile it?
> I look after deb or source code in here
> http://dev-builds.libreoffice.org/daily/ but there was only rpm.
The patch is already in the master, also you can convert those rpm packages to deb using alien (not recommended).
Please test this patch "heavily" with as much fonts as possible, there is still some tuning needed to make it work perfectly.
Thank you Ahmad for your great job.
I'm gonna install fedora and test this with many different fonts.
Would be lovely (if we're confident with the result after testing) to back-port it to -4-0 and close the bug ? :-)
(In reply to comment #14)
> Would be lovely (if we're confident with the result after testing) to
> back-port it to -4-0 and close the bug ? :-)
The problem is 90% solved, there is still one more issue with ligatures (kashidas should not be added to ligatures).
I've a good idea about fixing this, I'll try to make a patch for this next week.
I'll mark this as solved, I've opened a new bug for ligatures problem.
Can we back-port this to 126.96.36.199?
We need a review for this small change to get it in 4.0.x
Created attachment 87698 [details]
PDF file LO 188.8.131.52 ArchLinux
Archlinux Libreoffice Version: 184.108.40.206 the bug is still here.
Created attachment 87699 [details]
ODT file LO 220.127.116.11 ArchLinux
As it mentioned by comment 19 (https://bugs.freedesktop.org/show_bug.cgi?id=35320#c19) it's still not fixed (Ubuntu 13.10, LibreOffice 18.104.22.168).
I've tested the same document on Windows and Linux; there was no problem on Windows. Please note that the problem is Linux specific (or maybe other platforms). Or maybe it's because of the fonts.
(In reply to comment #21)
> I've tested the same document on Windows and Linux; there was no problem on
> Windows. Please note that the problem is Linux specific (or maybe other
> platforms). Or maybe it's because of the fonts.
This bug affects all platforms but with different levels, anyway I'll resume working on it ASAP.
(In reply to comment #22)
> (In reply to comment #21)
> > I've tested the same document on Windows and Linux; there was no problem on
> > Windows. Please note that the problem is Linux specific (or maybe other
> > platforms). Or maybe it's because of the fonts.
> This bug affects all platforms but with different levels, anyway I'll resume
> working on it ASAP.
Thank you so much for your effort Ahmad.
Unfortunately I have to back to Ubuntu 12.04 LTS and LO 22.214.171.124. This problem is really annoying.
Will it be fixed on LO 4.2.4 to reach Ubuntu 14.04 LTS.
(In reply to comment #24)
> Unfortunately I have to back to Ubuntu 12.04 LTS and LO 126.96.36.199. This
> problem is really annoying.
> Will it be fixed on LO 4.2.4 to reach Ubuntu 14.04 LTS.
Would you please tell me which fonts you have the problem with? can you attach a screenshot and an example file?
Created attachment 95820 [details]
ODT and PDF and TTF files are contented in this ZIP file.
(In reply to comment #25)
> Would you please tell me which fonts you have the problem with? can you
> attach a screenshot and an example file?
Thank you for respond.
I attached a zip files includes some ODT and PDF and TTF files.
The situation of B Nazanin font is worse than XB Yas. But the B Nazanin font is the most used font for Persian books an d I need LO to work with all of those (especially B Nazanin) appropriately.
Even XB Yas that is a up to dated font is still have some problem that I highlighted in ODT and PDF files.
Thank you so much for your support.
Is this problem resolved in 4.2? Can we mark as RESOLVED->FIXED?
(In reply to comment #27)
> Is this problem resolved in 4.2? Can we mark as RESOLVED->FIXED?
No, the problem isn't solved yet.
I am moving this back to UNCONFIRMED so that we can get the QA team to confirm it (and set to NEW). REOPENED is only if the bug is currently assigned to a developer, which this one is not.
(In reply to Joel Madero from comment #30)
> I am moving this back to UNCONFIRMED so that we can get the QA team to
> confirm it (and set to NEW). REOPENED is only if the bug is currently
> assigned to a developer, which this one is not.
It is assigned to Ahmad :)
Created attachment 111849 [details]
the problem is solved in OpenOffice
As can be seen here (https://www.libreoffice.org/bugzilla/attachment.cgi?id=111849) the problem is solved in Apache OpenOffice 4.1.1 but not on LibreOffice 188.8.131.52 on Trisquel GNU/Linux using XB YAS Niloofar font.
All other Persian font are also in trouble.
This is not a critical bug - please do not change priority/severity without knowing how QA does it. Moving back to Normal - please don't move it back.
Also how can it be a regression if it was inherited from OOo? What version did it work in and what version is it broken in? If it's inherited - it should not contain "regression" in keyword.
Almost 4 years and still the bug is annoying me. It is really embarrassing. I think if I quit my job and started to learn programming language to fix this problem it would be fixed sooner.
I know I know it is free software and it does not owe me a penny but it is an awkward situation that Linux operation systems has an office suit (the most popular one) which cannot fix a annoying but after this long time.
I know I know this is not a place for complaining but PLEASE SOME ONE DO SOMETHING!!!
If I quit my job, I could have fixed it by now as well. I'm pretty sure that there is no shortage of people who can fix it if they all quit their jobs. What we are lacking is people who can fiz it while keeping their jobs.
@Eman - your comment is entirely unhelpful.
(In reply to Khaled Hosny from comment #38)
Unfortunately you are not smart enough to get my words.
(In reply to Joel Madero from comment #39)
Mr Joel if you invested all your life (job) on this program and now it doesn't do what it supposes to, you'd act like me. I know my comment is unhelpful but I did my best for this bug before as a regular person and now I'm totally frustrated.
And this and previous comments (mine) were my last comment which doesn't include technical info. I'm not gonna argue with you and reply with comments which aren't useful for this bug.
Created attachment 112647 [details]
Bug is not solved in AOO
This problem is not solved in AOO (OpenOffice).
As I know this bug was in LO 3.5 but it was not very bad (It was Like current AOO).
But the condition in LO 3.6 got worse. I think 3.6 was rewritten completely.
I attach a pdf of AOO with this bug. As far as I know AOO never do anything for this bug and the bug on AOO is like what it was on LO 3.5. But it wasn't so bad that we couldn't deal with it. It did the job.
AOO ver: 4.1
Font: XB Yas
Removing 'regression' as per comment 42.
*** Bug 88976 has been marked as a duplicate of this bug. ***
moving it back to the NEW list
This was fixed before, probably in 3
It keeps reappearing.
It is now in 184.108.40.206
Created attachment 122623 [details]
bug in arabic justified text in windows (font:Arabic Typestting)