summaryrefslogtreecommitdiff
path: root/pango/pango-ot-info.c
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:45:07 -0400
commit138f5264b74a31646e289f39c52e6bddcf6a64f7 (patch)
treefcc7d7f6e50290ba978bc273166e0197179a0180 /pango/pango-ot-info.c
parentf82b1104f058648c7db09adb6febff31174f135f (diff)
downloadpango-138f5264b74a31646e289f39c52e6bddcf6a64f7.tar.gz
Fix glyph class building. Oops!
Diffstat (limited to 'pango/pango-ot-info.c')
-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 df12e69f..961f30f9 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;
}
}