GNU bug report logs - #65993
29.1; emoji-insert show nothing without font settings

Previous Next

Package: emacs;

Reported by: awrhygty <at> outlook.com

Date: Fri, 15 Sep 2023 12:07:01 UTC

Severity: normal

Merged with 65138

Found in version 29.1

Full log


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

From: awrhygty <at> outlook.com
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 65993 <at> debbugs.gnu.org
Subject: Re: bug#65993: 29.1; emoji-insert show nothing without font settings
Date: Sat, 16 Sep 2023 15:12:42 +0900
Eli Zaretskii <eliz <at> 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?




This bug report was last modified 1 year and 276 days ago.

Previous Next


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