unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Duncan Bayne <duncan@bayne.id.au>
Cc: 74337@debbugs.gnu.org
Subject: bug#74337: 29.4; Visiting a file with Unicode emojis is very slow
Date: Thu, 14 Nov 2024 16:31:43 +0200	[thread overview]
Message-ID: <86h689khtc.fsf@gnu.org> (raw)
In-Reply-To: <86msi2115c.fsf@bayne.id.au> (message from Duncan Bayne on Thu, 14 Nov 2024 22:42:29 +1100)

> From: Duncan Bayne <duncan@bayne.id.au>
> Cc: 74337@debbugs.gnu.org
> Date: Thu, 14 Nov 2024 22:42:29 +1100
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > OK, so how many fonts do you have installed overall on that system?
> > What do the following expressions yield when evaluated with "M-:"?
> >
> >   (length (font-family-list))
> >   (length (x-list-fonts "*" 'default))
> 
> (length (font-family-list)) returns 10775.
> (length (x-list-fonts "*" 'default)) returns 7333.

Whoa! it's a small surprise you need to wait for so long when some
character has no font.  Why do you have so many fonts installed? do
you really need them?

> > If you install Noto Color Emoji, Emacs should use that font by default
> > for displaying emoji.
> 
> I have installed Noto from packages with:
> 
> pkg install -y \
>     noto \
>     noto-emoji \
> 
> ... and refreshed my font cache with:
> 
> fc-cache -fv
> 
> I've attached the log from fc-cache.
> 
> With this all done, most of the emoji in the file are rendered properly,
> but a few still appear as tofu, and it still takes minutes to open.

Those characters that show as tofu are not emoji.  I suggest to
install Symbola, it should have them displayed correctly.





  reply	other threads:[~2024-11-14 14:31 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-13 12:13 bug#74337: 29.4; Visiting a file with Unicode emojis is very slow Duncan Bayne
2024-11-13 15:10 ` Eli Zaretskii
     [not found]   ` <861pzeevpy.fsf@bayne.id.au>
2024-11-13 20:33     ` Eli Zaretskii
2024-11-13 20:47       ` Duncan Bayne
2024-11-14  6:41         ` Eli Zaretskii
2024-11-14 11:42           ` Duncan Bayne
2024-11-14 14:31             ` Eli Zaretskii [this message]
2024-11-14 14:49               ` Robert Pluim
2024-11-16 11:29                 ` Duncan Bayne
2024-11-16 13:22                   ` 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=86h689khtc.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=74337@debbugs.gnu.org \
    --cc=duncan@bayne.id.au \
    /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).