summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2010-05-10 20:45:07 -0400
committerBehdad Esfahbod <behdad@behdad.org>2010-05-10 20:47:31 -0400
commit495932623fb3390dd4249e08a3fd8593ebceaef4 (patch)
tree37ea76635b74c134308d07f7e8217223c9bb59b3
parent1caf2947f0941e2354dd4f43d56934e1ec706b6e (diff)
downloadpango-495932623fb3390dd4249e08a3fd8593ebceaef4.tar.gz
Fix glyph class building. Oops!
Bug 605870 - Incorrect shaping for Syriac
-rw-r--r--pango/pango-ot-info.c4
1 files 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;
}
}