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: Protesilaos Stavrou
Subject: bug#57976: 29.0.50; Complex emoji have extra spacing
Date: Wed, 21 Sep 2022 16:46:32 +0300
User-agent: Notmuch/0.37 (https://notmuchmail.org) Emacs/29.0.50 (x86_64-pc-linux-gnu)

> From: Lars Ingebrigtsen <larsi@gnus.org>
> Date: Wed, 21 Sep 2022 15:35:02 +0200
>
> Protesilaos Stavrou <info@protesilaos.com> writes:
>
>> I have no reproducible recipe with harfbuzz 5.2.0 beside Emacs.  I wrote
>> the M-x emoji-list buffer to a file and visited it with a generic text
>> editor: the display looks fine.
>
> If you take one of the emojis that displayed correctly and one that was
> wrong and then say
>
> (string-pixel-width "πŸ˜Άβ€πŸŒ«οΈ")
>
> on both -- what does that return?  From the display, it kinda looked
> like Emacs thought that some of the glyphs were really wide.

I get these:

    (string-pixel-width "πŸ˜Άβ€πŸŒ«οΈ")
    ;; => 136

    (string-pixel-width "🀣")
    ;; => 16

-- 
Protesilaos Stavrou
https://protesilaos.com

reply via email to

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