(*** This bug was imported into bugs.kde.org ***) Package: konsole Version: 1.1 Beta2 (using KDE 2.9.0 2 (3.0 beta2)) Severity: normal Installed from: SPEC files from sources Compiler: gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release) OS: Linux (i586) release 2.2.14-5.0 OS/Compiler notes: konsole cannot find linux font (it displays message that -misc-console... etc. cannot be found (it is visible by xlsfonts and konsole from kde2.x). I found that it could be fixed by commenting out "ugly hack" in konsole.cpp but don't know what was broken by it. (Submitted via bugs.kde.org) (Called from KBugReport dialog)
> Installed from: SPEC files from sources SPEC files are rather unmaintained by try to change in kdebase/kdebase.spec= .in # install the linux console fonts install -d -m 755 $RPM_BUILD_ROOT/usr/X11R6/lib/X11/fonts/misc - install -m 644 konsole/other/*.pcf.gz \ + install -m 644 konsole/fonts/*.pcf.gz \ $RPM_BUILD_ROOT/usr/X11R6/lib/X11/fonts/misc and it should work. :-)
Another idea I got while reading user talk: Is $KDEDIR set? If not does it help if?
W wto 27 sie 2002 19:54 Stephan Binner napisa=B3: >Another idea I got while reading user talk: >Is $KDEDIR set? If not does it help if? It is set. I think things are getting hopeless. I've just install KDE 3.0.3. Linux fon= t=20 is still claimed as missing (although xlsfonts || grep --=20 -misc-console-medium-r-normal--16-160-72-72-c-160-iso10646-1 lists proper font so it undoubtfully exists. Till 3.0.2 I was able to fix the problem using "Console/Regular/15" font=20 selected manually in Konsole (Custom font). Alas it works no more - now=20 Console font has squares instead of frames in Midnight Commander and screen= =20 is messed up (something that was observed when viewing non-ascii file in=20 KDE 3.0). --=20 Micha=B3 Rudolf
>Till 3.0.2 I was able to fix the problem using "Console/Regular/15" font >selected manually in Konsole (Custom font). Alas it works no more - now >Console font has squares instead of frames in Midnight Commander and > screen is messed up (something that was observed when viewing non-ascii > file in KDE 3.0). I did further tests. It seems that qt-3.0.5 breaks unicode font display in= =20 Konsole (there are similar problems as with first kde3.x versions of=20 Konsole). After downgrading to qt-3.0.4 things work again (although other= =20 things don't so I had to downgrade to kde-3.0.2 too). BTW. Qt-3.0.5 doesn't work well with Konsole font also in 3.1beta1 --=20 Micha=B3 Rudolf
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday 28 August 2002 11:17 am Michal Rudolf wrote: > >Till 3.0.2 I was able to fix the problem using "Console/Regular/15" font > >selected manually in Konsole (Custom font). Alas it works no more - now > >Console font has squares instead of frames in Midnight Commander and > > screen is messed up (something that was observed when viewing non-ascii > > file in KDE 3.0). > > I did further tests. It seems that qt-3.0.5 breaks unicode font display in > Konsole (there are similar problems as with first kde3.x versions of > Konsole). After downgrading to qt-3.0.4 things work again (although other > things don't so I had to downgrade to kde-3.0.2 too). > > BTW. Qt-3.0.5 doesn't work well with Konsole font also in 3.1beta1 I have contacted Trolltech about this but they aren't very responsive about= =20 this. Let's try again. Cheers Waldo - --=20 bastian@kde.org | SuSE Labs KDE Developer | bastian@suse.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9bRm9N4pvrENfboIRAkDNAJ4lMTZfzV7K37RIE3mylSevpqo7AACfWj+N 45O3CDyiTXQDdiklFekpdLs=3D =3DFbem -----END PGP SIGNATURE-----
> I think things are getting hopeless. Not until we are running out of ideas what to test :-). With how many DPI runs your screen (what says `xdpyinfo | grep dots')? I just read this funny answer http://groups.google.com/groups?safe=images&ie=ISO-8859-1&as_umsgid=%3Cal0bqh%24q7a%241@news1.xs4all.nl%3E&lr=&hl=en
W pi=B1 6 wrz 2002 10:08 Stephan Binner napisa=B3: >Not until we are running out of ideas what to test :-). With how many DPI > runs your screen (what says `xdpyinfo | grep dots')? I just read this > funny answer > http://groups.google.com/groups?safe=3Dimages&ie=3DISO-8859-1&as_umsgid= =3D%3Cal >0bqh%24q7a%241@news1.xs4all.nl%3E&lr=3D&hl=3Den Well it works with -dpi 90 set although now my 10pt font has size that=20 12pt had at 75dpi. --=20 Micha=B3 Rudolf
For some reason, the font size seems to be adjusted if they are supposed to be 72dpi while X runs at 75dpi, and a KDE application tries to use it. This results in -misc-console-medium-r-normal--16-160-72-72-c-160-iso10646-1 being available to non-KDE-applications and -misc-console-medium-r-normal--15-160-75-75-c-160-iso10646-1 being available for KDE-apllications. (16 * 75/72 == 15) If you can't change the dpi settings, you can patch konsole: sed -e's/-misc-console-medium-r-normal--16-160-72-72-c-160-iso10646-1/-misc-console-medium-r-normal--15-160-75-75-c-160-iso10646-1/'<`which konsole` > ~/bin/konsole chmod u+x ~/bin/konsole (~/bin must be in your path before the KDE directory)
*** Bug 73077 has been marked as a duplicate of this bug. ***
I don't understand why the console font is hard-coded. Simply allow the user to pick what font they want. I notice Unicode is also hard-coded... Both should be removed IMHO.
Created attachment 7367 [details] image shows weird display of the font "Courier 10 pitch" I'm running CVS-HEAD of 2004-06-2? together with Qt 3.3.3. I have tried that konsole patch from #8. Konsole still cannot find that -misc-console-... font nor any other bitmap font (so do other KDE apps) then. However there was some other problem this fixed for me. Missing the 'real' linux Konsole font I use Courier 10 pitch as a replacement. Look at the image to see how this font is displayed. Konsole and also Konqi display that font always slightly italic, and if I choose 'italic' in the font dialog, even more italic. Patched konsole displays the font erectly. Other fonts don't have this anomaly. Also Kolourpaint displays this font correctly. So do other X apps. Maybe this is another problem (for another BR) -- it seemed related somehow.
Created attachment 7368 [details] image shows weird display of the font "Courier 10 pitch" --hopefully second attempt
uploading or showing image attachments seems to fail. Hopefully my descriptions were enough
Created attachment 7427 [details] image shows weird display of the font "Courier 10 pitch" --hopefully with current konqi Konqueror bug #84178 stroke me, but should no longer
KDE 3.5 will have a new Font menu structure; the Linux/Unicode hard-coded fonts have been removed. BR: 100930
Will there be any bitmap fonts in KDE 3.5? It's not just that the Linux font is the nicest looking font for console, it's that anti-aliasing is too slow. Is this an issue of QT removing old X font support?
You can still use the Konsole provided fonts. You have to add them via KControl. See konsole.kde.org for more info. I'll add this to a README and the Handbook before KDE 3.5 is released.
Kurt V.Hindenburg, środa, 30 marca 2005 01:51: >------- Additional Comments From kurt.hindenburg kdemail net 2005-03-30 > You can still use the Konsole provided fonts. You have to > add them via KControl. See konsole.kde.org for more info. I'll add this > to a README and the Handbook before KDE 3.5 is released. Doesn't it make sense to try to do it automatically for users? Breaking what worked in previous versions will certainly make a bad impression, even if it can be finally fixed by reading README and/or handbook.
I agree it would be nice if this was automatic. I'm not sure if it is even possible to do at installation time. Currently, installing kdebase puts the fonts in $KDEDIR/share/fonts
There is some code in startkde that is supposed to setup fonts from there, but I don't know whether it works with client-side/Xft/font-config fonts