From 4899801155cc0fef7a8aa58c33ac2d30ba34bcc3 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 8 Nov 2012 15:08:26 -0800 Subject: [PATCH] U+A872 PHAGS-PA SUPERFIXED LETTER RA is "Right"-Joining --- src/hb-ot-shape-complex-arabic.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/hb-ot-shape-complex-arabic.cc b/src/hb-ot-shape-complex-arabic.cc index 0f504e695..697e54eb7 100644 --- a/src/hb-ot-shape-complex-arabic.cc +++ b/src/hb-ot-shape-complex-arabic.cc @@ -80,6 +80,9 @@ static unsigned int get_joining_type (hb_codepoint_t u, hb_unicode_general_categ /* 'Phags-pa joining data is not in ArabicJoining.txt yet. */ if (unlikely (hb_in_range (u, 0xA840, 0xA872))) { + if (unlikely (u == 0xA872)) + return JOINING_TYPE_R; + return JOINING_TYPE_D; }