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

[Indic] Don't use syllable serial value 0

上级 892eb787
...@@ -82,6 +82,7 @@ main := |* ...@@ -82,6 +82,7 @@ main := |*
PASTE (initial_reordering_, func) (map, buffer, mask_array, last, p+1); \ PASTE (initial_reordering_, func) (map, buffer, mask_array, last, p+1); \
last = p+1; \ last = p+1; \
syllable_serial++; \ syllable_serial++; \
if (unlikely (!syllable_serial)) syllable_serial++; \
} HB_STMT_END } HB_STMT_END
static void static void
...@@ -99,7 +100,7 @@ find_syllables (const hb_ot_map_t *map, hb_buffer_t *buffer, hb_mask_t *mask_arr ...@@ -99,7 +100,7 @@ find_syllables (const hb_ot_map_t *map, hb_buffer_t *buffer, hb_mask_t *mask_arr
pe = eof = buffer->len; pe = eof = buffer->len;
unsigned int last = 0; unsigned int last = 0;
uint8_t syllable_serial = 0; uint8_t syllable_serial = 1;
%%{ %%{
write exec; write exec;
}%% }%%
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册