[unsafe-to-break] Flag in Thai PUA shaping
authorBehdad Esfahbod <behdad@behdad.org>
Fri, 11 Aug 2017 03:54:15 +0000 (20:54 -0700)
committerBehdad Esfahbod <behdad@behdad.org>
Fri, 11 Aug 2017 03:54:15 +0000 (20:54 -0700)
src/hb-ot-shape-complex-thai.cc

index e75b353..924247f 100644 (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