Bug 107155 - Kerning is not used when characters have different colors
Summary: Kerning is not used when characters have different colors
Status: RESOLVED DUPLICATE of bug 61444
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.3.2.2 release
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Kerning
  Show dependency treegraph
 
Reported: 2017-04-14 10:25 UTC by morris
Modified: 2021-11-30 10:46 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Test document open in LO Writer 5.2.6.2 This is the expected result. (123.08 KB, image/png)
2017-04-14 10:27 UTC, morris
Details
Test document open in LO Writer 5.3.2.2 This is the UNexpected result. (116.42 KB, image/png)
2017-04-14 10:27 UTC, morris
Details
Font and test document for the bug. (61.54 KB, application/zip)
2017-04-14 10:28 UTC, morris
Details
What you see after step 3 (83.42 KB, image/png)
2017-04-14 10:38 UTC, morris
Details
What you see after step 5 when you display character format dialog (112.18 KB, image/png)
2017-04-14 10:39 UTC, morris
Details
The bug affects the Calc as well (100.28 KB, image/png)
2017-04-18 09:49 UTC, morris
Details

Note You need to log in before you can comment on or make changes to this bug.
Description morris 2017-04-14 10:25:16 UTC
Description:
I have a custom made font. Among some characters there's a heavy use of kerning (by "heavy" I mean that in certain pairs the characters should totally overlap each other).
My latest Writer version was 5.2.6.2, and everything was fine. Recently I installed version 5.3.2.2 just to find out, that my test document displays *very* differently to what I was expecting.

Steps to Reproduce:
1. Start a new document
2. Change font to DominionSymbols
3. Enter characters -% (minus percent)

Now you can see that the characters overlap, creating a banner-like border under a logo

4. Select first character (Home, then Shift+right arrow)
5. Change the character color to red

Now the characters do not overlap anymore - the banner is to the left, and the logo is next to it

6. Change the second character color to red

Now the characters overlap again.


HOWEVER, after step 5 (one character black and one character red) select both characters, and display the Format dialog for them (Format -> Character) - the dialog preview window shows both characters with proper kerning.

Actual Results:  
Kerning is lost when characters have different colors.

Expected Results:
Kerning should be applied despite different character colors.


Reproducible: Always

User Profile Reset: No

Additional Info:


User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36
Comment 1 morris 2017-04-14 10:27:20 UTC
Created attachment 132556 [details]
Test document open in LO Writer 5.2.6.2 This is the expected result.
Comment 2 morris 2017-04-14 10:27:53 UTC
Created attachment 132557 [details]
Test document open in LO Writer 5.3.2.2 This is the UNexpected result.
Comment 3 morris 2017-04-14 10:28:34 UTC
Created attachment 132558 [details]
Font and test document for the bug.
Comment 4 morris 2017-04-14 10:38:09 UTC
Created attachment 132559 [details]
What you see after step 3
Comment 5 morris 2017-04-14 10:39:12 UTC
Created attachment 132560 [details]
What you see after step 5 when you display character format dialog
Comment 6 morris 2017-04-18 09:49:32 UTC
Created attachment 132648 [details]
The bug affects the Calc as well

The bug affects not only the Writer, but also the Calc and the Draw.

1. Start LO Calc
2. Change font to Times New Roman
3. Set size to 256 (for better display)
4. Type letters WA
5. Select either of the letters and change its Language parameter (in the Format->Character dialog)

The kerning is now gone.
Comment 7 Buovjaga 2017-04-27 16:55:09 UTC
Confirmed with document and font.

Khaled: what might be going on?
Comment 8 ⁨خالد حسني⁩ 2017-04-27 18:40:02 UTC
AFAIK, this has always been broken, see bug 61444. I didn’t even know it worked on Windows.
Comment 9 Buovjaga 2017-04-27 18:44:47 UTC
Ok, sorry, I assumed it was due to the changes in 5.3.. closing.

*** This bug has been marked as a duplicate of bug 61444 ***
Comment 10 morris 2017-04-27 19:09:04 UTC
Well, I do not want to be rude, but this is kinda strange to me. Apparently it WORKED in LO 5.2 and got BROKEN in LO 5.3, and you are saying that it is an old bug (like from 4 year ago)? I'm even sure it worked as expected in 2013 (at least in Windows) - whichever LO release was at that time - because I have a screenshot of my test document dated June 19, 2013 and everything is okay (that means the kerning is applied between characters of different colors). You may have a look at it - https://boardgamegeek.com/image/1697334/m-knox?size=original
Comment 11 Buovjaga 2017-04-28 04:54:35 UTC
No, he said he didn't know it worked on Windows. Now that we have unified text rendering across platforms, we have unifiedly broken kerning.