GNU bug report logs - #44020
28.0.50; Prefer selection of colour emoji fonts?

Previous Next

Package: emacs;

Reported by: Lars Ingebrigtsen <larsi <at> gnus.org>

Date: Thu, 15 Oct 2020 18:12:01 UTC

Severity: normal

Found in version 28.0.50

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Robert Pluim <rpluim <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 44020 <at> debbugs.gnu.org, larsi <at> gnus.org
Subject: bug#44020: 28.0.50; Prefer selection of colour emoji fonts?
Date: Mon, 19 Oct 2020 20:34:41 +0200
[Message part 1 (text/plain, inline)]
>>>>> On Mon, 19 Oct 2020 17:55:55 +0300, Eli Zaretskii <eliz <at> gnu.org> said:

    >> From: Robert Pluim <rpluim <at> gmail.com>
    >> Cc: 44020 <at> debbugs.gnu.org,  Eli Zaretskii <eliz <at> gnu.org>
    >> Date: Mon, 19 Oct 2020 12:56:33 +0200
    >> 
    >> So revisiting this, it turns out I have *two* features sitting in my workspace:
    >> 
    >> 1. splitting out the emoji into a separate script and setting the right
    >> fontset
    >> 2. adding composition rules for the zwj emoji described in
    >> emoji-zwj-sequences.txt
    >> 
    >> [2] has some complications regarding the default display of the
    >> variation-selector, so I始ll leave that aside for now, and continue on
    >> updating [1] to Unicode 13.0

    Eli> Thanks.

    Eli> Can you summarize the problems with [2]?  I thought we had all of that
    Eli> figured out back when we discussed this.

Perhaps we did: I have no clear memory of what we decided, so I始ll
have to go and re-read it.

I始m attaching a gzipped patch for emoji support (it contains the
entire emoji-data.txt from Unicode 13.0 馃檪), which works for me on
macOS when I do

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

Testing appreciated.

Robert
-- 
[0001-emoji-using-blocks.txt.patch.gz (application/octet-stream, attachment)]

This bug report was last modified 3 years and 198 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.