unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Will Chang <will.b.chang@gmail.com>
Cc: mituharu+bug-gnu-emacs-mac@math.s.chiba-u.ac.jp, 54441@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	[thread overview]
Message-ID: <83k0cqffsd.fsf@gnu.org> (raw)
In-Reply-To: <CAGe6RqQg3mda8-0s38tSYcKnk1jOBMsfuCVq9Vj1BT3yTNfxtw@mail.gmail.com> (message from Will Chang on Sat, 19 Mar 2022 17:24:17 +0800)

> 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	other threads:[~2022-03-19  9:33 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-18  3:41 bug#54441: 28.0.92; set-language-environment causes Apple Color Emoji cannot show up Will Chang
2022-03-18  6:51 ` Eli Zaretskii
     [not found]   ` <CAGe6RqR4U=ha8G967=+YEeS_bLUkSXRLAZKRrNGBY6kHkHxa-g@mail.gmail.com>
2022-03-19  6:53     ` Eli Zaretskii
2022-03-19  8:51       ` Will Chang
2022-03-19  9:24         ` Will Chang
2022-03-19  9:33           ` Eli Zaretskii [this message]
2022-03-19  9:36             ` Will Chang
2022-03-19 10:24               ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83k0cqffsd.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=54441@debbugs.gnu.org \
    --cc=mituharu+bug-gnu-emacs-mac@math.s.chiba-u.ac.jp \
    --cc=will.b.chang@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).