Bug 105079 - kashida problem in justification of persian and english words in same line
Summary: kashida problem in justification of persian and english words in same line
Status: RESOLVED DUPLICATE of bug 103871
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.1.6.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Kashida-Justification, Tatweel
  Show dependency treegraph
 
Reported: 2017-01-03 20:30 UTC by Hossein Sekhavat
Modified: 2022-08-11 18:05 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot showing bug (50.75 KB, image/png)
2017-01-03 20:31 UTC, Hossein Sekhavat
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hossein Sekhavat 2017-01-03 20:30:25 UTC
Description:
As you can see in the attachment screenshot, justification works correctly when all words of the line are in Persian (first paragraph). But as appeared in first line of second paragraph (second paragraph is same as first but by substitution of one Persian word with an English one), you see that because word "paragraph" is placed in 4th line, we see space character instead of kashida character like below:
بـ  ـرای
and 
نمـ  ـایش
and
مشـ  ـکل

Steps to Reproduce:
1.Write a paragraph with long Persian words (without English words) so that justification needs kashida inside words
2.You should see that justification correctly adds kashida inside words.
3.Add an English word to a line that contains kashida.

Actual Results:  
We see that in the line with English word, space character " " instead of kashida "ـ" is put inside words of justified line.

Expected Results:
Justification should remain correct with kashida in words.


Reproducible: Always

User Profile Reset: No

Additional Info:


User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36
Comment 1 Hossein Sekhavat 2017-01-03 20:31:17 UTC
Created attachment 130125 [details]
Screenshot showing bug
Comment 2 Hossein Sekhavat 2017-01-03 21:00:47 UTC
An interesting point is that if I add a Persian numeric character to a mixed (English+Persian words) line, the kashida characters are correctly shown and the bug is fixed with that line.
Comment 3 Julien Nabet 2017-01-03 21:29:06 UTC
Khaled: noticing https://gerrit.libreoffice.org/#/c/32595/, thought you might be interested in this one.
Comment 4 ⁨خالد حسني⁩ 2017-01-03 22:30:16 UTC
This is already fixed in the upcoming 5.3 release.

*** This bug has been marked as a duplicate of bug 103871 ***