Bug 364507

Summary: line height is incorrect, font rendering clip
Product: [Applications] konsole Reporter: edA-qa mort-ora-y <eda-qa>
Component: fontAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: NOR    
Version: 15.12.3   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: screenshot of clipped descenders
screenshot of clipped ascii characters
screenshot of completely broken Courier New font

Description edA-qa mort-ora-y 2016-06-19 14:09:29 UTC
The line height is not being calculated correctly resulting in clipped text display. This did not happen in previous versions.

This happens primarily with non-ASCII charactesr that may have high ascent/descent. With some fonts all characters are clipped though.

I consider this a major regression since it's make the terminal unusable with non-ASCII characters.

Reproducible: Always

Steps to Reproduce:
I've attached a rendering sample for this text:

CVT-B ͜ ⦃tr-extr: rational 3bit literal⦄
RESULT ͜ ⦃tr-extr: binary 2bit literal⦄
OP ͜ bit_or

And also one for this text (in this one the ascii is also being clipped, not just the brackets):

edA-qa@silent-red:/src/leaf/file$ line「」                                                                                                                                                               
line「」: command not found
edA-qa@silent-red:/src/leaf/file$
Comment 1 edA-qa mort-ora-y 2016-06-19 14:12:57 UTC
Created attachment 99606 [details]
screenshot of clipped descenders
Comment 2 edA-qa mort-ora-y 2016-06-19 14:13:35 UTC
Created attachment 99607 [details]
screenshot of clipped ascii characters
Comment 3 edA-qa mort-ora-y 2016-06-19 14:14:15 UTC
Created attachment 99608 [details]
screenshot of completely broken Courier New font
Comment 4 edA-qa mort-ora-y 2016-06-19 14:17:48 UTC
A very similar regression happened on the Kate product as well: https://bugs.kde.org/show_bug.cgi?id=335079
Comment 5 Christoph Feck 2016-12-07 19:36:24 UTC

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