Bug 364236 - font height change breaks rendering, clips bottoms of text, underscores missing
Summary: font height change breaks rendering, clips bottoms of text, underscores missing
Status: RESOLVED DUPLICATE of bug 335079
Alias: None
Product: kate
Classification: Applications
Component: part (show other bugs)
Version: unspecified
Platform: Kubuntu Linux
: NOR major
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-12 12:35 UTC by edA-qa mort-ora-y
Modified: 2016-06-13 21:28 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Clipped text screenshot (6.27 KB, image/png)
2016-06-12 12:36 UTC, edA-qa mort-ora-y
Details
non-clipped, but undesired font (8.47 KB, image/png)
2016-06-12 12:36 UTC, edA-qa mort-ora-y
Details

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