Mailinglist Archive: opensuse (3785 mails)

< Previous Next >
Re: [SLE] [SOLVED, I guess] Appearance of Qt apps messed up by gnome-settings-daemon
  • From: Sjoerd Hiemstra <shiems.suselist@xxxxxxxxxx>
  • Date: Thu, 2 Oct 2003 22:15:23 +0200
  • Message-id: <20031002221523.4590ad3b.shiems.suselist@xxxxxxxxxx>
In my post of 25 September I mentioned the phenomenon that if I run
gnome-settings-daemon to restore the fonts in gtk2 apps, the menu and
dialog fonts of most qt apps (Konsole, Quanta, Opera, Yast2, ...) become
ridiculously large.
To me it was a mystery how the gnome2 settings could affect qt.

It was recognized by Kevin Donnelly who said on 27 September:
> Running CC2 fixed the fonts on Gnome apps, but, as you say, all new
> KDE apps started then had stupid fonts.
> [...]
> So the sad conclusion seems to be that GTK2 and QT don't coexist
> nicely. (It may be that if you have Gnome installed as an alterna-
> tive desktop, the SuSE install does some magic that sorts that out.)

I do have Gnome installed, but that makes no difference.
Running qt apps from within Gnome or running gtk2 apps from within KDE
or using some window manager makes no difference either.

Yet, it looks like I've found a solution. If anti-aliasing in qt is
turned off, then things are back to normal.
This has to be done in two ways:

1. In KDE: Control Center > Appearance & Themes > Fonts:
uncheck "Use anti-aliasing for fonts".

2. As a normal user, run

qtconfig

Under the 'Fonts' tab, near the bottom,
uncheck "Enable Anti-Aliased Font Support (Xft)"

It looks like the KDE settings overrule the qtconfig settings in
general, but anti-aliasing must be switched off in both.

At this point, applications like Yast2, Konsole, Quanta etc. appear with
normal fonts again, even when gnome-settings-daemon is running.

There is just one qt program that stubbornly behaves the old way: Opera!
Installing the 'Qt shared' or 'Qt static' version makes no difference.
The 7.11 or 7.20 versions make no difference either.
To take this last hurdle, in Opera go to File > Preferences > Fonts.
About all the font names you see there end with "(Xft)".
Anti-aliasing, again.
I replaced all the "Xft" fonts with their non-Xft counterparts.
And Opera, too, is back to normal, even while gnome-settings-daemon is
running.

Only remaining question is why others are not bothered by anti-aliasing.
Note that anti-aliasing in qt apps still works fine, even though it is
switched off in KDE CC and qtconfig. Looks like it interferes with other
settings.

Regards,
S.H.

< Previous Next >
This Thread
  • No further messages