[pango: 11/16] [pango-view] Don't set metrics-hinting, fallback t



commit 3310b979c486e38182d89132d6b6b3e3d7ffb728
Author: Behdad Esfahbod <behdad behdad org>
Date:   Sat Mar 14 20:50:29 2009 -0400

    [pango-view] Don't set metrics-hinting, fallback to surface default
---
 pango-view/viewer-pangocairo.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/pango-view/viewer-pangocairo.c b/pango-view/viewer-pangocairo.c
index 30259ec..45c03df 100644
--- a/pango-view/viewer-pangocairo.c
+++ b/pango-view/viewer-pangocairo.c
@@ -53,8 +53,6 @@ pangocairo_view_create (const PangoViewer *klass G_GNUC_UNUSED)
   instance->font_options = cairo_font_options_create ();
   if (opt_hinting != HINT_DEFAULT)
     {
-      cairo_font_options_set_hint_metrics (instance->font_options, CAIRO_HINT_METRICS_ON);
-
       if (opt_hinting == HINT_NONE)
 	cairo_font_options_set_hint_style (instance->font_options, CAIRO_HINT_STYLE_NONE);
       else if (opt_hinting == HINT_FULL)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]