[Indic] Categorize Khmer consonants
This commit is contained in:
parent
d487fff266
commit
0de771b72d
|
@ -80,6 +80,10 @@ consonant_position (hb_codepoint_t u)
|
||||||
{
|
{
|
||||||
consonant_position_t *record;
|
consonant_position_t *record;
|
||||||
|
|
||||||
|
/* Khmer does not have pre-base half forms. */
|
||||||
|
if (0x1780 <= u && u <= 0x17FF)
|
||||||
|
return POS_BELOW_C;
|
||||||
|
|
||||||
record = (consonant_position_t *) bsearch (&u, consonant_positions,
|
record = (consonant_position_t *) bsearch (&u, consonant_positions,
|
||||||
ARRAY_LENGTH (consonant_positions),
|
ARRAY_LENGTH (consonant_positions),
|
||||||
sizeof (consonant_positions[0]),
|
sizeof (consonant_positions[0]),
|
||||||
|
|
Loading…
Reference in New Issue