[unsafe-to-break] Flag in Thai PUA shaping

This commit is contained in:
Behdad Esfahbod 2017-08-10 20:54:15 -07:00
parent eae009602b
commit e43aad5552
1 changed files with 1 additions and 0 deletions

View File

@ -244,6 +244,7 @@ do_thai_pua_shaping (const hb_ot_shape_plan_t *plan HB_UNUSED,
/* At least one of the above/below actions is NOP. */
thai_action_t action = above_edge.action != NOP ? above_edge.action : below_edge.action;
buffer->unsafe_to_break (base, i);
if (action == RD)
info[base].codepoint = thai_pua_shape (info[base].codepoint, action, font);
else