GNOME Bugzilla – Bug 510925
gnome-settings-daemon doesn't propogate Xft settings
Last modified: 2008-01-25 19:12:43 UTC
Please describe the problem: Upgrading to gnome-settings-daemon 2.21.5.2 caused all font sizes to increase by 30% because DPI settings listed in gconf aren't being exposed via the XSETTINGS protocol. The source of this problem is the gdm/gnome-settings-daemon split. Running ./configure no longer defines HAVE_XFT2 in any circumstances, yet it's needed for the font rendering settings code in ./plugins/xsettings/gsd-xsettings-manager.c Steps to reproduce: 1. Install gnome-settings-daemon-2.21.5.1 2. Compile freedesktop.org's xsettings reference implementation 3. Run xsettings-client Actual results: No Xft properties are being exposed via the XSETTINGS interface, causing control-center's font DPI setting to have no effect. Expected results: Does this happen every time? Other information:
Created attachment 103293 [details] [review] Patch to add HAVE_XFT2 back Adds the check for libXft to define HAVE_XFT2 back, allowing users to override font DPI and subpixel rendering via control-center again.
*** Bug 511221 has been marked as a duplicate of this bug. ***
*** Bug 511733 has been marked as a duplicate of this bug. ***
*** Bug 509713 has been marked as a duplicate of this bug. ***
Tested the patch and it solves the bug for me.
I tested it too and it works fine.
2008-01-25 Jens Granseuer <jensgr@gmx.net> Patch by: <dynamotwain@aim.com> * configure.ac: readd check for XFT2 that got lost in the g-s-d split. Bug #510925.
Anything went wrong here? I cannot compile trunk: gsd-xsettings-manager.c: In function 'xft_settings_set_xresources': gsd-xsettings-manager.c:481: error: 'old_locale' undeclared (first use in this function) gsd-xsettings-manager.c:481: error: (Each undeclared identifier is reported only once gsd-xsettings-manager.c:481: error: for each function it appears in.) make[3]: *** [libxsettings_la-gsd-xsettings-manager.lo] Error 1 make[3]: Leaving directory `/home/nx/code/svn/gnome/gnome-settings-daemon/plugins/xsettings' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/nx/code/svn/gnome/gnome-settings-daemon/plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/nx/code/svn/gnome/gnome-settings-daemon' make: *** [all] Error 2
Sorry, unreleated. The checkin from bug #505470 is to blame.