|
From: | Howard Melman |
Subject: | bug#54970: 28.1; Some emoji no longer display |
Date: | Sun, 17 Apr 2022 14:44:25 -0400 |
On Apr 17, 2022, at 11:14 AM, Robert Pluim <rpluim@gmail.com> wrote:On Sun, 17 Apr 2022 10:35:17 -0400, Howard Melman <hmelman@gmail.com> said: Ok, so you find out that U+1F37D has Emoji_Presentation = False from which indicates the default presentation should be text: 1F37D ; text ; L2 ; none ; w # V7.0 (🍽) FORK AND KNIFE WITH PLATE so you should look at the "Plain" section instead. I see an emoji glyph there too for U+1F37D. This is the plain section and U+1F37D is at the end of the top row in this image. There are a lot of emoji shown in that section but less than in the emojiFont section.
(set-fontset-font t '(#x1F170 . #x1F6F3) '("Apple Color Emoji" . "iso10646-1") nil 'prepend) (set-fontset-font t '(#x2139 . #x3299) '("Apple Color Emoji" . "iso10646-1") nil 'prepend) I'm still confused as to why the above works but this didn't: (set-fontset-font t 'emoji '("Apple Color Emoji" . "iso10646-1") nil 'prepend) And I as I look at script-representative-chars, emoji is defined to be (emoji 127744 128512) which I think means the hex range x1F300 - x1F600 so shouldn't include x1f37d? Or does it not because the default _expression_ is text? And if so how is that factored into the emoji script symbol passed to set-fontset-font, I don't see how that's defined other than as this range. And when I specify a range directly I get my pretty glyph displayed. I donʼt think we should follow what the mac does when it contradicts says: • only fully-qualified emoji zwj sequences should be generated by keyboards and other user input devices. and working through the definition of fully-qualified emoji a lone U+1F37D is not fully-qualified. If I understand emacs' state correctly, insert-char is doing the right thing because it's just inserting a character. I think I'm picking an emoji but I'm not really, I'm picking a single character (in this case U+1F37D). A later Emacs will have an emoji input method that would be like a real emoji picker that lets me insert a proper fully-qualified sequence. Howard> And I'll add, if that's displayed equivalently I'd prefer it, because I wouldn't Modulo `use-default-font-for-symbols' In an emacs -Q in the scratch buffer I inserted a lone U+1F37D Toggling use-default-font-for-symbols had no effect on its display. Even after I did: (set-fontset-font t 'emoji '("Apple Color Emoji" . "iso10646-1") nil 'prepend) Howard |
[Prev in Thread] | Current Thread | [Next in Thread] |