Bug 303129

Summary: Terminus does not look normal in konsole
Product: [Applications] konsole Reporter: Yichao Zhou <broken.zhou>
Component: fontAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED UPSTREAM    
Severity: normal CC: icestar, martin.sandsmark
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: snapshot of the problem.
terminus-font-in-konsole
konsole-terminus.jpeg
xterm-terminus.jpeg
kate-terminus.jpeg

Description Yichao Zhou 2012-07-06 22:17:57 UTC
Actually, there are two problems.  I wrote them in one report.

Reproducible: Always

Steps to Reproduce:
Set your konsole font to terminus.
run "chmod +x asdfasdf"
Actual Results:  
You will find that character "‘’" does not render correctly.  These character are include in terminus according to the author of this font.

Also this line is below the normal position.

This is the mail I contacted the author of terminus.

>>>>>>>>>>>>>>>>>>>>>>>>
Hi.

>     I found some frequent-used characters is lacked in terminus.
>
>    First is "‐", you can get them in "man fonts-conf".
>    Second is "‘’", you can get them in "chmod +x xxxxx" and make sure
> file xxxxx does not exists.

Terminus contains U+2010, U+2018 and U+2019; are they accessible
depends on your terminal emulator, locale and shell. For example, a
Xfce Terminal with CP1251 substitues them with 0x2D, 0x91 and 0x92, and
man/bash work fine (though 0xAD would have been better for hyphen).

In general, with full UTF-8 support, these characters are accessible
directly (0xE2 0x80 0x90, 0xE2 0x80 0x98 and 0xE2 0x80 0x99).
Comment 1 Yichao Zhou 2012-07-06 22:18:25 UTC
Created attachment 72347 [details]
snapshot of the problem.
Comment 2 Jekyll Wu 2012-08-12 11:54:14 UTC
Created attachment 73113 [details]
terminus-font-in-konsole

Thanks for reporting.

I failed to reproduce the problem (see the screenshot). Could you give more information of your setup and more specific instruction on reproducing the problem ?
Comment 3 Jekyll Wu 2012-08-19 14:16:27 UTC
Please provide more information requested in comment #2. Also, please paste the result of "konsole --version" here so that we know the exact version.
Comment 4 Yichao Zhou 2012-08-21 04:37:04 UTC
Sorry,  Recently I just broke my archlinux so I cannot reproduce it now.  I will send feedback when my environment is ready.
Comment 5 Yichao Zhou 2012-10-02 05:55:51 UTC
I think you should use
       LANG=en_US.UTF-8 chmod +x asdfasdf
instead of LANG=en to reproduce.

Everyone use UTF-8...

But this seems not a bug of konsole.  Even in kate, the font is still render incorrect.  But in application such as leafpad, it renders correctly.  QT of fontconfig problem?

Also, I remeber that in ubuntu, it doesn't has such problem? (Maybe this is wrong)
Comment 6 Yichao Zhou 2013-06-02 05:06:13 UTC
Well, do I provide enough information?  I think now I can reproduce bug on almost every platform.
Comment 7 Dmitry Bigunyak 2016-07-14 17:02:27 UTC
I have exactly the same problem and this is a shame the bug has been ignored for such a long time.
I use KDE-4 (4.14.20), konsole-2.14.2, Qt-4.8.6 on my Gentoo system with locale set to "en_US.UTF-8".
The strange thing is that the problem occurs only in konsole (see attachment konsole-terminus.jpeg) , when I use Terminus font (same size 12) in xterm (xterm-terminus.jpeg) or kate (kate-terminus.jpeg) it looks normal.
There is a related bug report to Qt project as well: https://bugreports.qt.io/browse/QTBUG-22599
Comment 8 Dmitry Bigunyak 2016-07-14 17:03:19 UTC
Created attachment 100099 [details]
konsole-terminus.jpeg
Comment 9 Dmitry Bigunyak 2016-07-14 17:03:52 UTC
Created attachment 100100 [details]
xterm-terminus.jpeg
Comment 10 Dmitry Bigunyak 2016-07-14 17:04:20 UTC
Created attachment 100101 [details]
kate-terminus.jpeg
Comment 11 Dmitry Bigunyak 2016-07-14 18:04:18 UTC
The worst thing is that another bug (https://bugs.kde.org/show_bug.cgi?id=349350) doesn't allow us to choose other good monospace fonts in konsole.
Comment 12 Martin Sandsmark 2016-08-13 16:59:49 UTC
As reported in that Qt bug report it is apparently a Terminus bug (same properties in several files if I understand correctly), but it might get a workaround in Qt if someone gets around to it.

Anyways, not a Konsole bug.