unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: awrhygty@outlook.com
To: Eli Zaretskii <eliz@gnu.org>
Cc: 65993@debbugs.gnu.org
Subject: bug#65993: 29.1; emoji-insert show nothing without font settings
Date: Sat, 16 Sep 2023 15:12:42 +0900	[thread overview]
Message-ID: <TYZPR01MB392083D74994117E0BDB95E7C3F5A@TYZPR01MB3920.apcprd01.prod.exchangelabs.com> (raw)
In-Reply-To: <83led7jvni.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 15 Sep 2023 11:36:42 -0400")

Eli Zaretskii <eliz@gnu.org> writes:

>> And once emoji-insert is called before font setting,
>> emoji-insert does not show emoji items after they are made visible in
>> emacs buffer with font settings.
>
> This is not a bug: you need to clear the font cache to get Emacs to
> react to newly-installed fonts without restarting Emacs.  Like this:
>
>   M-: (clear-font-cache) RET

Evaluating (clear-font-cache) have no effect on emoji-insert.
Perhaps menu items are cached in another place.

>> Here is a sample setting to display emojis:
>>   (set-fontset-font nil '(#x1f000 . #x1faff) "Segoe UI Emoji")
>
> Segoe UI Emoji is not a free font, so we cannot advertise it in Emacs.
> You could tell Emacs about any fonts you have that support Emoji by
> using the function w32-find-non-USB-fonts, see its doc string for
> details.

Segoe UI was an only font for most of emojis installed in my PC.
In this case, I think emacs should find the font by default.

> In addition, Emacs 29 comes pre-configured to use the Noto Emoji font
> on MS-Windows for showing Emoji, but you need to install that font
> first.

Is Noto Color Emoji font is supported by emacs on MS-Windows?





  reply	other threads:[~2023-09-16  6:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-15 12:06 bug#65993: 29.1; emoji-insert show nothing without font settings awrhygty
2023-09-15 15:36 ` Eli Zaretskii
2023-09-16  6:12   ` awrhygty [this message]
2023-09-16  6:47     ` Eli Zaretskii
2023-09-17  9:37       ` awrhygty
2023-09-17 10:42         ` 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=TYZPR01MB392083D74994117E0BDB95E7C3F5A@TYZPR01MB3920.apcprd01.prod.exchangelabs.com \
    --to=awrhygty@outlook.com \
    --cc=65993@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /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).