Bug#250762: GDK_USE_XFT=0 no longer disables font anti-aliasing for GTK2

Petter Sundlöf Petter Sundlöf , 250762@bugs.debian.org
Mon, 24 May 2004 22:08:27 +0200


Package: libgtk2.0-0
Version: 2.4.1-2

After upgrading some theme engines, the environment variable 
GDK_USE_XFT=0 no longer has the effect of disabling font anti-aliasing. 
Disabling font anti-aliasing in the GNOME control center has a temporary 
effect, but it doesn't last after relaunching X11 without 
gnome-settings-daemon around.

My ~/.gtkrc-2.0 looks like this:

gtk-toolbar-style=GTK_TOOLBAR_ICONS
gtk-can-change-accels = 1
gtk-key-theme-name = "Emacs"
gtk-font-name = "tahoma 9"
style "user-font"
{
   font_name="tahoma 9"
         bg[NORMAL]              = "#e0e0e0"
         bg[PRELIGHT]            = "#eeeeee"
         fg[SELECTED]            = "#000000"
         bg[SELECTED]            = "#bfbfbf"
         fg[PRELIGHT]            = "#000000"
         base[SELECTED]          = "#bfbfbf"
         text[SELECTED]          = "#000000"
         fg[ACTIVE]              = "#000000"
         text[ACTIVE]            = "#000000"
         bg[ACTIVE]              = "#c2c2c2"
         base[ACTIVE]            = "#c2c2c2"
         fg[INSENSITIVE]         = "#a0a0a0"
         bg[INSENSITIVE]         = "#dcdcdc"
         base[INSENSITIVE]       = "#e0e0e0"
         text[INSENSITIVE]       = "#a0a0a0"
         GtkRange::stepper_size  = 13
         GtkRange::slider_width  = 13
}

widget_class "*" style "user-font"