Bug 364236

Summary: font height change breaks rendering, clips bottoms of text, underscores missing
Product: [Applications] kate Reporter: edA-qa mort-ora-y <eda-qa>
Component: partAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Clipped text screenshot
non-clipped, but undesired font

Description edA-qa mort-ora-y 2016-06-12 12:35:35 UTC
The calculation of text height is broken again. This is a regression of bug https://bugs.kde.org/show_bug.cgi?id=322765

I have this text:
trace( bit_shl「binary 32bit」( 1, 10 ) )

And in the two screenshots you can see it clipped in one and not the other. Deja Vu Sans, and several Serif fonts work, though some with large line spacing. LIberation Sans is what I used before (it worked in previous versions, as did most fonts after the linked issue was fixed before).

This is a major regression as it basically makes Unicode characters unusable in Kate -- except for some select fonts where they still do.

Reproducible: Always

Steps to Reproduce:
1. Type Text: trace( bit_shl「binary 32bit」( 1, 10 ) )
2. Add lines around it
3. See clipped text
Comment 1 edA-qa mort-ora-y 2016-06-12 12:36:13 UTC
Created attachment 99468 [details]
Clipped text screenshot
Comment 2 edA-qa mort-ora-y 2016-06-12 12:36:41 UTC
Created attachment 99469 [details]
non-clipped, but undesired font
Comment 3 Dominik Haumann 2016-06-13 21:28:06 UTC
Known issue, but there is no fix yet. Would be cool if someone with better knowledge in these languages would find time to look into this.

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