From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Entering emojis Date: Thu, 28 Oct 2021 12:11:20 +0300 Message-ID: <83mtmttsxz.fsf@gnu.org> References: <87cznths5j.fsf@gnus.org> <83zgqxymd3.fsf@gnu.org> <878rygj4gt.fsf@gnus.org> <83wnm0zz0q.fsf@gnu.org> <874k94j3rn.fsf@gnus.org> <83v91kzydh.fsf@gnu.org> <87tuh4holf.fsf@gnus.org> <822aec9d01909cecfc6c@heytings.org> <87a6iwhltf.fsf@gnus.org> <83tuh4zfg5.fsf@gnu.org> <87y26gfobr.fsf@gnus.org> <87tuh4f1ie.fsf@gnus.org> <0353A9DA-0041-4D71-8E1B-09FB07A5FD0F@acm.org> <87ilxialzw.fsf@igel.home> <831r46wj6r.fsf@gnu.org> <83fssmuxui.fsf@gnu.org> <83bl3aux6y.fsf@gnu.org> <835ytiuvm9.fsf@gnu.org> <834k91vgie.fsf@gnu.org> <8ff3b131c5fa370d9eaf@heytings.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40783"; mail-complaints-to="usenet@ciao.gmane.io" Cc: mattiase@acm.org, raman@google.com, schwab@linux-m68k.org, stefankangas@gmail.com, emacs-devel@gnu.org To: Gregory Heytings Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Oct 28 11:12:20 2021 Return-path: Envelope-to: ged-emacs-devel@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 1mg1SN-000ANR-Oj for ged-emacs-devel@m.gmane-mx.org; Thu, 28 Oct 2021 11:12:19 +0200 Original-Received: from localhost ([::1]:52990 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mg1SL-0004BW-Uj for ged-emacs-devel@m.gmane-mx.org; Thu, 28 Oct 2021 05:12:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41162) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mg1RS-0003Uh-LW for emacs-devel@gnu.org; Thu, 28 Oct 2021 05:11:22 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:42072) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mg1RR-0002y4-91; Thu, 28 Oct 2021 05:11:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=0tdvoFxCkmJkuH1WnIXAGgBsAF/XC15C3ixsf5hRDXM=; b=SPDpCwrcIgVT TnI3o+drpOkps8VSXRkiNL0RX0y8/tkl+pBt1Kqe8H3mEMNTehtbsT71LFKLTXj1ddIBj5LgNtc3/ 4sWaZCGZaURZW8A2iD0G7sOU1O5Ip3q2ZidzOwLUFl6P0ZcKkmY3v1eUEjdtnjD5uiyD58eLLwJ8z pzjoUEvnPpjJ8Hu3QH6OU+nwVH1+W+TzYilld7T0+o02oxE0sqBmqesdsqM9OEBm8UStqqf9IDZxK zBukRcVo1zjYYQK2WCrSd7YorUR67UmvzisfXA9D7PLhUO5J8Y1NLgeNTPKN0jMba8mfeRvWBaNos DaDbeG80Oun8NzOf3QQK7w==; Original-Received: from [87.69.77.57] (port=1954 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mg1RQ-00028G-Oa; Thu, 28 Oct 2021 05:11:21 -0400 In-Reply-To: <8ff3b131c5fa370d9eaf@heytings.org> (message from Gregory Heytings on Thu, 28 Oct 2021 06:50:57 +0000) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:278071 Archived-At: > Date: Thu, 28 Oct 2021 06:50:57 +0000 > From: Gregory Heytings > cc: mattiase@acm.org, emacs-devel@gnu.org, schwab@linux-m68k.org, > stefankangas@gmail.com, raman@google.com > > > We don't know what software they used for layout, do we? > > We do: the metadata of the PDF file indicate that this file has been > produced by LibreOffice 5.4. > > But why does it matter? The author of that font produced that PDF to > demonstrate what the font does. Complex text layout needs two players: the font and the shaping engine. Each one must do its part of the job correctly; the font alone is not enough. The shaping engine is part of the editor that produces the display, that's why I asked which one was that. > > What does hb-view show for that text with those fonts? If it shows > > correct display, the problem is somewhere in Emacs. > > See attached. The two vertical joiners are not rendered correctly, > perhaps they are misplaced/misused in the input? But the rendering seems > better than that of Emacs. Better in what sense? The vertical arrangement is still wrong; it looks like HarfBuzz understood incorrectly which glyph should be above which, and the formatting controls were not removed from display. Of course, all of that could be due to my own mistakes, in how I decided to type the codepoints for this display and/or in the character-composition support for Egyptian hieroglyphs that I added. Feel free to find what part(s) I did wrongly. How does LibreOffice display the same text?