From 5669a6cf418f3a8b9281c36e9d662d843be80433 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 13 Nov 2012 15:11:51 -0800 Subject: [PATCH] [Arabic] Fix post-context handling Ouch! --- src/hb-ot-shape-complex-arabic.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-ot-shape-complex-arabic.cc b/src/hb-ot-shape-complex-arabic.cc index 59c97167..591c7431 100644 --- a/src/hb-ot-shape-complex-arabic.cc +++ b/src/hb-ot-shape-complex-arabic.cc @@ -286,7 +286,7 @@ arabic_joining (hb_buffer_t *buffer) if (!(buffer->flags & HB_BUFFER_FLAG_EOT)) for (unsigned int i = 0; i < buffer->context_len[1]; i++) { - unsigned int this_type = get_joining_type (buffer->context[1][i], buffer->unicode->general_category (buffer->context[0][i])); + unsigned int this_type = get_joining_type (buffer->context[1][i], buffer->unicode->general_category (buffer->context[1][i])); if (unlikely (this_type == JOINING_TYPE_T)) continue; -- GitLab