Bug 133709 - KDE causes GTK+ applications to lose antialiasing when rendering fonts
Summary: KDE causes GTK+ applications to lose antialiasing when rendering fonts
Status: RESOLVED WORKSFORME
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Stephan Kulow
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-07 15:15 UTC by Vasilis Vasaitis
Modified: 2007-11-28 23:52 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vasilis Vasaitis 2006-09-07 15:15:57 UTC
Version:            (using KDE KDE 3.5.4)
Installed from:    Debian testing/unstable Packages

Hello,

  On my system, Debian unstable with KDE 3.5.4, when I start a KDE X session and attempt to run GTK+ applications, they render fonts without antialiasing, which makes them somewhat ugly. It appears that KDE is causing this by setting the X resource Xft.antialias to 0; setting it to 1 manually with xrdb fixes the problem. The problem also seems to go away by adding the following line to ~/.kde/share/config/kdeglobals, inside the [General] section:

XftAntialias=true

  Still, this should be the default, no?

Thanks,
Vasilis
Comment 1 Philip Rodrigues 2006-09-08 15:48:27 UTC
Do you have antialiasing turned off in control center -> appearance and themes -> fonts?
Comment 2 Vasilis Vasaitis 2006-09-08 16:06:33 UTC
  No, of course not, and in fact KDE applications have antialiased fonts at all times.
Comment 3 Josh Berry 2006-09-14 17:28:13 UTC
I also have this issue, since KDE 3.5.4.  (3.5.3 behaved as expected.)  As Vasilis observed, it seems to be due to KDE setting "Xft.antialias" to 0 in xrdb.

The problem persists even when I turn off "Apply colors to non-KDE applications" in the "Colors" control panel.

To me, it seems like very broken behavior for KDE to even be messing with that setting at all -- Qt obviously ignores it (all my KDE applications respect the antialiasing settings in "Fonts"), so why should KDE care?
Comment 4 Philip Rodrigues 2007-01-30 19:19:01 UTC
There's been a change in 3.5.6 that probably affects this. Can you test again with 3.5.6 and report on whether it works?
Comment 5 Vasilis Vasaitis 2007-02-07 01:47:59 UTC
Sorry for the delay, I was hoping that maybe Debian would ship 3.5.6 packages -- but then I noticed that they've been incorporating patches from it anyway in the current 3.5.5 packages, so I decided to give it a try anyway.

So yes, right now the font configuration dialog sets XftAntialias in kdeglobals to the correct value, and everything is working fine. As far as I'm concerned, this can be closed. Thanks.
Comment 6 Vasilis Vasaitis 2007-11-28 23:52:53 UTC
Hi, I'm closing this bug since it hasn't been an issue for ages now, if anyone still has these problems then feel free to reopen.