From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#39799: 28.0.50; Most emoji sequences =?UTF-8?Q?don=E2=80=99t?= render correctly Date: Fri, 28 Feb 2020 10:25:22 +0200 Message-ID: <835zfrglu5.fsf@gnu.org> References: <83lfongp4p.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="13431"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 39799@debbugs.gnu.org To: Mike FABIAN Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Feb 28 09:26:13 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1j7ayL-0003Pe-6b for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 28 Feb 2020 09:26:13 +0100 Original-Received: from localhost ([::1]:43442 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j7ayK-0007Vf-9Q for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 28 Feb 2020 03:26:12 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43177) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j7ayD-0007VY-Tx for bug-gnu-emacs@gnu.org; Fri, 28 Feb 2020 03:26:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j7ayC-0005Hq-Um for bug-gnu-emacs@gnu.org; Fri, 28 Feb 2020 03:26:05 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54651) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j7ayA-0005BN-Vg for bug-gnu-emacs@gnu.org; Fri, 28 Feb 2020 03:26:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j7ay9-00066q-LX for bug-gnu-emacs@gnu.org; Fri, 28 Feb 2020 03:26:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 28 Feb 2020 08:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39799 X-GNU-PR-Package: emacs Original-Received: via spool by 39799-submit@debbugs.gnu.org id=B39799.158287834823465 (code B ref 39799); Fri, 28 Feb 2020 08:26:01 +0000 Original-Received: (at 39799) by debbugs.gnu.org; 28 Feb 2020 08:25:48 +0000 Original-Received: from localhost ([127.0.0.1]:60624 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j7axv-00066P-WD for submit@debbugs.gnu.org; Fri, 28 Feb 2020 03:25:48 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:56250) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j7axu-00066D-Dh for 39799@debbugs.gnu.org; Fri, 28 Feb 2020 03:25:46 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:51189) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1j7axp-000451-AA; Fri, 28 Feb 2020 03:25:41 -0500 Original-Received: from [176.228.60.248] (port=3084 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1j7axk-0002Kz-KI; Fri, 28 Feb 2020 03:25:40 -0500 In-reply-to: (message from Mike FABIAN on Fri, 28 Feb 2020 08:36:10 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:176559 Archived-At: > From: Mike FABIAN > Cc: 39799@debbugs.gnu.org > Date: Fri, 28 Feb 2020 08:36:10 +0100 > > > Patches are welcome to convert the emoji-related files in Unicode's > > character database into appropriate composition-function-table setup, > > similar to the example above. Some script to be run at Emacs build > > time and produce, say, lisp/emoji.el to populate > > composition-function-table, would be nice (see the Awk scripts in > > admin/unidata as one source of inspiration). > > Pango also has a .c file which is generated by a python script from > the Unicode emoji data files to make all these sequences known to Pango. > > I can try to write a script. Would it be OK to use Python for such a > script generating emoji.el? I'd prefer not to add Python as prerequisite for building Emacs. We already use Awk, so using that'd be fine. Alternatively, we could do it in Emacs Lisp, similar to unidata-gen.el, but that requires some care because we cannot run Lisp programs until we have some version of Emacs. > > If you mean they are not displayed in correct colors, then Emacs > > doesn't yet support color emoji, we lack some infrastructure for > > that. Again, work in that area is welcome, it should be relatively > > easy since we now have HarfBuzz support for text shaping. > > Actually the color display works already. I tested with current master > (build with cairo) and the emoji display just fine in color. Maybe in a Cairo build. Or maybe I'm missing something.