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

[Indic] Allow joiners before matras

Fixes 1 more Devanagari test!
上级 391cc033
...@@ -63,7 +63,7 @@ h = H | Coeng; # is_halant_or_coeng ...@@ -63,7 +63,7 @@ h = H | Coeng; # is_halant_or_coeng
reph = (Ra H | Repha); # possible reph reph = (Ra H | Repha); # possible reph
cn = c.n?; cn = c.n?;
matra_group = M.N?.H?; matra_group = z*.M.N?.H?;
syllable_tail = SM? (Coeng (cn|V))? (VD VD?)?; syllable_tail = SM? (Coeng (cn|V))? (VD VD?)?;
place_holder = NBSP | DOTTEDCIRCLE; place_holder = NBSP | DOTTEDCIRCLE;
halant_group = (h.z?|z.h); halant_group = (h.z?|z.h);
...@@ -87,7 +87,7 @@ main := |* ...@@ -87,7 +87,7 @@ main := |*
#define process_syllable(func) \ #define process_syllable(func) \
HB_STMT_START { \ HB_STMT_START { \
/* fprintf (stderr, "syllable %d..%d %s\n", last, p+1, #func); */ \ if (0) fprintf (stderr, "syllable %d..%d %s\n", last, p+1, #func); \
for (unsigned int i = last; i < p+1; i++) \ for (unsigned int i = last; i < p+1; i++) \
info[i].syllable() = syllable_serial; \ info[i].syllable() = syllable_serial; \
PASTE (initial_reordering_, func) (map, buffer, mask_array, last, p+1); \ PASTE (initial_reordering_, func) (map, buffer, mask_array, last, p+1); \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册