Don't set metrics-hinting font option. Rely on the default value which is

2007-04-03  Behdad Esfahbod  <behdad@gnome.org>

        * gtk/gtksettings.c (settings_update_font_options): Don't set
        metrics-hinting font option.  Rely on the default value which is
        on for all raster cairo surfaces. (#425985)


svn path=/trunk/; revision=17582
This commit is contained in:
Behdad Esfahbod 2007-04-03 23:17:11 +00:00 committed by Behdad Esfahbod
parent 8b20a27e0a
commit 166d3ff65b
2 changed files with 6 additions and 4 deletions

View File

@ -1,3 +1,9 @@
2007-04-03 Behdad Esfahbod <behdad@gnome.org>
* gtk/gtksettings.c (settings_update_font_options): Don't set
metrics-hinting font option. Rely on the default value which is
on for all raster cairo surfaces. (#425985)
2007-04-03 Loïc Minier <lool@dooz.org>
* gdk/x11/gdkscreen-x11.c: (check_xfree_xinerama): Revert to

View File

@ -1841,10 +1841,6 @@ settings_update_font_options (GtkSettings *settings)
options = cairo_font_options_create ();
/* hint_metrics = FALSE should never be set for user interface code.
*/
cairo_font_options_set_hint_metrics (options, CAIRO_HINT_METRICS_ON);
if (hinting >= 0 && !hinting)
{
hint_style = CAIRO_HINT_STYLE_NONE;