diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-08-15 07:43:29 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-08-15 07:43:29 +0300 |
commit | a0ebaca4600d38df843244bda5f54a75d7c59d83 (patch) | |
tree | a67637d9983b94bd60d0d928287bf3eed61dad33 /src/ui/text.c | |
parent | e1b14547b139a00b2bf10232c1918792e6cb1aff (diff) |
Text: Emoji selector ignored
Diffstat (limited to 'src/ui/text.c')
-rw-r--r-- | src/ui/text.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ui/text.c b/src/ui/text.c index 5ddadc1b..88254aad 100644 --- a/src/ui/text.c +++ b/src/ui/text.c | |||
@@ -416,6 +416,10 @@ static iRect run_Font_(iFont *d, enum iRunMode mode, iRangecc text, size_t maxLe | |||
416 | } | 416 | } |
417 | } | 417 | } |
418 | iChar ch = nextChar_(&chPos, text.end); | 418 | iChar ch = nextChar_(&chPos, text.end); |
419 | if (ch == variationSelectorEmoji_Char) { | ||
420 | /* TODO: Should peek ahead for this and prefer the Emoji font. */ | ||
421 | ch = nextChar_(&chPos, text.end); /* just ignore */ | ||
422 | } | ||
419 | /* Special instructions. */ { | 423 | /* Special instructions. */ { |
420 | if (ch == '\n') { | 424 | if (ch == '\n') { |
421 | xpos = pos.x; | 425 | xpos = pos.x; |