[Indic] Categorize Khmer consonants

This commit is contained in:
Behdad Esfahbod 2012-07-16 13:39:36 -04:00
parent d487fff266
commit 0de771b72d
1 changed files with 4 additions and 0 deletions

View File

@ -80,6 +80,10 @@ consonant_position (hb_codepoint_t u)
{
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,
ARRAY_LENGTH (consonant_positions),
sizeof (consonant_positions[0]),