From 2619698a2eb7363940d1e6a2d71a9ce7b366d3f5 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Wed, 9 May 2018 17:52:17 +0200 Subject: Font fallback should detect emoji range for color emoji font. --- intl/unicharutil/util/nsUnicodeProperties.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'intl/unicharutil/util') diff --git a/intl/unicharutil/util/nsUnicodeProperties.h b/intl/unicharutil/util/nsUnicodeProperties.h index 33f01f2d4..ee1d77252 100644 --- a/intl/unicharutil/util/nsUnicodeProperties.h +++ b/intl/unicharutil/util/nsUnicodeProperties.h @@ -60,6 +60,9 @@ enum EmojiPresentation { EmojiDefault = 2 }; +const uint32_t kVariationSelector15 = 0xFE0E; // text presentation +const uint32_t kVariationSelector16 = 0xFE0F; // emoji presentation + // ICU is available, so simply forward to its API extern const hb_unicode_general_category_t sICUtoHBcategory[]; -- cgit v1.2.3