Turn metrics hinting on (part of #307196)
2005-12-06 Behdad Esfahbod <behdad@gnome.org> * gtk/gtksettings.c (settings_update_font_options): Turn metrics hinting on (part of #307196)
This commit is contained in:
parent
6f72d3a8c7
commit
1d2e767a91
@ -1,3 +1,8 @@
|
|||||||
|
2005-12-06 Behdad Esfahbod <behdad@gnome.org>
|
||||||
|
|
||||||
|
* gtk/gtksettings.c (settings_update_font_options): Turn metrics
|
||||||
|
hinting on (part of #307196)
|
||||||
|
|
||||||
2005-12-06 Matthias Clasen <mclasen@redhat.com>
|
2005-12-06 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* gtk/gtkimcontextsimple.c (gtk_im_context_simple_reset): Don't
|
* gtk/gtkimcontextsimple.c (gtk_im_context_simple_reset): Don't
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2005-12-06 Behdad Esfahbod <behdad@gnome.org>
|
||||||
|
|
||||||
|
* gtk/gtksettings.c (settings_update_font_options): Turn metrics
|
||||||
|
hinting on (part of #307196)
|
||||||
|
|
||||||
2005-12-06 Matthias Clasen <mclasen@redhat.com>
|
2005-12-06 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* gtk/gtkimcontextsimple.c (gtk_im_context_simple_reset): Don't
|
* gtk/gtkimcontextsimple.c (gtk_im_context_simple_reset): Don't
|
||||||
|
@ -1483,6 +1483,10 @@ settings_update_font_options (GtkSettings *settings)
|
|||||||
|
|
||||||
options = cairo_font_options_create ();
|
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)
|
if (hinting >= 0 && !hinting)
|
||||||
{
|
{
|
||||||
hint_style = CAIRO_HINT_STYLE_NONE;
|
hint_style = CAIRO_HINT_STYLE_NONE;
|
||||||
|
Loading…
Reference in New Issue
Block a user