From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: landing harfbuzz branch (Re: Status of multicolor fonts?) Date: Sun, 05 May 2019 19:02:11 +0300 Message-ID: <831s1clwjg.fsf@gnu.org> References: <567169C8.9010006@gmail.com> <83d1u61o31.fsf@gnu.org> <5671E3C4.3030403@gmail.com> <83v9z33o9m.fsf@gnu.org> <837ebfx2dd.fsf@gnu.org> <8336lumwfq.fsf@gnu.org> <9f48497b63cb793ddab474d9bc8f954c.squirrel@weber.math.s.chiba-u.ac.jp> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="169911"; mail-complaints-to="usenet@blaine.gmane.org" Cc: emacs-devel@gnu.org To: mituharu@math.s.chiba-u.ac.jp Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun May 05 18:03:25 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hNJbp-000i0P-3O for ged-emacs-devel@m.gmane.org; Sun, 05 May 2019 18:03:25 +0200 Original-Received: from localhost ([127.0.0.1]:43076 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hNJbn-0000nU-U3 for ged-emacs-devel@m.gmane.org; Sun, 05 May 2019 12:03:23 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:52402) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hNJax-0000JQ-Fg for emacs-devel@gnu.org; Sun, 05 May 2019 12:02:32 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:49579) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hNJax-00032s-Cm; Sun, 05 May 2019 12:02:31 -0400 Original-Received: from [176.228.60.248] (port=2346 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hNJaw-0004i5-IQ; Sun, 05 May 2019 12:02:31 -0400 In-reply-to: <9f48497b63cb793ddab474d9bc8f954c.squirrel@weber.math.s.chiba-u.ac.jp> (mituharu@math.s.chiba-u.ac.jp) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:236177 Archived-At: > Date: Sun, 5 May 2019 08:42:58 +0900 > From: mituharu@math.s.chiba-u.ac.jp > Cc: emacs-devel@gnu.org > > >> Date: Fri, 3 May 2019 18:59:26 +0900 > >> From: mituharu@math.s.chiba-u.ac.jp > >> > >> The attached patch is against the harfbuzz branch, and it adds > >> `xfthb' and `ftcrhb' backends that use HarfBuzz for shaping. I > >> also tried adding the `mac-cthb' backend, but it is not included > >> in the patch. > > > > Thanks! Please push to the harfbuzz branch, I'd like people to try > > this and report feedback. > > Done. Thanks. > >> With the `ftcrhb' font backend, one can now display regional flag > >> emojis: > > > > What would we need to be able to display those emojis in the xfthb > > backend? > > Xft does not support multicolor fonts, but text shaping itself > will work for the xfthb font backend and monochrome fonts that > support emoji flag sequences. At least, "Noto Emoji" (not "Noto > Color Emoji") seems to work. You mean Xft cannot access the attributes of color fonts that are needed to display color emoji? Does HarfBuzz itself have interfaces which could allow to access those attributes? Or is the Xft problem something else?