Subject: Re: bug#44020: 28.0.50; Prefer selection of colour emoji fonts?

From: Stephen Berman <[email-masked]>
Date: Mon, 19 Oct 2020 21:03:49 +0200

On Mon, 19 Oct 2020 21:52:13 +0300 Eli Zaretskii <[email-masked]> wrote:

>> From: Robert Pluim <[email-masked]>
>> Cc: [email-masked],  [email-masked]
>> Date: Mon, 19 Oct 2020 20:34:41 +0200
>> 
>> (set-fontset-font t 'emoji '("Apple Color Emoji . "iso1064601") nil
>> 'prepend)
>> 
>> It *should* work as-is on GNU/Linux, but for some reason Emacs is
>> completely refusing to use any Emoji fonts for me there. Itʼs possible
>> Iʼve messed up my system somehow, since emacs-27 has the same issue,
>> but Iʼm seeing some very suspicious results from
>> ftcrfont_glyph_extents (the font average width is always 0), so perhaps
>> we need to adjust our font code.
>
> Didn't someone say they can see color emoji on Cairo?

Yes, Lars noted (and I confirm) that the following two lines suffice:

(set-fontset-font t 'symbol "Noto Color Emoji")
(set-fontset-font t 'symbol "Symbola" nil 'append)

Steve Berman