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


Message #25 received at 54441 <at> debbugs.gnu.org (full text, mbox):

From: Will Chang <will.b.chang <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: mituharu+bug-gnu-emacs-mac <at> math.s.chiba-u.ac.jp, 54441 <at> debbugs.gnu.org
Subject: Re: bug#54441: 28.0.92; set-language-environment causes Apple Color
 Emoji cannot show up
Date: Sat, 19 Mar 2022 17:36:17 +0800
[Message part 1 (text/plain, inline)]
Yes, it works well even after set-language-environment to UTF-8.

On Sat, Mar 19, 2022 at 5:33 PM Eli Zaretskii <eliz <at> gnu.org> wrote:

> > 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?
>
[Message part 2 (text/html, inline)]

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

Previous Next


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