提交 c7dacac0 编写于 作者: B Behdad Esfahbod

[indic] Don't apply blwf before base under old-spec mode

Test case: U+09AC,U+09CD,U+09A6 with Lohit-Bengali 2.5.3.
上级 da72042c
...@@ -997,7 +997,8 @@ initial_reordering_consonant_syllable (const hb_ot_shape_plan_t *plan, ...@@ -997,7 +997,8 @@ initial_reordering_consonant_syllable (const hb_ot_shape_plan_t *plan,
/* Pre-base */ /* Pre-base */
mask = indic_plan->mask_array[HALF]; mask = indic_plan->mask_array[HALF];
if (indic_plan->config->blwf_mode == BLWF_MODE_PRE_AND_POST) if (!indic_plan->is_old_spec &&
indic_plan->config->blwf_mode == BLWF_MODE_PRE_AND_POST)
mask |= indic_plan->mask_array[BLWF]; mask |= indic_plan->mask_array[BLWF];
for (unsigned int i = start; i < base; i++) for (unsigned int i = start; i < base; i++)
info[i].mask |= mask; info[i].mask |= mask;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册