bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#57976: 29.0.50; Complex emoji have extra spacing


From: Lars Ingebrigtsen
Subject: bug#57976: 29.0.50; Complex emoji have extra spacing
Date: Wed, 21 Sep 2022 16:03:02 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

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...





reply via email to

[Prev in Thread] Current Thread [Next in Thread]