Add Mongolian variation selectors

This commit is contained in:
Behdad Esfahbod 2009-11-18 09:47:44 -05:00
parent d6387757de
commit d33f674cb7
1 changed files with 3 additions and 2 deletions

View File

@ -33,8 +33,9 @@
static inline hb_bool_t
is_variation_selector (hb_codepoint_t unicode)
{
return (unicode >= 0xFE00 && unicode <= 0xFE0F) ||
(unicode >= 0xE0100 && unicode <= 0xE01EF);
return HB_UNLIKELY ((unicode >= 0x180B && unicode <= 0x180D) || /* MONGOLIAN FREE VARIATION SELECTOR ONE..THREE */
(unicode >= 0xFE00 && unicode <= 0xFE0F) || /* VARIATION SELECTOR-1..16 */
(unicode >= 0xE0100 && unicode <= 0xE01EF)); /* VARIATION SELECTOR-17..256 */
}
static void