[pango/1.28: 1/4] Disable use of HB Device tables



commit 3ca16ae22be9c1012651f5fdd775f75f5e887033
Author: Behdad Esfahbod <behdad behdad org>
Date:   Mon Mar 29 17:13:42 2010 -0400

    Disable use of HB Device tables
    
    There's cleanup needed in the Device code.  The scale stuff is pretty bogus
    right now.

 pango/pango-ot-info.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/pango/pango-ot-info.c b/pango/pango-ot-info.c
index 9c74f91..4216611 100644
--- a/pango/pango-ot-info.c
+++ b/pango/pango-ot-info.c
@@ -578,10 +578,12 @@ _pango_ot_info_position    (const PangoOTInfo    *info,
   hb_font_set_scale (hb_font,
 		     info->face->size->metrics.x_scale,
 		     info->face->size->metrics.y_scale);
+  /*
   is_hinted = buffer->font->is_hinted;
   hb_font_set_ppem (hb_font,
 		    is_hinted ? info->face->size->metrics.x_ppem : 0,
 		    is_hinted ? info->face->size->metrics.y_ppem : 0);
+		    */
 
   for (i = 0; i < ruleset->rules->len; i++)
     {



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