Bug 150724

Summary: Wrong placement of diacritics when setting color for each glyph
Product: LibreOffice Reporter: Hossein <hossein>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: khaled
Priority: medium    
Version: Inherited From OOo   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=71956
https://bugs.documentfoundation.org/show_bug.cgi?id=150726
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 71732, 112810    
Attachments: Writing Allah with colored glyphs, compared to the same text in black

Description Hossein 2022-08-31 15:59:59 UTC
Created attachment 182119 [details]
Writing Allah with colored glyphs, compared to the same text in black

Description:
When writing Arabic text, setting color for each glyph leads to wrong placement of diacritics

Steps to Reproduce:
1. Open the attachment

Actual Results:
Diacritics are placed in wrong positions for the colored text

Expected Results:
Diacritics are placed in correct positions, just like the normal text without coloring

Reproducible: Always

User Profile Reset: Yes

Additional Info:
Reproducible with OpenOffice.org 3.2.1 - OOO320m18 (Build:9502)
https://ftp5.gwdg.de/pub/openoffice/archive/stable/3.2.1/

Reproducible in the latest LO 7.5 Dev master:
Version: 7.5.0.0.alpha0+ / LibreOffice Community
Build ID: fc91d611a231ae6fc498d0ac32944afb72775b95
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 1 ⁨خالد حسني⁩ 2022-08-31 22:02:50 UTC
There are lots of reports about partial formatting affecting kerning, glyph joining, mark positioning. They are all caused by the same underlying issue. They should all be duplicates of bug 61444.

*** This bug has been marked as a duplicate of bug 61444 ***
Comment 2 Eyal Rozenberg 2022-08-31 22:19:13 UTC
It should be noted that:

1. Changing the color of the entire text to "automatic" removes some, but not all, of the differences in rendering.

2. Removing all direct formatting results in the word Allah with two shadda's rendered, one above and one below the superscript-aleef. Khaled, shall I file that as a separate bug?
Comment 3 ⁨خالد حسني⁩ 2022-08-31 22:32:42 UTC
(In reply to Eyal Rozenberg from comment #2)
> It should be noted that:
> 
> 1. Changing the color of the entire text to "automatic" removes some, but
> not all, of the differences in rendering.
> 
> 2. Removing all direct formatting results in the word Allah with two
> shadda's rendered, one above and one below the superscript-aleef. Khaled,
> shall I file that as a separate bug?

Screenshots please.