Version: 2.3.3 (using KDE 4.3.4) Compiler: gcc (SUSE Linux) 4.3.2 [gcc-4_3-branch revision 141291] OS: Linux Installed from: openSUSE RPMs Fixed width fonts like Fixed Misc or Fixed Console look horrible since KDE 4.3.4 in Konsole. It looked good like this : http://www.welmers.net/~bastiaan/konsole_bug/good_fonts.png Since 4.3.4: http://www.welmers.net/~bastiaan/konsole_bug/weird_font3.png It is even not fixed width anymore. It also applies to other 'old' fixed width fonts like Misc Console.
> Fixed width fonts like Fixed Misc or Fixed Console look > horrible since KDE 4.3.4 in Konsole. Konsole can only use fixed width fonts (variable width fonts do not show up in the font selector), so the bug must be more specific than that.
Well the problem arises when using Misc Fixed or Misc Console fonts. Misc Fixed is available everywhere I suppose, Misc Console i.e. can be found on http://www.welmers.net/~bastiaan/misc_console_medium.pcf.gz The font already looks bad in the Font Selector example. Now I see the font looks bad at all in every Font Selector in every KDE application. Probably there's something else wrong and not specificly in konsole. In KDE3 applications on the same session the fonts look OK.
> Probably there's something else wrong and not specificly in konsole. Could you check how the font displays in a Gtk application?
In Gimp they are OK, in kde3 applications they are OK.
#1: There are some fixed width fonts which (at some sizes) have different widths when regular and when bold. That seems to be the case here.
In 4.4 beta 2 it is even worse: although you cannot select Misc Fixed size 11 in the Font Selector dialog, you can select it with the Font size slider; it will look like what I attach.
Created attachment 39363 [details] Misc Fixed 11 in 4.4 beta 2
Created attachment 39364 [details] Misc Fixed 11 in 4.4 beta 2 (now the correct screenshot)
I had the same thing happening with openSuSE 11.1, KDE 4.3.4 (downloaded and installed from the openSuSE build repository) and qt 4.6.0 (coming from the same source). The problem affected not only konsole, but also kate. When selecting a font from the font selector that displayed incorrectly, the CPU load of both the aplication itself (i.e. konsole or kate) and the X server drastically increased. For me, a manual (forced) install of the qt 4.5.3 RPM packages coming with KDE 4.3.4 (i.e. effectively replacing all the qt 4.6.0 packages) fixed the problem. So my feeling is that it is not so much a konsole-only issue but an incompatibility between qt 4.6 and KDE 4.3, affecting a couple of KDE applications.
Created attachment 40170 [details] Comparison of konsole 4.4rc1 rendering with other apps I think I'm suffering from this bug too. I'm using 4.4rc1 on openSUSE 11.1 and the font I always use, "Misc Fixed 11" isn't rendered correctly. Kfontview, gnome-terminal, konsole from 4.3.4 and gimp all render it correctly. The attached screenshot shows konsole and some other apps rendering with misc fixed 11.
I recently updated from suse rpms to 4.4 release. the rendering of Misc Fixed also changed for me. Also it is EXTREMELY slow. It takes a couple of seconds to drag the slider that changes font size. Is this a problem of Qt? http://bugreports.qt.nokia.com/browse/QTBUG-7255
*** This bug has been confirmed by popular vote. ***
This is almost certainly a Qt issue.
Is this reproducible with Qt trunk?
Created attachment 41358 [details] distorted font this is how konsole looks for me with the font "misc console" on opensuse-11.2 with kde-4.4.0 and qt-4.6.1. Switching between those fonts is very slow. I have this problem at least since kde 4.3.x. No problems in konsole/kde3.
Created attachment 41394 [details] ttf-inconsolata in use within konsole / KDE SC 4.4.1
Forgot the comment in #16. I'm using 4:4.4.1-0ubuntu1~karmic1~ppa1 with the ttf-inconsolata fixed-width font and the colored output from ls is not good... Just like in vim. Seems to be related to what was said in comment #5.
Same here on openSUSE 11.2 for x86_64 and KDE 4.4.1. No problems until the upgrade from KDE 4.3.5.
It seems that the Qt issue may have been fixed. I've installed a KDE 4.4.2 live cd from http://ftp5.gwdg.de/pub/opensuse/repositories/KDE:/Medias/images/iso/KDE-Four-Live.x86_64-4.4.1-Build10.30.iso in a VirtualBox image. The fixed width font issues described above were easily reproducable in that image. Then I've added the Qt46 repo http://download.opensuse.org/repositories/KDE:/Qt46/openSUSE_11.2/ and updated to Qt 4.6.3+4.6.20100330 from it. That fixed rendering of fixed width fonts such as Misc Fixed.
Created attachment 42433 [details] Screenshot of konsole from KDE SC 4.4.2 Unfortunately, this upgrade did not fix the bug as you can see in the attached screenshot.
Can confirm that this bug still exists in KDE SC 4.4.2, testing in Kubuntu Karmic (9.10) using the KDE 4.4 backports repository. Inconsolata and other fixed-width fonts, when bolded, are cut off within Konsole (both in bash and in vim) and Kate. This makes development somewhat tricky, as many things are bolded by the default syntax highlighter (in C++, for example, literals, comments, and keywords). I think scrolling through a long string literal in a syntax-highlighted source file in vim would be helpful to diagnose this, for someone more familiar with the internals of Qt or Konsole. A feeble attempt to describe it: it looks like some code somewhere is miscalculating the size of the bounding box for bolded text. If I type the lower-case alphabet within a string literal, when I put my cursor on the far left, I can see a-w and the left half of x. As I move the cursor to the right, I uncover the right half of x, y, z, and the close quote. Everything to the left of the cursor shows up fine.
I've resolved the issue: konsole can obviously not handle space characters in font names. I renamed the "misc console" font to "console", and now I'm happy again. I used the fontconfig file below to rename the font: ---begin /etc/local.conf--- <fontconfig> <dir>/usr/share/apps/konsole/fonts</dir> <match target="font"> <test name="family"> <string>Misc Console</string> </test> <edit name="hinting"> <bool>false</bool> </edit> <edit name="family"> <string>Console</string> </edit> </match> <alias> <family>Console</family> <prefer><family>Misc Console</family></prefer> <default><family>monospace</family></default> </alias> </fontconfig> ---end /etc/local.conf---
Another possibility to have a wrong font is not having installed the bitmap font using mkfontdir/mkfontscale/xset fp+.
*** Bug 213455 has been marked as a duplicate of this bug. ***
Created attachment 47809 [details] Misc console rendering in KDE 4 trunk vs. KDE 3
Kfontview displays these fixed bitmap fonts well when you point to a font file for any available size.
In response to comment #19: just upgraded to openSUSE 11.3 and Misc Console's rendering is broken again. All Qt-based apps seem to be affected, not just Konsole.
I can confirm comment #27
Same problem on 11.3 with KDE 4.5.1.
*** Bug 253775 has been marked as a duplicate of this bug. ***