Bug 76770 - Linux font not displayed in konsole
Summary: Linux font not displayed in konsole
Status: RESOLVED NOT A BUG
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 1.3
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-05 00:06 UTC by mrudolf
Modified: 2005-03-29 06:42 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mrudolf 2004-03-05 00:06:41 UTC
Version:           1.3 (using KDE 3.2.0, Mandrake Linux Cooker i586 - Cooker)
Compiler:          gcc version 3.3.1 (Mandrake Linux 9.2 3.3.1-2mdk)
OS:          Linux (i686) release 2.4.22-10mdk

Linux font not displayed in konsole. Standard message about missing font

-misc-console-medium-r-normal--16-160-72-72-c-80-iso10646-1

is displayed when selecting Font->Linux.

Surpisingly, when Konsole is started with default Linux font, reported missing font is:

-misc-fixed-medium-r-normal--15-140-75-75-c-90-iso10646-1

Font misc-console is installed:
xlsfonts| grep misc-console
-misc-console-medium-r-normal--0-0-72-72-c-0-iso10646-1
-misc-console-medium-r-normal--16-160-72-72-c-80-iso10646-1
-misc-console-medium-r-normal--8-80-72-72-c-80-iso10646-1

Linux handling in Konsole really puzzles me. Almost each new KDE version changes Konsole behaviour here. Sometimes font is found, sometimes it isn't, sometimes it can be selected manually (misc->console), sometimes not. What is really strange is that bug reappears all the time.

In KDE 3.2, it isn't possible to select any font except fixed, so Konsole is barely usable.

BTW. Another annoying thing is error message, pointing to README.linux.console which:
a) is 4 years old
b) is not available in KDE binary packages
c) contains no useful information about the problem.
Comment 1 Stephan Binner 2004-03-05 20:54:46 UTC
> Almost each new KDE version changes Konsole behaviour here.

This should read almost each new Qt version.

> In KDE 3.2, it isn't possible to select any font except fixed

This is wrong. It may depend on your used Qt version.
Comment 2 mrudolf 2004-03-10 21:47:55 UTC
Stephan Binner,   piÄ…, 5 marca 2004 20:54:
>> Almost each new KDE version changes Konsole behaviour here.
>This should read almost each new Qt version.
I know, I know...

>> In KDE 3.2, it isn't possible to select any font except fixed
>This is wrong. It may depend on your used Qt version.
Well, it seems that I detected the reason: Konsole/Qt doesn't work well with 
unaliased font. When antialiasing is off in Qt, Konsole doesn't see Linux 
font (as well as any other font in "Custom") although it is still listed by 
xlsfonts.

I don't know if this is a bug or a feature. I finally managed to configure 
antialiasing (by disabling it in most case for standard-size font) so I won't 
complain anymore - unless next version of Qt again changes something ;-)

Comment 3 Andrey Cherepanov 2004-04-01 10:36:10 UTC
XFree need font 'fixed' in all cases. Why you define in console.cpp and console_part.cpp font '-misc-console-medium-r-normal--16-160-72-72-c-80-iso10646-1'? I remove this font and redefine alias for 'fixed'. There is Andale Mono font in my Konsole settings, but on each start I see annoying dialog about absent of -misc-console-...! Why konsole use this font, if I have Andale Mono and fixed these installed properly? Please, replace in source your defined fonts on 'fixed'. It will be true Unix way!
Comment 4 mrudolf 2004-04-01 10:40:58 UTC
Andrey S.Cherepanov,   czw, 1 kwietnia 2004 10:36:

>XFree need font 'fixed' in all cases. Why you define in console.cpp and
> console_part.cpp font
> '-misc-console-medium-r-normal--16-160-72-72-c-80-iso10646-1'? I remove
> this font and redefine alias for 'fixed'. There is Andale Mono font in my
> Konsole settings, but on each start I see annoying dialog about absent of
> -misc-console-...! Why konsole use this font, if I have Andale Mono and
> fixed these installed properly? Please, replace in source your defined
> fonts on 'fixed'. It will be true Unix way!
At least it could not be hard-coded, allowing to override it in Konsole 
config/command line.

Comment 5 C W J Lemmens 2004-07-09 11:58:31 UTC
Have exactly the same problem with the konsole linux font but don't want to disable anti-aliasing.
In fact it is the only reason for us (>100 linux users) not to migrate from 3.1 to 3.2 .... 
And indeed the message about REAME.linux.console is complete bogus ;)

BTW: under 3.1 it worked fine, even with anti-aliasing on. Why couldn't it be the same under 3.2 ?
Comment 6 Kurt Hindenburg 2005-03-29 06:42:05 UTC
The hard-coded linux/unicode fonts have been removed for KDE 3.5.