Subject: Re: bug#57976: 29.0.50; Complex emoji have extra spacing

From: Lars Ingebrigtsen <[email-masked]>
Date: Wed, 21 Sep 2022 16:03:02 +0200

Protesilaos Stavrou <[email-masked]> 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...