GNU bug report logs - #54441
28.0.92; set-language-environment causes Apple Color Emoji cannot show up

Previous Next

Package: emacs;

Reported by: Will Chang <will.b.chang <at> gmail.com>

Date: Fri, 18 Mar 2022 04:03:02 UTC

Severity: normal

Tags: moreinfo

Found in version 28.0.92

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Will Chang <will.b.chang <at> gmail.com>
Cc: mituharu+bug-gnu-emacs-mac <at> math.s.chiba-u.ac.jp, 54441 <at> debbugs.gnu.org
Subject: bug#54441: 28.0.92; set-language-environment causes Apple Color Emoji cannot show up
Date: Sat, 19 Mar 2022 11:33:06 +0200
> From: Will Chang <will.b.chang <at> gmail.com>
> Date: Sat, 19 Mar 2022 17:24:17 +0800
> Cc: 54441 <at> debbugs.gnu.org, mituharu+bug-gnu-emacs-mac <at> 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?




This bug report was last modified 3 years and 61 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.