Bug 369370

Summary: CJK character is rendered with its lower half cutted
Product: [Applications] konsole Reporter: CDnX <ruby3141>
Component: fontAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED DUPLICATE    
Severity: normal CC: cfeck, hein, ntsp.gm
Priority: NOR    
Version: 15.12.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: captured with ascii and CJK characters.
Japanese text is cut off

Description CDnX 2016-09-26 04:29:57 UTC
(tested in Korean and Japanese, on locale ko_KR.UTF-8)

Reproducible: Always

Steps to Reproduce:
1. Input CJK characters.

Actual Results:  
characters are cutted in half.

Expected Results:  
full character should be rendered.

using kde lts 16.04.1
Comment 1 CDnX 2016-09-26 04:32:18 UTC
Created attachment 101292 [details]
captured with ascii and CJK characters.
Comment 2 CDnX 2016-09-26 05:04:22 UTC
[Update] maybe this is because of the fallback font (right expression?)

i changed the font to D2Coding, the free fixed-width font that includes korean glyph, and this problem solved. so i think, if setted font has no corresponding glyph, konsole find it on fallback font, and using two font occurs this error.
Comment 3 ntsp 2016-09-26 05:08:18 UTC
Created attachment 101293 [details]
Japanese text is cut off

I have the same problem. It's not restricted to Konsole since it happens in Kate/Kwrite as well. See the screenshot.

I'm on KDE Neon.
KDE Plasma Version: 5.7.5
KDE Frameworks Version: 5.26.0
Qt Version: 5.7.0
Comment 4 ntsp 2016-09-26 05:32:59 UTC
I don't know enough to pinpoint the problem, but I can say that various fonts exhibit the issue to varying degrees (some appear to have more "room" separating each line).

I have changed the Kate font to "Noto Sans Mono CJK JP" which solves the problem for my own use case within Kate. The font isn't available through the KDE fonts menu for the "Fixed width" selection so Konsole still looks wrong for me.
Comment 5 Christoph Feck 2016-09-26 21:31:26 UTC
How do non-Qt applications handle font fallback? If we used the height of the tallest character from all fallback fonts, there would be lots of spacing between the lines.
Comment 6 Eike Hein 2016-10-04 09:04:51 UTC
I suggest using Nanum Gothic Coding for Korean.
Comment 7 Christoph Feck 2016-12-07 19:20:17 UTC

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