[HarfBuzz] harfbuzz-ng: Branch 'master'
Behdad Esfahbod
behdad at kemper.freedesktop.org
Wed Oct 27 07:40:55 PDT 2010
src/hb-ot-shape-complex-arabic.cc | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
New commits:
commit aefdb64689aab19df76590a36c4a04052a8bffdb
Author: Behdad Esfahbod <behdad at behdad.org>
Date: Wed Oct 27 10:40:39 2010 -0400
Fix segfault with Arabic combining marks
diff --git a/src/hb-ot-shape-complex-arabic.cc b/src/hb-ot-shape-complex-arabic.cc
index 4055e36..584fc51 100644
--- a/src/hb-ot-shape-complex-arabic.cc
+++ b/src/hb-ot-shape-complex-arabic.cc
@@ -689,8 +689,10 @@ _hb_ot_shape_complex_setup_masks_arabic (hb_ot_shape_context_t *c)
unsigned int this_type = get_joining_type (c->buffer->info[i].codepoint, c->buffer->unicode->v.get_general_category (c->buffer->info[i].codepoint));
- if (unlikely (this_type == JOINING_TYPE_T))
+ if (unlikely (this_type == JOINING_TYPE_T)) {
+ c->buffer->info[i].gproperty = NONE;
continue;
+ }
const arabic_state_table_entry *entry = &arabic_state_table[state][this_type];
More information about the HarfBuzz
mailing list