Imported Upstream version 1.4.6
[platform/upstream/harfbuzz.git] / src / hb-ot-shape-complex-indic-table.cc
index 80a6b25..e10a4d2 100644 (file)
@@ -422,6 +422,13 @@ hb_indic_get_categories (hb_codepoint_t u)
       if (hb_in_range (u, 0xAA60u, 0xAA7Fu)) return indic_table[u - 0xAA60u + indic_offset_0xaa60u];
       break;
 
+    case 0x11u:
+      // According to ScriptExtensions.txt, these Grantha marks may also be used in Tamil,
+      // so the Indic shaper needs to know their categories.
+      if (unlikely (u == 0x11303)) return _(Vs,R);
+      if (unlikely (u == 0x1133c)) return _(N,B);
+      break;
+
     default:
       break;
   }