mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-12-01 02:23:59 +01:00
[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:
1 parent
48c5f26199
commit
235c3a1295
1 file changed
+4
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user