From: Lars Ingebrigtsen <larsi@gnus.org>
To: Protesilaos Stavrou <info@protesilaos.com>
Cc: 57976@debbugs.gnu.org
Subject: bug#57976: 29.0.50; Complex emoji have extra spacing
Date: Wed, 21 Sep 2022 16:03:02 +0200 [thread overview]
Message-ID: <8735ckakq1.fsf@gnus.org> (raw)
In-Reply-To: <87illgq1qf.fsf@protesilaos.com> (Protesilaos Stavrou's message of "Wed, 21 Sep 2022 16:46:32 +0300")
Protesilaos Stavrou <info@protesilaos.com> writes:
> I get these:
>
> (string-pixel-width "😶🌫️")
> ;; => 136
>
> (string-pixel-width "🤣")
> ;; => 16
Wow. So Emacs gets the dimensions of 😶🌫️ really, really wrong with that
harfbuzz version. 😶🌫️ is composed of
FACE WITHOUT MOUTH
ZERO WIDTH JOINER
FOG
VARIATION SELECTOR-16
so even if it counted all four of those separately, we'd just get to
(* 16 4) = 64, not 136...
next prev parent reply other threads:[~2022-09-21 14:03 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-21 10:17 bug#57976: 29.0.50; Complex emoji have extra spacing Protesilaos Stavrou
2022-09-21 10:30 ` Lars Ingebrigtsen
2022-09-21 10:48 ` Protesilaos Stavrou
2022-09-21 10:53 ` Lars Ingebrigtsen
2022-09-21 13:20 ` Protesilaos Stavrou
2022-09-21 13:35 ` Lars Ingebrigtsen
2022-09-21 13:46 ` Protesilaos Stavrou
2022-09-21 14:03 ` Lars Ingebrigtsen [this message]
2022-09-22 2:00 ` YAMAMOTO Mitsuharu
2022-09-22 7:08 ` Eli Zaretskii
2022-09-23 5:21 ` YAMAMOTO Mitsuharu
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=8735ckakq1.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=57976@debbugs.gnu.org \
--cc=info@protesilaos.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).