Bug 302520

Summary: Unicode makes line spacing weird with bitmap font
Product: [Applications] konsole Reporter: Luke-Jr <luke-jr+kdebugs>
Component: fontAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED WORKSFORME    
Severity: normal CC: amacfie, lulz, rgpublic, sebastian.englbrecht
Priority: NOR Keywords: investigated, triaged
Version: 2.11.3   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
URL: http://luke.dashjr.org/tmp/screenshots/snapshot85.png
Latest Commit: Version Fixed In:
Bug Depends on: 280896    
Bug Blocks:    

Description Luke-Jr 2012-06-25 17:08:26 UTC
2.8.1 and earlier did not have this problem.

Reproducible: Always
Comment 1 Jekyll Wu 2012-06-26 04:22:41 UTC
Looks like another side effect of the quick & dirty fix for bug 280896.

As a workaround for now, enable Bi-Di text rendering in your konsole profile.
Comment 2 Luke-Jr 2014-02-15 02:42:13 UTC
Any progress? Enabling Bi-Di text rendering made no difference FWIW, although I observe an improvement by *disabling* it...
Comment 3 Kurt Hindenburg 2014-02-28 03:42:44 UTC
Are you able to adjust Profile Settings->Advanced->Line Spacing such that it is usable for you?
Comment 4 John 2014-06-27 16:03:53 UTC
I can confirm this on the newest konsole (2.13.2, KDE 4.13.2). Some lines are positioned incorrectly, and in effect cut off half way vertically. It's always the same lines for example in man pages. Reproducible always with all bitmap fonts I tested with. Enabling Bi-Di text changes the position from too low to too high, which is just as bad. Sufficiently high Line Spacing makes the whole line visible but still not correct. Curiously when moving the text cursor on a bad line, letters left of the cursor position correctly.
Comment 5 John 2014-06-27 16:19:14 UTC
I'm sorry, please ignore the previous comment. My issue has nothing to do with unicode (though that I can also confirm and disabling Bi-Di text helps as mentioned earlier) but with seemingly random lines. It seems last comment in bug 280896 describes it too. Should I open a new bug for it?
Comment 6 Andrew MacFie 2015-04-07 20:54:50 UTC
With the Consolas font I'm seeing this issue, where a non-ascii character on a line will shift nearby text on the same line down and to the right. Disabling bi-di text rendering makes the text shift to the right but not down.
Comment 7 rgpublic 2016-04-27 12:55:00 UTC
Still happens with KDE 15.12.3, KDE Framework 5.18.0, Qt 5.5.1. Disabling bi-di text fixes it completely for me - text is not even moving to the right.
Comment 8 Sebastian 2018-10-30 18:20:51 UTC
Note: I am no maintainer but from the bugsquad.

Hallo guys,

it seems to me that it could be fixed here:
https://bugs.kde.org/show_bug.cgi?id=371687

Unicode printing is totally fine on my system, at least with all I could think to test.

Does the problem you reported still occur for you?
Can you post an example I can try on my system?

System Information:
konsole 17.12.3
kde-plasma-version: 5.12.6
kde-frameworks-version: 5.44.0
qt-version: 5.9.5