Bug 369370 - CJK character is rendered with its lower half cutted
Summary: CJK character is rendered with its lower half cutted
Status: RESOLVED DUPLICATE of bug 371687
Alias: None
Product: konsole
Classification: Applications
Component: font (show other bugs)
Version: 15.12.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-26 04:29 UTC by CDnX
Modified: 2016-12-07 19:20 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
captured with ascii and CJK characters. (22.81 KB, image/png)
2016-09-26 04:32 UTC, CDnX
Details
Japanese text is cut off (38.37 KB, image/png)
2016-09-26 05:08 UTC, ntsp
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***