summaryrefslogtreecommitdiff
path: root/intl
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-05-09 17:52:17 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-05-09 17:52:17 +0200
commit2619698a2eb7363940d1e6a2d71a9ce7b366d3f5 (patch)
treea0e493460026b72f243d932f401409f26ee9a89e /intl
parent361748956bfcd31ca0edb5e2c845fb8c043945ba (diff)
downloaduxp-2619698a2eb7363940d1e6a2d71a9ce7b366d3f5.tar.gz
Font fallback should detect emoji range for color emoji font.
Diffstat (limited to 'intl')
-rw-r--r--intl/unicharutil/util/nsUnicodeProperties.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/intl/unicharutil/util/nsUnicodeProperties.h b/intl/unicharutil/util/nsUnicodeProperties.h
index 33f01f2d45..ee1d77252c 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[];