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

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

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


From: Robert Pluim
Subject: bug#44020: 28.0.50; Prefer selection of colour emoji fonts?
Date: Mon, 19 Oct 2020 20:34:41 +0200

>>>>> On Mon, 19 Oct 2020 17:55:55 +0300, Eli Zaretskii <eliz@gnu.org> said:

    >> From: Robert Pluim <rpluim@gmail.com>
    >> Cc: 44020@debbugs.gnu.org,  Eli Zaretskii <eliz@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
-- 

Attachment: 0001-emoji-using-blocks.txt.patch.gz
Description: Binary data


reply via email to

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