summaryrefslogtreecommitdiffstats
path: root/intl/unicharutil
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/unicharutil
parent361748956bfcd31ca0edb5e2c845fb8c043945ba (diff)
downloadUXP-2619698a2eb7363940d1e6a2d71a9ce7b366d3f5.tar
UXP-2619698a2eb7363940d1e6a2d71a9ce7b366d3f5.tar.gz
UXP-2619698a2eb7363940d1e6a2d71a9ce7b366d3f5.tar.lz
UXP-2619698a2eb7363940d1e6a2d71a9ce7b366d3f5.tar.xz
UXP-2619698a2eb7363940d1e6a2d71a9ce7b366d3f5.zip
Font fallback should detect emoji range for color emoji font.
Diffstat (limited to 'intl/unicharutil')
-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 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[];