Bug 464836

Summary: Kate shows some characters with the wrong diacritics for Romanian language
Product: [Applications] kate Reporter: John <ilikefoss>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED DOWNSTREAM    
Severity: normal CC: ilikefoss, nate
Priority: NOR    
Version First Reported In: 22.12.1   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Lowercase and uppercase t with Comma below look like they have a Cedilla below

Description John 2023-01-26 02:40:09 UTC
Created attachment 155648 [details]
Lowercase and uppercase t with Comma below look like they have a Cedilla below

SUMMARY
***
Kate shows the some characters with the wrong diacritics for Romanian language
***


STEPS TO REPRODUCE
1. Add a Romanian layout with a Romanian (standard) variant
2. Open Kate
3.  On row 1, type: ș Ș
4.  On row 2, type: ț Ț

OBSERVED RESULT
The lowercase and uppercase "ț" character  has something that looks like a Cedilla below.
https://en.wikipedia.org/wiki/Cedilla
Like this:
https://unicodeplus.com/U+0163
https://unicodeplus.com/U+0162

EXPECTED RESULT
The lowercase and uppercase "ț" character should should use something that looks like a Comma below, similar to the "ș" character.
Like this:
https://unicodeplus.com/U+021B
https://unicodeplus.com/U+021A

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
KDE Plasma Version: 5.26.90
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
Tested on latest version of KDE Neon (neon-testing-20230124-0252.iso), fully updated, on Wayland.
Romanian keyboard layout:
https://en.wikipedia.org/wiki/Romanian_keyboard_layout

The problem seems to be only visual.
I copied and pasted the typed characters and they are indeed t with comma below as they should, confirmed by Unicode testing sites and by looking correctly in Firefox.
Comment 1 John 2023-01-28 06:34:49 UTC
Changing to another font, like Monospace, Courier 10 Pitch, DejaVu Sans Mono, Liberation Mono, Nimbus Mono PS, Noto Mono, Noto Sans SignWritinng fixes the problem the problem.

So it seems that only the default Hack font has this problem with this character in both lowercase and uppercase versions.
Comment 2 Nate Graham 2023-01-28 14:45:37 UTC
Seems like a bug in the Hack font, not a bug in Kate. I'd recommend you report it here: https://github.com/source-foundry/Hack/issues