diff options
author | Owen Taylor <otaylor@redhat.com> | 2005-07-21 13:59:22 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2005-07-21 13:59:22 +0000 |
commit | 8f3399d4109f104c1af13b9f1e966d729e1bbe6c (patch) | |
tree | 8e065bb52a5dc5813798f300cb56a9874ddeaf71 /gdk/x11/gdkscreen-x11.h | |
parent | 68bcd510478d7c3d54fd31066bd17ed3f6d3bb3e (diff) | |
download | gtk+-8f3399d4109f104c1af13b9f1e966d729e1bbe6c.tar.gz |
Change machinery for following font rendering xsettings to set cairo font
2005-07-19 Owen Taylor <otaylor@redhat.com>
* gtk/gtksettings.c gtk/gtkwidget.c: Change machinery for
following font rendering xsettings to set cairo font
options on PangoContext
* gdk/x11/gdkxftdefaults.c gdk/x11/gdkevents-x11.c gdkscreen-x11.h
gdkprivate-x11.h: Get default values for rendering options
(such as antialiasing, dpi) from the Xft resources for the
display, borrowing a bit of code from Xft.
* gtk/gtksettings.c (gtk_settings_class_init): Fix docs for
values of gtk-xft-hintstyle.
Diffstat (limited to 'gdk/x11/gdkscreen-x11.h')
-rw-r--r-- | gdk/x11/gdkscreen-x11.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gdk/x11/gdkscreen-x11.h b/gdk/x11/gdkscreen-x11.h index aa08dca15b..5ea82a4fbc 100644 --- a/gdk/x11/gdkscreen-x11.h +++ b/gdk/x11/gdkscreen-x11.h @@ -93,6 +93,16 @@ struct _GdkScreenX11 /* Pango renderer object singleton */ PangoRenderer *renderer; + + /* Xft resources for the display, used for default values for + * the Xft/ XSETTINGS + */ + gboolean xft_init; /* Whether we've intialized these values yet */ + gboolean xft_antialias; + gboolean xft_hinting; + gint xft_hintstyle; + gint xft_rgba; + gint xft_dpi; }; struct _GdkScreenX11Class |