all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Will Chang <will.b.chang@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
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 17:36:17 +0800	[thread overview]
Message-ID: <CAGe6RqRfxFC=WfW8rLQibExZ4PMdHoXSi0MWMHCVZfgHvMddwA@mail.gmail.com> (raw)
In-Reply-To: <83k0cqffsd.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 960 bytes --]

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?
>

[-- Attachment #2: Type: text/html, Size: 1850 bytes --]

  reply	other threads:[~2022-03-19  9:36 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
2022-03-19  9:36             ` Will Chang [this message]
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

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

  git send-email \
    --in-reply-to='CAGe6RqRfxFC=WfW8rLQibExZ4PMdHoXSi0MWMHCVZfgHvMddwA@mail.gmail.com' \
    --to=will.b.chang@gmail.com \
    --cc=54441@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=mituharu+bug-gnu-emacs-mac@math.s.chiba-u.ac.jp \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.