[Bug 161153] Inserting tashdid (a.k.a. shaddah) character (Unicode 0651) breaks or distorts Persian text

2024-05-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=161153

Hossein  changed:

   What|Removed |Added

 Blocks|150285  |


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=150285
[Bug 150285] [META] Problems with Kashida, Justified Arabic/Persian text
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 161153] Inserting tashdid (a.k.a. shaddah) character (Unicode 0651) breaks or distorts Persian text

2024-05-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=161153

Hossein  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #10 from Hossein  ---
This is a duplicate of the tdf#135778, which is essentially a problem with the
"B Nazanin" font itself. Please read Khaled's note in tdf#135778 comment 7:

"These fonts are essentially broken and depend on undocumented quirks of
Windows OpenType implementation. The issue might be fixed in HarfBuzz, but
there is nothing to fix in LibreOffice itself."

It may be possible to provide a workaround in HarfBuzz itself. You can follow
the bug report for HarfBuzz here:

https://github.com/harfbuzz/harfbuzz/issues/2647

Meanwhile, you may use a fixed "B Nazanin" font created by Khaled:

https://github.com/harfbuzz/harfbuzz/files/5093421/BNazanin.2.zip

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

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 161153] Inserting tashdid (a.k.a. shaddah) character (Unicode 0651) breaks or distorts Persian text

2024-05-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=161153

BogdanB  changed:

   What|Removed |Added

 CC||buzea.bog...@libreoffice.or
   ||g
 Blocks||71732, 150285


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=71732
[Bug 71732] [META] Bugs related to text rendering, typography and font features
in LO
https://bugs.documentfoundation.org/show_bug.cgi?id=150285
[Bug 150285] [META] Problems with Kashida, Justified Arabic/Persian text
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 161153] Inserting tashdid (a.k.a. shaddah) character (Unicode 0651) breaks or distorts Persian text

2024-05-19 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=161153

--- Comment #9 from arham.amo...@gmail.com ---
(In reply to ahangarha from comment #8)
> This is my finding.
> 
> I could reproduce the issue on the shared document. The issue is observed
> only when editing that document, meaning that if the user types the same
> text in another document (no copy/paste) there is no issue.
> 
> Someone needs to check for hidden characters in the document, otherwise in
> normal situation, there is no issue even with B Nazanin.

The issue may be related to the presence of diacritics (kasreh, fatheh, etc) in
text. In any text with B Nazanin font and possibly similar fonts, if a sentence
contains a diacritic such as kasreh, inserting a tashdid in the sentence, at
least displaces the diacritic to a wrong position.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 161153] Inserting tashdid (a.k.a. shaddah) character (Unicode 0651) breaks or distorts Persian text

2024-05-19 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=161153

--- Comment #8 from ahangarha  ---
This is my finding.

I could reproduce the issue on the shared document. The issue is observed only
when editing that document, meaning that if the user types the same text in
another document (no copy/paste) there is no issue.

Someone needs to check for hidden characters in the document, otherwise in
normal situation, there is no issue even with B Nazanin.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 161153] Inserting tashdid (a.k.a. shaddah) character (Unicode 0651) breaks or distorts Persian text

2024-05-19 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=161153

--- Comment #7 from ahangarha  ---
On v7.6.6.3 on Ubuntu I have no issue with any font I tried.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 161153] Inserting tashdid (a.k.a. shaddah) character (Unicode 0651) breaks or distorts Persian text

2024-05-17 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=161153

--- Comment #6 from افشین  ---
Persian fonts of the IR series for example "IR Nazanin" also have no problem in
displaying the tashdid character.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 161153] Inserting tashdid (a.k.a. shaddah) character (Unicode 0651) breaks or distorts Persian text

2024-05-17 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=161153

--- Comment #5 from arham.amo...@gmail.com ---
When I change the font of the same document to "Noto Sans Arabic" in Ubuntu,
the tashdid character is always displayed perfectly. So this seems to be a
font-dependent issue.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 161153] Inserting tashdid (a.k.a. shaddah) character (Unicode 0651) breaks or distorts Persian text

2024-05-17 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=161153

افشین  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|UNCONFIRMED |NEW

--- Comment #4 from افشین  ---
I tested too with B Nazanin font and other Persian font (B Mitra) and confirm
this bug.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 161153] Inserting tashdid (a.k.a. shaddah) character (Unicode 0651) breaks or distorts Persian text

2024-05-17 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=161153

arham.amo...@gmail.com changed:

   What|Removed |Added

Summary|Inserting shaddah (a.k.a.   |Inserting tashdid (a.k.a.
   |tashdid) character (unicode |shaddah) character (Unicode
   |0651 )breaks the text   |0651) breaks or distorts
   ||Persian text
 Status|NEEDINFO|UNCONFIRMED
 Ever confirmed|1   |0

--- Comment #3 from arham.amo...@gmail.com ---
ّIn some cases, inserting a tashdid character (Unicode 0651) in a Persian text
breaks it or causes the text to be rendered in a bad way. Since Arabic and
Persian writing systems are very similar, this may also affect Arabic texts.

I have also observed instances where inserting this character does not cause
any problems. I am not certain about the specific conditions that lead to this
issue; however, it appears to be font-dependent.

Thus far, I have encountered this problem in Writer 7.3.7.2 (on Xubuntu 22.04)
and Writer 24.2.2.2 (on Ubuntu 24.04).

When this occurs, pressing Ctrl+Z does not restore the text to its normal
appearance, necessitating a document reload.

The attached file (example.zip) contains a sample Persian document, the font I
have used, and screenshots illustrating the text before and after the insertion
of the tashdid character.

This font is widely used for Persian script, and we do not encounter this issue
in Microsoft Word.

I am willing to conduct any tests you suggest and provide any additional
information required. Thank you for your excellent work!

-- 
You are receiving this mail because:
You are the assignee for the bug.