| Index: third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc
|
| diff --git a/third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc b/third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc
|
| index 94556f65470e45eed0a9acbbd5154392ef847583..b48fb561c395e8460f34e4309243babe673884da 100644
|
| --- a/third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc
|
| +++ b/third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc
|
| @@ -1713,33 +1713,28 @@ decompose_indic (const hb_ot_shape_normalize_context_t *c,
|
| switch (ab)
|
| {
|
| /* Don't decompose these. */
|
| - case 0x0931u : return false;
|
| - case 0x0B94u : return false;
|
| + case 0x0931u : return false; /* DEVANAGARI LETTER RRA */
|
| + case 0x0B94u : return false; /* TAMIL LETTER AU */
|
|
|
|
|
| /*
|
| * Decompose split matras that don't have Unicode decompositions.
|
| */
|
|
|
| - case 0x0F77u : *a = 0x0FB2u; *b= 0x0F81u; return true;
|
| - case 0x0F79u : *a = 0x0FB3u; *b= 0x0F81u; return true;
|
| + /* Khmer */
|
| case 0x17BEu : *a = 0x17C1u; *b= 0x17BEu; return true;
|
| case 0x17BFu : *a = 0x17C1u; *b= 0x17BFu; return true;
|
| case 0x17C0u : *a = 0x17C1u; *b= 0x17C0u; return true;
|
| case 0x17C4u : *a = 0x17C1u; *b= 0x17C4u; return true;
|
| case 0x17C5u : *a = 0x17C1u; *b= 0x17C5u; return true;
|
| - case 0x1925u : *a = 0x1920u; *b= 0x1923u; return true;
|
| - case 0x1926u : *a = 0x1920u; *b= 0x1924u; return true;
|
| - case 0x1B3Cu : *a = 0x1B42u; *b= 0x1B3Cu; return true;
|
| - case 0x1112Eu : *a = 0x11127u; *b= 0x11131u; return true;
|
| - case 0x1112Fu : *a = 0x11127u; *b= 0x11132u; return true;
|
| +
|
| #if 0
|
| + /* Gujarati */
|
| /* This one has no decomposition in Unicode, but needs no decomposition either. */
|
| /* case 0x0AC9u : return false; */
|
| +
|
| + /* Oriya */
|
| case 0x0B57u : *a = no decomp, -> RIGHT; return true;
|
| - case 0x1C29u : *a = no decomp, -> LEFT; return true;
|
| - case 0xA9C0u : *a = no decomp, -> RIGHT; return true;
|
| - case 0x111BuF : *a = no decomp, -> ABOVE; return true;
|
| #endif
|
| }
|
|
|
| @@ -1819,6 +1814,7 @@ const hb_ot_complex_shaper_t _hb_ot_complex_shaper_indic =
|
| decompose_indic,
|
| compose_indic,
|
| setup_masks_indic,
|
| + NULL, /* disable_otl */
|
| HB_OT_SHAPE_ZERO_WIDTH_MARKS_NONE,
|
| false, /* fallback_position */
|
| };
|
|
|