[pango] Fix glyph class building. Oops!



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

    Fix glyph class building.  Oops!
    
    Bug 605870 - Incorrect shaping for Syriac

 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 9c74f91..51aa50d 100644
--- a/pango/pango-ot-info.c
+++ b/pango/pango-ot-info.c
@@ -211,14 +211,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]