Font fallback should detect emoji range for color emoji font.

This commit is contained in:
wolfbeast 2018-05-09 17:52:17 +02:00 committed by Roy Tam
commit 1aa30f609c
6 changed files with 47 additions and 50 deletions

View file

@ -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[];