Add HB_NO_OT_SHAPE_COMPLEX_HEBREW_FALLBACK
authorBehdad Esfahbod <behdad@behdad.org>
Fri, 12 Apr 2019 14:16:12 +0000 (10:16 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Fri, 12 Apr 2019 14:16:12 +0000 (10:16 -0400)
Part of https://github.com/harfbuzz/harfbuzz/issues/1652

src/hb-ot-shape-complex-hebrew.cc

index 90c36c0..db88018 100644 (file)
@@ -70,6 +70,10 @@ compose_hebrew (const hb_ot_shape_normalize_context_t *c,
 
   bool found = (bool) c->unicode->compose (a, b, ab);
 
+#if defined(HB_NO_OT_SHAPE_COMPLEX_HEBREW_FALLBACK)
+  return found;
+#endif
+
   if (!found && !c->plan->has_gpos_mark)
   {
       /* Special-case Hebrew presentation forms that are excluded from