[pango/harfbuzz-ng-external] Fix glyph class building. Oops!



commit 138f5264b74a31646e289f39c52e6bddcf6a64f7
Author: Behdad Esfahbod <behdad behdad org>
Date:   Mon May 10 20:45:07 2010 -0400

    Fix glyph class building.  Oops!

 pango/pango-ot-info.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/pango/pango-ot-info.c b/pango/pango-ot-info.c
index df12e69..961f30f 100644
--- a/pango/pango-ot-info.c
+++ b/pango/pango-ot-info.c
@@ -171,14 +171,14 @@ get_glyph_class (gunichar        charcode,
     case G_UNICODE_COMBINING_MARK:
     case G_UNICODE_ENCLOSING_MARK:
     case G_UNICODE_NON_SPACING_MARK:
-      *class = 3;		/* Mark glyph (non-spacing combining glyph) */
+      *class = HB_OT_LAYOUT_GLYPH_CLASS_MARK;		/* Mark glyph (non-spacing combining glyph) */
       return TRUE;
     case G_UNICODE_UNASSIGNED:
     case G_UNICODE_PRIVATE_USE:
       return FALSE;		/* Unknown, don't assign a class; classes get
 				 * propagated during GSUB application */
     default:
-      *class = 1;               /* Base glyph (single character, spacing glyph) */
+      *class = HB_OT_LAYOUT_GLYPH_CLASS_BASE_GLYPH;	/* Base glyph (single character, spacing glyph) */
       return TRUE;
     }
 }



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