bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#54441: 28.0.92; set-language-environment causes Apple Color Emoji ca


From: Will Chang
Subject: bug#54441: 28.0.92; set-language-environment causes Apple Color Emoji cannot show up
Date: Sat, 19 Mar 2022 17:36:17 +0800

Yes, it works well even after set-language-environment to UTF-8.

On Sat, Mar 19, 2022 at 5:33 PM Eli Zaretskii <eliz@gnu.org> wrote:
> From: Will Chang <will.b.chang@gmail.com>
> Date: Sat, 19 Mar 2022 17:24:17 +0800
> Cc: 54441@debbugs.gnu.org, mituharu+bug-gnu-emacs-mac@math.s.chiba-u.ac.jp
>
> I searched this problem again and found:
> https://www.reddit.com/r/emacs/comments/pmghug/how_to_correctly_display_multicharacter_emojis/
> https://lists.gnu.org/archive/html/emacs-devel/2021-09/msg01238.html
>
> The code below can solve the problem.
>
>   (set-fontset-font t 'emoji '("Apple Color Emoji" . "iso10646-1") nil 'prepend)
>
> or
>
>   (set-fontset-font t '(#x1f000 . #x1faff) (font-spec :family "Apple Color Emoji"))

So if you use the above instead of your original set-fontset-font, the
problem disappears, and the emoji are displayed correctly even after
set-language-environment, is that right?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]