Bug 193095 - Font of Gnome apps don't have antialiasing in KDE
Summary: Font of Gnome apps don't have antialiasing in KDE
Status: RESOLVED FIXED
: 214280 (view as bug list)
Alias: None
Product: openSUSE 10.2
Classification: openSUSE
Component: GNOME (show other bugs)
Version: Beta 2
Hardware: x86-64 SUSE Other
: P5 - None : Critical (vote)
Target Milestone: ---
Assignee: Lubos Lunak
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-18 06:03 UTC by Silviu Marin-Caea
Modified: 2009-07-29 14:02 UTC (History)
5 users (show)

See Also:
Found By: Beta-Customer
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Compare fonts in Gnome apps to fonts in KDE apps (200.59 KB, image/png)
2006-07-18 06:07 UTC, Silviu Marin-Caea
Details
no font aa (1.07 MB, image/png)
2006-10-16 06:42 UTC, Silviu Marin-Caea
Details
font rendering in OO (186.96 KB, image/jpeg)
2006-12-06 05:23 UTC, Forgotten User --EoyBps8f
Details
font rendering in OO (427.96 KB, image/png)
2006-12-06 13:31 UTC, Forgotten User --EoyBps8f
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Silviu Marin-Caea 2006-07-18 06:03:14 UTC
I'll attach screenshots
Comment 1 Silviu Marin-Caea 2006-07-18 06:07:57 UTC
Created attachment 93761 [details]
Compare fonts in Gnome apps to fonts in KDE apps

Fonts in Gnome apps don't have anti-aliasing
Comment 2 Stephan Kulow 2006-07-18 07:22:31 UTC
Federico, did something change? (note that this is alpha2)
Comment 3 Federico Mena Quintero 2006-07-18 14:36:41 UTC
(In reply to comment #2)
> Federico, did something change? (note that this is alpha2)

Huh, not that I know of.  Have changes been made to Pango or Fontconfig?

The old bug relative to font options is bug #104365.
Comment 4 Stephan Binner 2006-08-31 09:38:56 UTC
Really obvious and ugly.
Comment 5 Dirk Mueller 2006-08-31 09:41:20 UTC
fail to see how it is a KDE bug if GNOME apps are not reading the session settings correctly
Comment 6 Dan Winship 2006-10-13 02:31:29 UTC
Silviu, can you try http://primates.ximian.com/~danw/cairo-1.2.2-10.i586.rpm and see if that fixes the bug for you?

(That package reenables the cairo patch from 104365, which had gotten disabled because it didn't apply cleanly to cairo 1.2.2.)
Comment 7 Silviu Marin-Caea 2006-10-13 06:53:38 UTC
I have x86_64...
Comment 9 Dan Winship 2006-10-14 15:36:34 UTC
ok, try http://primates.ximian.com/~danw/cairo-1.2.2-10.x86_64.rpm then.
Comment 10 Silviu Marin-Caea 2006-10-16 06:41:57 UTC
No change; maybe I need cairo-32bit too?

rpm -qa | grep cairo
cairo-1.2.2-10
cairo-32bit-1.2.2-9
libsvg-cairo-0.1.6-22
python-cairo-1.2.2-3
Comment 11 Silviu Marin-Caea 2006-10-16 06:42:49 UTC
Created attachment 101523 [details]
no font aa
Comment 12 Dan Winship 2006-10-16 15:51:00 UTC
ok... there must be some other change needed as well. i don't really know much about cairo and our fontconfig setup
Comment 13 Federico Mena Quintero 2006-10-18 20:42:04 UTC
This is not a bug; it's just missing interop between KDE and GNOME in the way they configure font rendering options and in the way they propagate changes about those options.

GNOME stores the font options in GConf.  Apps call cairo_set_font_options() dynamically when the GConf values get changed from the control center.

As far as I know, KDE stores ~/.fonts.conf (or ~/.fontconfig; I don't remember) when things get changed in its control center, and apps need to be restarted to get the new options.

We need a single way to store things and propagate changes.  It's easy enough for GNOME to monitor changes to ~/.fonts.conf.  There may be some missing APIs in Fontconfig to change the configuration dynamically, but that shouldn't be a problem to add, either.

There remains the problem of remote X clients.  GNOME propagates its font settings using the XSettings protocol, and also sets X resources for apps which may wish to use them (though I don't know of any apps that do).
Comment 14 Lubos Lunak 2006-10-25 11:15:55 UTC
I don't this has much to do with monitoring changes to ~/.fonts.conf or the X resource (which KDE sets as well and which Xft reads by default if I'm not mistaken, so even remote X clients should work). If that was the case, it'd be enough for the reporter to restart and the problem would be gone (in fact the KDE dialog even simply says that apps have to be restarted).

If KDE apps get antialiasing, GNOME apps should get it as well from that setting, unless they exclusively use the gconf setting and that one defaults to false (or whatever, I don't know how exactly reading this setting works in GNOME), so this looks like GNOME problem to me.
Comment 15 Silviu Marin-Caea 2006-11-02 15:33:14 UTC
Bug went away from beta1.
Comment 16 Christian Boltz 2006-11-04 20:24:19 UTC
(In reply to comment #15)
> Bug went away from beta1.

I (still/again?) see it on Factory from monday morning (somewhat newer than beta1) with a fresh test user :-(  (tested with GIMP)

In case it's relevant: I updated from 10.1 final.
Comment 17 Felix Möller 2006-11-05 23:40:28 UTC
I have been seeing this for serveral weeks now. 

I use current factory:

# rpm -qv cairo freetype fontconfig
cairo-1.2.4-2
freetype-1.3.1-1187
fontconfig-2.4.1-9
Comment 18 Pavel Nemec 2006-11-06 09:45:00 UTC
I had similar problem when i removed gtk-qt-engine package.
Comment 19 Stephan Binner 2006-11-09 09:50:19 UTC
Still in Beta 2.
Comment 20 JP Rosevear 2006-11-09 16:58:06 UTC
*** Bug 214280 has been marked as a duplicate of this bug. ***
Comment 21 JP Rosevear 2006-11-09 16:58:37 UTC
Some additional info in the dupe.
Comment 22 Mike Fabian 2006-11-10 23:26:18 UTC
Lubos Lunak> X resource (which KDE sets as well

No, KDE doesn't set this. None of the Xft.* resources is set
in a KDE session.

They get set though as soon as gnome-font-properties has been started
once.
Comment 23 Felix Möller 2006-11-10 23:35:53 UTC
i just ran gnome-theme-manager as was said in 214280. This crashed firefox and thunderbird. But now all font problems are gone!

So just starting gnome-theme-manager and exiting it without doing anything solves this problem.
Comment 24 Mike Fabian 2006-11-11 00:08:32 UTC
gnome-theme-manager probably sets the Xft.* X-resources,
just like gnome-font-properties does.

But this will help only until you restart your KDE session.
Comment 25 Lubos Lunak 2006-11-13 14:06:18 UTC
$ xrdb -query | grep Xft
Xft.antialias:  0
Xft.hinting :   1
Xft.hintstyle:  hintfull

It looks like we have a problem with default settings or something.
Comment 26 Lubos Lunak 2006-11-13 15:45:26 UTC
New kdebase3-SuSE package submitted.
Comment 27 Lubos Lunak 2006-11-14 11:16:53 UTC
.
Comment 28 Mike Fabian 2006-11-14 11:30:39 UTC
Can you please explain what you did to fix the problem?

How are the Xresources set now?
Comment 29 Lubos Lunak 2006-11-14 13:09:41 UTC
I changed the default config file to use the right config key name (it was either named incorrectly or it has changed over the time without the SUSE config file having been updated). So now it's "Xft.antialias: 1" and that's all, no other change.
Comment 30 Federico Mena Quintero 2006-11-20 17:06:27 UTC
... but we still don't have a compatible way to store and use the font configuration from both desktops.
Comment 31 Lubos Lunak 2006-11-20 17:22:00 UTC
But this bugreport is about GNOME apps not having antialiasing in KDE. Compatible font config is neither this problem nor critical, if you want something done about it please open a Fate issue or something.
Comment 32 Forgotten User --EoyBps8f 2006-12-06 05:21:26 UTC
It is not only anti-alias that is not used, but it seems that OO does no longer care to use the bytecode-interpreter for ttf, as it did in 10.1.

I have aa disabled and set OO to use "system fonts" for GUI. But not only for the GUI ttf are not rendered by the bytecode interpreter as it seems. See attached screenshot and bug 226217.
Comment 33 Forgotten User --EoyBps8f 2006-12-06 05:23:20 UTC
Created attachment 108455 [details]
font rendering in OO
Comment 34 Forgotten User --EoyBps8f 2006-12-06 05:37:48 UTC
If bug 214280 really is a duplicate of this one it has to be re-opened, since it is not fixed in the GM.
Comment 35 Mike Fabian 2006-12-06 12:50:31 UTC
Your attachment in comment #33 is in jpeg format.  Please don't attach
screen shot in jpeg format because jpeg compression is not
lossless. Artifacts of the jpeg compression make it impossible to see
small details like font rendering correctly.
Please use a lossless format like .png instead.

Comment 36 Forgotten User --EoyBps8f 2006-12-06 13:07:14 UTC
Although you are right about lossless you must be kidding if you do not see the difference between the text in the OO window and the text in the KDE window. Or are you suggesting that while in the OO window there are fragments those misteriously are absent in the rest of the picture?
Comment 37 Mike Fabian 2006-12-06 13:13:17 UTC
Anyway, please attach it as a .png as well.
Comment 38 Forgotten User --EoyBps8f 2006-12-06 13:31:27 UTC
Created attachment 108508 [details]
font rendering in OO
Comment 39 Mike Fabian 2006-12-06 13:44:40 UTC
Thank you.
Comment 40 Mike Fabian 2006-12-06 16:34:43 UTC
OK, this OpenOffice rendering problem has nothing to do with "Fonts of
Gnome apps don't have antialiasing in KDE", OpenOffice is a special
case.

Therefore there is no need to REOPEN this bug.

Let's continue to investigate the OpenOffice problem in bug #217704.