[unsafe-to-concat] Adjust Arabic joining logic
Test failures done one more. Fixed the mongolian-variation-selector test. Another test case: $ util/hb-shape NotoSansArabic-Regular.ttf -u 628,200c,628 --show-flags --verify
This commit is contained in:
parent
48c5f26199
commit
235c3a1295
|
@ -321,6 +321,10 @@ arabic_joining (hb_buffer_t *buffer)
|
|||
info[prev].arabic_shaping_action() = entry->prev_action;
|
||||
buffer->unsafe_to_break (prev, i + 1);
|
||||
}
|
||||
else if (2 <= state && state <= 5) /* States that have a possible prev_action. */
|
||||
{
|
||||
buffer->unsafe_to_concat (prev, i + 1);
|
||||
}
|
||||
|
||||
info[i].arabic_shaping_action() = entry->curr_action;
|
||||
|
||||
|
|
Loading…
Reference in New Issue