[khmer] Allow Independent Vowels where stacked consonants are allowed
New numbers (down from 44): KHMER: 299085 out of 299124 tests passed. 39 failed (0.0130381%)
This commit is contained in:
parent
9bd486c480
commit
80c870bcda
@ -52,7 +52,7 @@ RS = 13;
|
||||
Coeng = 14;
|
||||
Ra = 16;
|
||||
|
||||
c = (C | Ra); # is_consonant
|
||||
c = (C | Ra | V); # is_consonant
|
||||
n = ((ZWNJ?.RS)? (N.N?)?); # is_consonant_modifier
|
||||
z = ZWJ|ZWNJ; # is_joiner
|
||||
|
||||
@ -63,7 +63,7 @@ halant_group = Coeng;
|
||||
halant_or_matra_group = (matra_group{0,4}) (Coeng (cn|V))?;
|
||||
|
||||
|
||||
consonant_syllable = (c|V|PLACEHOLDER|DOTTEDCIRCLE).n? (halant_group.cn){0,4} halant_or_matra_group syllable_tail;
|
||||
consonant_syllable = (c|PLACEHOLDER|DOTTEDCIRCLE).n? (halant_group.cn){0,4} halant_or_matra_group syllable_tail;
|
||||
broken_cluster = n? (halant_group.cn){0,4} halant_or_matra_group syllable_tail;
|
||||
other = any;
|
||||
|
||||
|
@ -75,7 +75,7 @@ is_joiner (const hb_glyph_info_t &info)
|
||||
static inline bool
|
||||
is_consonant (const hb_glyph_info_t &info)
|
||||
{
|
||||
return is_one_of (info, CONSONANT_FLAGS);
|
||||
return is_one_of (info, CONSONANT_FLAGS | FLAG (OT_V));
|
||||
}
|
||||
|
||||
static inline bool
|
||||
|
Loading…
Reference in New Issue
Block a user