From 495932623fb3390dd4249e08a3fd8593ebceaef4 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 10 May 2010 20:45:07 -0400 Subject: Fix glyph class building. Oops! Bug 605870 - Incorrect shaping for Syriac --- pango/pango-ot-info.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pango/pango-ot-info.c b/pango/pango-ot-info.c index 9c74f917..51aa50de 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; } } -- cgit v1.2.1