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