GNU bug report logs - #39554
27.0.50; cairo not composing sequences

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: James Cloos <cloos@HIDDEN>; merged with #23292, #44784; dated Mon, 10 Feb 2020 20:54:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Removed tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 39554 <at> debbugs.gnu.org:


Received: (at 39554) by debbugs.gnu.org; 12 Feb 2022 06:50:58 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Feb 12 01:50:58 2022
Received: from localhost ([127.0.0.1]:33231 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nImFG-0007DV-1O
	for submit <at> debbugs.gnu.org; Sat, 12 Feb 2022 01:50:58 -0500
Received: from eggs.gnu.org ([209.51.188.92]:35112)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1nImFC-0007D4-AO
 for 39554 <at> debbugs.gnu.org; Sat, 12 Feb 2022 01:50:55 -0500
Received: from [2001:470:142:3::e] (port=58624 helo=fencepost.gnu.org)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nImF1-0004qy-IU; Sat, 12 Feb 2022 01:50:46 -0500
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=z4xQ+2UYNPFjr0PLcRGcBp/gvVmKU5R14oaiHbMuZqI=; b=Uead4kOY9ofK
 mJXQAoaMn/ePnOx6khYU7t+Wb1m67wiY2XZMQErWkUy6ztrSfW0Gz3hcES9RtqRRrVL0+s9mtBlXA
 tn7p8j9D9mwTMrrgV52CI2xi4hc/EwHluDVGGaPcWDK+eKgJ3G8OgcWtYDE8QKfFMdjw82jyiRC/z
 jgjiY9nieuIKexwH+lymuA1IEtzqVuInJX1deuSiW9ATlSvDN7kRfAqTQYGcqgZGSq0ui59r2SNVV
 zBZRN0CanwoCeeNEnFo37CsEcMNRU6J2C9AD6f066ZR+M7JwREACgIgdZQ3IkSOpwrw+OJwARPiSG
 88nvGma8n1drFgaqsonVtA==;
Received: from [87.69.77.57] (port=2817 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nImEt-0001K7-DO; Sat, 12 Feb 2022 01:50:37 -0500
Date: Sat, 12 Feb 2022 08:50:27 +0200
Message-Id: <83iltkshn0.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: James Cloos <cloos@HIDDEN>
In-Reply-To: <m3o83d9lxo.fsf@HIDDEN> (message from James Cloos on
 Fri, 11 Feb 2022 15:40:19 -0500)
Subject: Re: bug#39554: 27.0.50; cairo not composing sequences
References: <m37e0u6u5v.fsf@HIDDEN> <83k14tby90.fsf@HIDDEN>
 <m3d0ajd4fq.fsf@HIDDEN> <83lfp7r2za.fsf@HIDDEN>
 <m336beb5ug.fsf@HIDDEN> <83zhdmp75f.fsf@HIDDEN>
 <m3pnei9e8y.fsf@HIDDEN>
 <wlblq2f03h.wl-mituharu@HIDDEN>
 <m3k14pai1g.fsf@HIDDEN> <m2lfp5immv.fsf@HIDDEN>
 <87v8xnche5.fsf@HIDDEN> <m3o83d9lxo.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 39554
Cc: larsi@HIDDEN, rpluim@HIDDEN, 39554 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: James Cloos <cloos@HIDDEN>
> Date: Fri, 11 Feb 2022 15:40:19 -0500
> Cc: Robert Pluim <rpluim@HIDDEN>, 39554 <at> debbugs.gnu.org
> 
> in this case one font is used.
> 
> w/ m17lib+libotf the two glyphs are combined and displayed one atop the other
> (ie, z-axis stacking).
> 
> w/ harfbuzz the two glyphs still are combined but displayed next to each other.
> (ie, x-axis stacking).
> 
> the first way is the correct way.  the latter is a bug.

_If_ it's a bug, it's either in the font or in HarfBuzz.  Not in Emacs.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#39554; Package emacs. Full text available.

Message received at 39554 <at> debbugs.gnu.org:


Received: (at 39554) by debbugs.gnu.org; 11 Feb 2022 20:48:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 11 15:48:57 2022
Received: from localhost ([127.0.0.1]:32851 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nIcqf-0000I0-IF
	for submit <at> debbugs.gnu.org; Fri, 11 Feb 2022 15:48:57 -0500
Received: from ore.jhcloos.com ([192.40.56.151]:48476)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <cloos@HIDDEN>) id 1nIcqa-0000Hm-ET
 for 39554 <at> debbugs.gnu.org; Fri, 11 Feb 2022 15:48:56 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jhcloos.com;
 s=ore17; t=1644612531;
 bh=Am7PicN2yl+/oQdCaor5BnpTGhQOyGIl0KiLeOuE+6Q=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date:From;
 b=iuULh+PphscRboN1OOGL+//ehTdL8uCadZ+k0RwWZopgERWylFJ53HTt+Isby1Epm
 ubjQ6Fq33GHyMtwk74nsSshAGefjInHEheJ54Y8uM29dJDXjnr4MeIMnlGgj4HcOb2
 qFjJNerO/fmg5M+PDfFTuRSzHXSuB5pverzUwQYwL2Kefs/4VPA1s94QtfZb1FZXCC
 3v+WnQ5c5tWPzlIYMV5CVZ1PDF2RAsWMv6n0q/8N1k6XSshlomOnnReD2vZMMtjBCS
 bRQSbdwkJo+Bisr77h8ecgxHt4L4ENhwgbrGI1JEMWACB5a9L/tavCKYMKCvRGmSca
 7fHfj/Rv4PAig==
Received: by ore.jhcloos.com (Postfix, from userid 10)
 id AAA521E34A; Fri, 11 Feb 2022 20:48:51 +0000 (UTC)
Received: by carbon.jhcloos.org (Postfix, from userid 500)
 id 2C632B2A335; Fri, 11 Feb 2022 20:48:45 +0000 (UTC)
From: James Cloos <cloos@HIDDEN>
To: Lars Ingebrigtsen <larsi@HIDDEN>
Subject: Re: bug#39554: 27.0.50; cairo not composing sequences
In-Reply-To: <87v8xnche5.fsf@HIDDEN> (Lars Ingebrigtsen's message of "Thu,
 10 Feb 2022 08:25:38 +0100")
References: <m37e0u6u5v.fsf@HIDDEN> <83k14tby90.fsf@HIDDEN>
 <m3d0ajd4fq.fsf@HIDDEN> <83lfp7r2za.fsf@HIDDEN>
 <m336beb5ug.fsf@HIDDEN> <83zhdmp75f.fsf@HIDDEN>
 <m3pnei9e8y.fsf@HIDDEN>
 <wlblq2f03h.wl-mituharu@HIDDEN>
 <m3k14pai1g.fsf@HIDDEN> <m2lfp5immv.fsf@HIDDEN>
 <87v8xnche5.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
Face: iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAgMAAABinRfyAAAACVBMVEX///8ZGXBQKKnCrDQ3
 AAAAJElEQVQImWNgQAAXzwQg4SKASgAlXIEEiwsSIYBEcLaAtMEAADJnB+kKcKioAAAAAElFTkSu
 QmCC
Copyright: Copyright 2022 James Cloos
OpenPGP: 0x997A9F17ED7DAEA6;
 url=https://jhcloos.com/public_key/0x997A9F17ED7DAEA6.asc
OpenPGP-Fingerprint: E9E9 F828 61A4 6EA9 0F2B  63E7 997A 9F17 ED7D AEA6
Date: Fri, 11 Feb 2022 15:48:45 -0500
Message-ID: <m3iltl9ljm.fsf@HIDDEN>
Lines: 15
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 39554
Cc: Robert Pluim <rpluim@HIDDEN>, 39554 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Oh, i forgot to add:

the Noto fonts (at least Serif and Sans Mono)  also screws up 0̸.

but differently than dejavu sans mono does.

in noto there is a (very) tiny bit of overlap.  It looks like a percent
w/o the lower-right circle.  and the combining slash overlaps the
subsequent glyph.

-JimC
-- 
James Cloos <cloos@HIDDEN>         OpenPGP: 0x997A9F17ED7DAEA6






Information forwarded to bug-gnu-emacs@HIDDEN:
bug#39554; Package emacs. Full text available.

Message received at 39554 <at> debbugs.gnu.org:


Received: (at 39554) by debbugs.gnu.org; 11 Feb 2022 20:40:31 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 11 15:40:30 2022
Received: from localhost ([127.0.0.1]:32845 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nIciU-0008UZ-M1
	for submit <at> debbugs.gnu.org; Fri, 11 Feb 2022 15:40:30 -0500
Received: from ore.jhcloos.com ([192.40.56.151]:48468)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <cloos@HIDDEN>) id 1nIciS-0008UQ-Ah
 for 39554 <at> debbugs.gnu.org; Fri, 11 Feb 2022 15:40:29 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jhcloos.com;
 s=ore17; t=1644612026;
 bh=bar6UBxETbRMXYLX+pU6DKB4JkLFGYZc9xJCluGCKl4=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date:From;
 b=M7r7x2b1ZBLLCGOWu5+jn+t8LOwjO5irD5hfbU7nNuDxoSv1QTvm+Z6SGNtIJIPbc
 ARf9OQ42REOFqO1Fm1unnyYCD3XXNRE43O6tRj9BGyUQUy+wwmx4ufrNBpYt/+FLBG
 P9KGOGlwIdikYY0HTSr8Uk4U4mtFe80TRG2jrFuKuxN8abk5J4XrGLtgo6u2F/hY3s
 cQ3dRkrPHVJtdozbptiITOGDT9RJqhv4MM0Gh9emOymTy3RUqL4N3nGMxUGm4p7sSM
 A9pars0Zzz1T6ay/m0awkuN7M0yWQ7Y/mwYsARiVqyflXSRnPSbjnFn1XBq9obixmM
 u5jKe3Qp4oUhQ==
Received: by ore.jhcloos.com (Postfix, from userid 10)
 id B3E001E34A; Fri, 11 Feb 2022 20:40:26 +0000 (UTC)
Received: by carbon.jhcloos.org (Postfix, from userid 500)
 id BD65FB2DC46; Fri, 11 Feb 2022 20:40:19 +0000 (UTC)
From: James Cloos <cloos@HIDDEN>
To: Lars Ingebrigtsen <larsi@HIDDEN>
Subject: Re: bug#39554: 27.0.50; cairo not composing sequences
In-Reply-To: <87v8xnche5.fsf@HIDDEN> (Lars Ingebrigtsen's message of "Thu,
 10 Feb 2022 08:25:38 +0100")
References: <m37e0u6u5v.fsf@HIDDEN> <83k14tby90.fsf@HIDDEN>
 <m3d0ajd4fq.fsf@HIDDEN> <83lfp7r2za.fsf@HIDDEN>
 <m336beb5ug.fsf@HIDDEN> <83zhdmp75f.fsf@HIDDEN>
 <m3pnei9e8y.fsf@HIDDEN>
 <wlblq2f03h.wl-mituharu@HIDDEN>
 <m3k14pai1g.fsf@HIDDEN> <m2lfp5immv.fsf@HIDDEN>
 <87v8xnche5.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
Face: iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAgMAAABinRfyAAAACVBMVEX///8ZGXBQKKnCrDQ3
 AAAAJElEQVQImWNgQAAXzwQg4SKASgAlXIEEiwsSIYBEcLaAtMEAADJnB+kKcKioAAAAAElFTkSu
 QmCC
Copyright: Copyright 2022 James Cloos
OpenPGP: 0x997A9F17ED7DAEA6;
 url=https://jhcloos.com/public_key/0x997A9F17ED7DAEA6.asc
OpenPGP-Fingerprint: E9E9 F828 61A4 6EA9 0F2B  63E7 997A 9F17 ED7D AEA6
Date: Fri, 11 Feb 2022 15:40:19 -0500
Message-ID: <m3o83d9lxo.fsf@HIDDEN>
Lines: 26
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 39554
Cc: Robert Pluim <rpluim@HIDDEN>, 39554 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

>>>>> "RP" == Robert Pluim <rpluim@HIDDEN> writes:
>>>>> "LI" == Lars Ingebrigtsen <larsi@HIDDEN> writes:

RP>> I donʼt see the issue with DejaVu Sans Mono in an Xft build, and can
RP>> reproduce it in an Xft+Harfbuzz build, so Cairo is not to blame here.

LI> in that case Emacs doesn't combine chars.  So it's a
LI> matter of choosing a font that has wider coverage, I think.

no.

in this case one font is used.

w/ m17lib+libotf the two glyphs are combined and displayed one atop the other
(ie, z-axis stacking).

w/ harfbuzz the two glyphs still are combined but displayed next to each other.
(ie, x-axis stacking).

the first way is the correct way.  the latter is a bug.

-JimC
-- 
James Cloos <cloos@HIDDEN>         OpenPGP: 0x997A9F17ED7DAEA6






Information forwarded to bug-gnu-emacs@HIDDEN:
bug#39554; Package emacs. Full text available.
Forcibly Merged 23292 39554 44784. Request was from Lars Ingebrigtsen <larsi@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 39554 <at> debbugs.gnu.org:


Received: (at 39554) by debbugs.gnu.org; 10 Feb 2022 07:25:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Feb 10 02:25:54 2022
Received: from localhost ([127.0.0.1]:53596 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nI3py-0007mA-JU
	for submit <at> debbugs.gnu.org; Thu, 10 Feb 2022 02:25:54 -0500
Received: from quimby.gnus.org ([95.216.78.240]:44788)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1nI3px-0007lu-6q
 for 39554 <at> debbugs.gnu.org; Thu, 10 Feb 2022 02:25:53 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID
 :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID:
 Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
 :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe:
 List-Post:List-Owner:List-Archive;
 bh=GrQHxlaPHEIINUx0FK8GgwwQihsrYCHY5eyH9XLhXF0=; b=DmhJD7QkaMsDVcExSzge63XcO2
 QM8DWNilp8vFQ7r4KHgaVwPgVFnMebZH7vtzyLEfEvsy0mBg8zAsFZpsm6g7Crd6emOiPEWmmoFaD
 h/2xDtgVu/TCJGFUJKrnsa0AUEGHOMg0O1wiIBfn3G5njtw1cU4Og/l78+R9UqxCSQn0=;
Received: from [84.212.220.105] (helo=giant)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1nI3pj-0003si-6M; Thu, 10 Feb 2022 08:25:41 +0100
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Robert Pluim <rpluim@HIDDEN>
Subject: Re: bug#39554: 27.0.50; cairo not composing sequences
References: <m37e0u6u5v.fsf@HIDDEN> <83k14tby90.fsf@HIDDEN>
 <m3d0ajd4fq.fsf@HIDDEN> <83lfp7r2za.fsf@HIDDEN>
 <m336beb5ug.fsf@HIDDEN> <83zhdmp75f.fsf@HIDDEN>
 <m3pnei9e8y.fsf@HIDDEN>
 <wlblq2f03h.wl-mituharu@HIDDEN>
 <m3k14pai1g.fsf@HIDDEN> <m2lfp5immv.fsf@HIDDEN>
X-Now-Playing: Stina Nordenstam's _Parliament Square_: "Parliament Square
 (Album Version)"
Date: Thu, 10 Feb 2022 08:25:38 +0100
In-Reply-To: <m2lfp5immv.fsf@HIDDEN> (Robert Pluim's message of "Fri, 14
 Feb 2020 09:44:24 +0100")
Message-ID: <87v8xnche5.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 
 Content preview:  Robert Pluim <rpluim@HIDDEN> writes: > I donʼt see the
    issue with DejaVu Sans Mono in an Xft build, and > can reproduce it in an
    Xft+Harfbuzz build, so Cairo is not to blame > here. (I'm going through old
    bug reports that unfortunately weren't resolved at the time.) 
 
 Content analysis details:   (-2.9 points, 5.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
                             [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 39554
Cc: YAMAMOTO Mitsuharu <mituharu@HIDDEN>, 39554 <at> debbugs.gnu.org,
 James Cloos <cloos@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Robert Pluim <rpluim@HIDDEN> writes:

> I don=CA=BCt see the issue with DejaVu Sans Mono in an Xft build, and
> can reproduce it in an Xft+Harfbuzz build, so Cairo is not to blame
> here.

(I'm going through old bug reports that unfortunately weren't resolved
at the time.)

This looks very similar to the problem in bug#44784, and the issue there
was that Emacs was choosing a font for =CC=B7 that's not the same as the fo=
nt
used for 0 -- in that case Emacs doesn't combine chars.  So it's a
matter of choosing a font that has wider coverage, I think.

--=20
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#39554; Package emacs. Full text available.

Message received at 39554 <at> debbugs.gnu.org:


Received: (at 39554) by debbugs.gnu.org; 14 Feb 2020 08:44:36 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 14 03:44:36 2020
Received: from localhost ([127.0.0.1]:60831 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1j2WaS-0007OS-As
	for submit <at> debbugs.gnu.org; Fri, 14 Feb 2020 03:44:36 -0500
Received: from mail-wr1-f47.google.com ([209.85.221.47]:43964)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rpluim@HIDDEN>) id 1j2WaQ-0007OE-3R
 for 39554 <at> debbugs.gnu.org; Fri, 14 Feb 2020 03:44:34 -0500
Received: by mail-wr1-f47.google.com with SMTP id r11so9887742wrq.10
 for <39554 <at> debbugs.gnu.org>; Fri, 14 Feb 2020 00:44:34 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:cc:subject:references:date:in-reply-to:message-id
 :mime-version:content-transfer-encoding;
 bh=t7AxN3FWE6/G9tmU8QG6syecE0j61TZgM5sjvIgEoGg=;
 b=T583kjZkLN6ebjfe8kWOV2H06Vi9gAsg8EBwropQMkO/0EHXd/wikr2yIHL3ujbpch
 vilozPhpr1UqOAR64CSbpk+YtgTQCEPiSxcBJRKKMFhMz5dxoI4L1RiJ2qtRa6fhefpD
 xzJogno5erEWxpHU2Ft82fEvOgvhf+qho15eLZx9j8CUnnezSSSCM7vKVYUlTBaPUAq0
 Ub/xPcy4lod6uYroHqKBZiN/nBwCLB49rzQt6rDR1uk/rx+WJckA+1iMj9xvK8nQAk3s
 FzoxnaQ0Nv8oUCDStqNeLCCOg+j7fT5E9fQQwIxfpb6Q5LcCEQWmb2J4rZU/teYUwhna
 jCNw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
 :message-id:mime-version:content-transfer-encoding;
 bh=t7AxN3FWE6/G9tmU8QG6syecE0j61TZgM5sjvIgEoGg=;
 b=qncAYefBUq6RjADiucbEKQqx8+20PdrCbTI2/JatZif4/ANVAY49b+nRj55FeB6C7D
 CtEEja5Jmz0ECaV3cTr3PiUMhNSgyUcuh7wjaCD3wJIcJq3+XPt8GUh3dTRvCYKni0JV
 deu1T85hjgZ4m7qoff3NXAuLpCT6zHu3UtRZ3ypNhZ6ESePYL5+dytpwa3fCq/nsZDQk
 bsZ4QKkypR9Xj7+FRVuhONjdogjFr5CvocdEebRKJ227jGyFn1rMMcE9HNjukFT3d4lv
 nbe/19iXzUjZnZ3jOhXfwt71a0E6vXRRD3rb9o/okioFRUKlvBGDEp5gHqvm9HqFY0eM
 8iIw==
X-Gm-Message-State: APjAAAXJfnLPhYsNhh6T59gm5ibpfCuIAG7+CFZ0EZM54bmguH7Fbnv5
 w/03t4dY8Trrkz0koTBNhEscUd76
X-Google-Smtp-Source: APXvYqyEFUIV9lvE72AcDGaR+fm8NgKYvnhj1SNmq9soTTBwKGE4hiDK2+RtSUa5n7OIRbdJj4n5cA==
X-Received: by 2002:a5d:568a:: with SMTP id f10mr2883589wrv.180.1581669867693; 
 Fri, 14 Feb 2020 00:44:27 -0800 (PST)
Received: from rpluim-mac ([149.5.228.1])
 by smtp.gmail.com with ESMTPSA id 16sm6255131wmi.0.2020.02.14.00.44.26
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Fri, 14 Feb 2020 00:44:26 -0800 (PST)
From: Robert Pluim <rpluim@HIDDEN>
To: James Cloos <cloos@HIDDEN>
Subject: Re: bug#39554: 27.0.50; cairo not composing sequences
References: <m37e0u6u5v.fsf@HIDDEN> <83k14tby90.fsf@HIDDEN>
 <m3d0ajd4fq.fsf@HIDDEN> <83lfp7r2za.fsf@HIDDEN>
 <m336beb5ug.fsf@HIDDEN> <83zhdmp75f.fsf@HIDDEN>
 <m3pnei9e8y.fsf@HIDDEN>
 <wlblq2f03h.wl-mituharu@HIDDEN>
 <m3k14pai1g.fsf@HIDDEN>
Date: Fri, 14 Feb 2020 09:44:24 +0100
In-Reply-To: <m3k14pai1g.fsf@HIDDEN> (James Cloos's message of
 "Thu, 13 Feb 2020 23:50:51 -0500")
Message-ID: <m2lfp5immv.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 39554
Cc: 39554 <at> debbugs.gnu.org, YAMAMOTO Mitsuharu <mituharu@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

>>>>> On Thu, 13 Feb 2020 23:50:51 -0500, James Cloos <cloos@HIDDEN> s=
aid:

>>>>> "YM" =3D=3D YAMAMOTO Mitsuharu <mituharu@HIDDEN> writes:
    YM> I guess the difference comes from with vs. without HarfBuzz rather
    YM> than cairo vs. xft.

    James> makes sense.

    YM> Could you check if that is the case on your environment?

    James> all i know is that w/o cairo, describe-char reports:

    James>     xft:-unknown-DejaVu Sans Mono-normal-normal-normal-*-22-*-*-=
*-m-0-iso10646-1
    James> by these glyphs:
    James>   [0 1 48 19 13 0 13 17 1 nil]
    James>   [0 1 824 704 0 0 13 17 1 [-13 0 0]]

That=CA=BCs XFT not using harfbuzz

    James> and w/ cairo it reports:

    James>     ftcrhb:-unknown-DejaVu Serif-normal-normal-normal-*-22-*-*-*=
-*-0-iso10646-1
    James> by these glyphs:
    James>   [0 1 48 19 14 1 12 16 0 nil]
    James>   [0 1 824 741 0 -17 -1 18 1 nil]

And this is Cairo using harfbuzz.

    James> I presume that the '0 0 13 17 1 [-13 0 0]' vs '0 -17 -1 18 1 nil'
    James> represents the failed overlay.

    James> and that ftcrhb expands to freetype-cairo-harfbuzz.

    James> it is a pain to dig deep w/o the left hand, but i can try w/ some
    James> leading suggestions.  i haven't looked at the src since before m=
y last
    James> stroke, much less since this one.

I don=CA=BCt see the issue with DejaVu Sans Mono in an Xft build, and
can reproduce it in an Xft+Harfbuzz build, so Cairo is not to blame
here.

Robert




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#39554; Package emacs. Full text available.

Message received at 39554 <at> debbugs.gnu.org:


Received: (at 39554) by debbugs.gnu.org; 14 Feb 2020 04:51:01 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Feb 13 23:51:01 2020
Received: from localhost ([127.0.0.1]:60761 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1j2SwP-0001h1-H7
	for submit <at> debbugs.gnu.org; Thu, 13 Feb 2020 23:51:01 -0500
Received: from ore.jhcloos.com ([192.40.56.151]:55490)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <cloos@HIDDEN>) id 1j2SwN-0001gl-2W
 for 39554 <at> debbugs.gnu.org; Thu, 13 Feb 2020 23:51:00 -0500
Received: by ore.jhcloos.com (Postfix, from userid 10)
 id A33541E49A; Fri, 14 Feb 2020 04:50:57 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jhcloos.com;
 s=ore17; t=1581655857;
 bh=WcYRLG9zY0FERY5ednNLs1ZJ8qTvsZU2zwPU7mqFOHs=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date:From;
 b=Nqf34++NxetamRyHrQCBdb+UrkeUmrFEbbwYhGHRKGTRYecqcRmS9GFxAI82Dipfr
 3Z7xsOaOYMbIu+qCLGPlCSp8g0t4OHbgUWtiQeMVwLQMJ+mT3xJrNDdRBgj7WFCF5M
 HRFD29f1A9YITJ779PN/Trw+iWYwKlvDHsOJ7LQcuNvv18n7Utu2MFlaE3XCMI3fdq
 dAmbgqOYFrPtlEK/DerktrlLrkGJ+a8ber4S/WQX0JYjnim/+KJ79ogVGbkA8MPcjG
 KI94vhzgKkTUnaC83QVpXWs+OnFBwo3dOvxQecZqa47CpGhxTH1+vVIzsY0ifQv7R3
 WbyDSIqE0D6Ag==
Received: by carbon.jhcloos.org (Postfix, from userid 500)
 id 42C65ED84; Fri, 14 Feb 2020 04:50:51 +0000 (UTC)
From: James Cloos <cloos@HIDDEN>
To: YAMAMOTO Mitsuharu <mituharu@HIDDEN>
Subject: Re: bug#39554: 27.0.50; cairo not composing sequences
In-Reply-To: <wlblq2f03h.wl-mituharu@HIDDEN> (YAMAMOTO
 Mitsuharu's message of "Fri, 14 Feb 2020 10:07:14 +0900")
References: <m37e0u6u5v.fsf@HIDDEN> <83k14tby90.fsf@HIDDEN>
 <m3d0ajd4fq.fsf@HIDDEN> <83lfp7r2za.fsf@HIDDEN>
 <m336beb5ug.fsf@HIDDEN> <83zhdmp75f.fsf@HIDDEN>
 <m3pnei9e8y.fsf@HIDDEN>
 <wlblq2f03h.wl-mituharu@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)
Face: iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAgMAAABinRfyAAAACVBMVEX///8ZGXBQKKnCrDQ3
 AAAAJElEQVQImWNgQAAXzwQg4SKASgAlXIEEiwsSIYBEcLaAtMEAADJnB+kKcKioAAAAAElFTkSu
 QmCC
Copyright: Copyright 2019 James Cloos
OpenPGP: 0x997A9F17ED7DAEA6;
 url=https://jhcloos.com/public_key/0x997A9F17ED7DAEA6.asc
OpenPGP-Fingerprint: E9E9 F828 61A4 6EA9 0F2B  63E7 997A 9F17 ED7D AEA6
Date: Thu, 13 Feb 2020 23:50:51 -0500
Message-ID: <m3k14pai1g.fsf@HIDDEN>
Lines: 35
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 39554
Cc: Eli Zaretskii <eliz@HIDDEN>, 39554 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

>>>>> "YM" == YAMAMOTO Mitsuharu <mituharu@HIDDEN> writes:

YM> I guess the difference comes from with vs. without HarfBuzz rather
YM> than cairo vs. xft.

makes sense.

YM> Could you check if that is the case on your environment?

all i know is that w/o cairo, describe-char reports:

    xft:-unknown-DejaVu Sans Mono-normal-normal-normal-*-22-*-*-*-m-0-iso10646-1
by these glyphs:
  [0 1 48 19 13 0 13 17 1 nil]
  [0 1 824 704 0 0 13 17 1 [-13 0 0]]

and w/ cairo it reports:

    ftcrhb:-unknown-DejaVu Serif-normal-normal-normal-*-22-*-*-*-*-0-iso10646-1
by these glyphs:
  [0 1 48 19 14 1 12 16 0 nil]
  [0 1 824 741 0 -17 -1 18 1 nil]

I presume that the '0 0 13 17 1 [-13 0 0]' vs '0 -17 -1 18 1 nil'
represents the failed overlay.

and that ftcrhb expands to freetype-cairo-harfbuzz.

it is a pain to dig deep w/o the left hand, but i can try w/ some
leading suggestions.  i haven't looked at the src since before my last
stroke, much less since this one.

-JimC
-- 
James Cloos <cloos@HIDDEN>         OpenPGP: 0x997A9F17ED7DAEA6




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#39554; Package emacs. Full text available.

Message received at 39554 <at> debbugs.gnu.org:


Received: (at 39554) by debbugs.gnu.org; 14 Feb 2020 01:07:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Feb 13 20:07:17 2020
Received: from localhost ([127.0.0.1]:60695 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1j2PRt-0004kp-LP
	for submit <at> debbugs.gnu.org; Thu, 13 Feb 2020 20:07:17 -0500
Received: from mathmail.math.s.chiba-u.ac.jp ([133.82.132.2]:59884)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mituharu@HIDDEN>) id 1j2PRs-0004kh-Fk
 for 39554 <at> debbugs.gnu.org; Thu, 13 Feb 2020 20:07:17 -0500
Received: from mathent.math.s.chiba-u.ac.jp (mathent [192.168.32.5])
 by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id E3C25F08C6;
 Fri, 14 Feb 2020 10:07:14 +0900 (JST)
 (envelope-from mituharu@HIDDEN)
Date: Fri, 14 Feb 2020 10:07:14 +0900
Message-ID: <wlblq2f03h.wl-mituharu@HIDDEN>
From: YAMAMOTO Mitsuharu <mituharu@HIDDEN>
To: James Cloos <cloos@HIDDEN>
Subject: Re: bug#39554: 27.0.50; cairo not composing sequences
In-Reply-To: <m3pnei9e8y.fsf@HIDDEN>
References: <m37e0u6u5v.fsf@HIDDEN> <83k14tby90.fsf@HIDDEN>
 <m3d0ajd4fq.fsf@HIDDEN> <83lfp7r2za.fsf@HIDDEN>
 <m336beb5ug.fsf@HIDDEN> <83zhdmp75f.fsf@HIDDEN>
 <m3pnei9e8y.fsf@HIDDEN>
User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue)
 FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.8 EasyPG/1.0.0 Emacs/26
 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)
Organization: Faculty of Science, Chiba University
MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue")
Content-Type: text/plain; charset=US-ASCII
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 39554
Cc: Eli Zaretskii <eliz@HIDDEN>, 39554 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

On Fri, 14 Feb 2020 09:58:05 +0900,
James Cloos wrote:
> 
> >>>>> "EZ" == Eli Zaretskii <eliz@HIDDEN> writes:
> 
> EZ> I don't think I agree.  This font has problems with combining accents,
> 
> if xft is to be depricated in favour of cairo, then anything which works
> in xft but fails in cairo is be definition a regression.
> 
> and ir works perfectly irrespective of font with xft.
> 
> so the fact that --with-cairo gets it wrong is indisputably a regression
> in emacs on x11.

I guess the difference comes from with vs. without HarfBuzz rather
than cairo vs. xft.  Could you check if that is the case on your
environment?

				     YAMAMOTO Mitsuharu
				mituharu@HIDDEN




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#39554; Package emacs. Full text available.

Message received at 39554 <at> debbugs.gnu.org:


Received: (at 39554) by debbugs.gnu.org; 14 Feb 2020 00:58:15 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Feb 13 19:58:15 2020
Received: from localhost ([127.0.0.1]:60682 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1j2PJ8-0004VP-SJ
	for submit <at> debbugs.gnu.org; Thu, 13 Feb 2020 19:58:15 -0500
Received: from ore.jhcloos.com ([192.40.56.151]:55448)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <cloos@HIDDEN>) id 1j2PJ7-0004VH-Ck
 for 39554 <at> debbugs.gnu.org; Thu, 13 Feb 2020 19:58:13 -0500
Received: by ore.jhcloos.com (Postfix, from userid 10)
 id 1F4A71E367; Fri, 14 Feb 2020 00:58:12 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jhcloos.com;
 s=ore17; t=1581641892;
 bh=10YrJ9fS5/VDbUeJuH2RsIOfNHJGagPR77zVxQuqrws=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date:From;
 b=lPUL/Yi/Fswji+PuC4fCBpKzmy6pbu6+0Pma/VISsClFEvWr4pucWoHyvgdoLmk+Q
 HGek/dlQXEHZQU/LA4LmtR8bNDLT1J7EVaeX9KR79jkt9Aovm1NTNSyoHw2lIUhNyM
 +QfV578ykGPVL+pIWvzBo1rfZ2A7AG8cJ6TwKcFqv0twhBS18toQz+GEo3QiXUIqdm
 iE38LSCU+w/Hoqe+/D6oWYBvTN4309ZntGM5uCdLRx96VilBsXZACNhgGICmI38a13
 evN2UPbUByJfDdDDX5hS5nxHgGGHdKh2zli+mfjvy6zYFjY0wsrcAcTMd806Ir1KuK
 paB1V6etuJvLQ==
Received: by carbon.jhcloos.org (Postfix, from userid 500)
 id B410724F73; Fri, 14 Feb 2020 00:58:05 +0000 (UTC)
From: James Cloos <cloos@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#39554: 27.0.50; cairo not composing sequences
In-Reply-To: <83zhdmp75f.fsf@HIDDEN> (Eli Zaretskii's message of "Thu, 13 Feb
 2020 22:24:44 +0200")
References: <m37e0u6u5v.fsf@HIDDEN> <83k14tby90.fsf@HIDDEN>
 <m3d0ajd4fq.fsf@HIDDEN> <83lfp7r2za.fsf@HIDDEN>
 <m336beb5ug.fsf@HIDDEN> <83zhdmp75f.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)
Face: iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAgMAAABinRfyAAAACVBMVEX///8ZGXBQKKnCrDQ3
 AAAAJElEQVQImWNgQAAXzwQg4SKASgAlXIEEiwsSIYBEcLaAtMEAADJnB+kKcKioAAAAAElFTkSu
 QmCC
Copyright: Copyright 2019 James Cloos
OpenPGP: 0x997A9F17ED7DAEA6;
 url=https://jhcloos.com/public_key/0x997A9F17ED7DAEA6.asc
OpenPGP-Fingerprint: E9E9 F828 61A4 6EA9 0F2B  63E7 997A 9F17 ED7D AEA6
Date: Thu, 13 Feb 2020 19:58:05 -0500
Message-ID: <m3pnei9e8y.fsf@HIDDEN>
Lines: 15
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 39554
Cc: 39554 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

>>>>> "EZ" == Eli Zaretskii <eliz@HIDDEN> writes:

EZ> I don't think I agree.  This font has problems with combining accents,

if xft is to be depricated in favour of cairo, then anything which works
in xft but fails in cairo is be definition a regression.

and ir works perfectly irrespective of font with xft.

so the fact that --with-cairo gets it wrong is indisputably a regression
in emacs on x11.

-JimC
-- 
James Cloos <cloos@HIDDEN>         OpenPGP: 0x997A9F17ED7DAEA6




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#39554; Package emacs. Full text available.

Message received at 39554 <at> debbugs.gnu.org:


Received: (at 39554) by debbugs.gnu.org; 13 Feb 2020 20:24:49 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Feb 13 15:24:49 2020
Received: from localhost ([127.0.0.1]:60524 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1j2L2X-0002QV-8K
	for submit <at> debbugs.gnu.org; Thu, 13 Feb 2020 15:24:49 -0500
Received: from eggs.gnu.org ([209.51.188.92]:56845)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1j2L2V-0002QI-Kv
 for 39554 <at> debbugs.gnu.org; Thu, 13 Feb 2020 15:24:47 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e]:35756)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1j2L2Q-0005Sv-71; Thu, 13 Feb 2020 15:24:42 -0500
Received: from [176.228.60.248] (port=4320 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1j2L2P-0008Oa-N1; Thu, 13 Feb 2020 15:24:42 -0500
Date: Thu, 13 Feb 2020 22:24:44 +0200
Message-Id: <83zhdmp75f.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: James Cloos <cloos@HIDDEN>
In-reply-to: <m336beb5ug.fsf@HIDDEN> (message from James Cloos on
 Thu, 13 Feb 2020 15:16:39 -0500)
Subject: Re: bug#39554: 27.0.50; cairo not composing sequences
References: <m37e0u6u5v.fsf@HIDDEN> <83k14tby90.fsf@HIDDEN>
 <m3d0ajd4fq.fsf@HIDDEN> <83lfp7r2za.fsf@HIDDEN>
 <m336beb5ug.fsf@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 39554
Cc: 39554 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

> From: James Cloos <cloos@HIDDEN>
> Cc: 39554 <at> debbugs.gnu.org
> Date: Thu, 13 Feb 2020 15:16:39 -0500
> 
> It does work correctly when i turn on variable-pitch-mode, which here is
> set to use DejaVu Serif.
> 
> But xft does fine with DejaVu Sans Mono.
> 
> This bug remains a regression and requires a fix.

I don't think I agree.  This font has problems with combining accents,
see this discussion:

  https://lists.freedesktop.org/archives/harfbuzz/2019-August/007422.html




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#39554; Package emacs. Full text available.

Message received at 39554 <at> debbugs.gnu.org:


Received: (at 39554) by debbugs.gnu.org; 13 Feb 2020 20:16:50 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Feb 13 15:16:50 2020
Received: from localhost ([127.0.0.1]:60520 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1j2Kuo-0001cv-El
	for submit <at> debbugs.gnu.org; Thu, 13 Feb 2020 15:16:50 -0500
Received: from ore.jhcloos.com ([192.40.56.151]:55442)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <cloos@HIDDEN>) id 1j2Kul-0001a5-Kl
 for 39554 <at> debbugs.gnu.org; Thu, 13 Feb 2020 15:16:48 -0500
Received: by ore.jhcloos.com (Postfix, from userid 10)
 id F038B1E4A8; Thu, 13 Feb 2020 20:16:45 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jhcloos.com;
 s=ore17; t=1581625006;
 bh=HRP1vn/YyL0hOYnQl8nOd03EAT+qnIY42Ct6qvqVddQ=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date:From;
 b=uL4tyZPqDd3juhs7mTr8aC2fbfU+RWE6VSbcIydH4NAH6GXa5i99WxE7cHvVSVAgo
 /Z9jKZKjLyvLAsioPqPP9LO5FS+duArANNF4V+JlmkpzhDRXevdTlFM44XAc++foi9
 b/7Lox8NNZEAFXYYlejIqTOhT/7rIb/1EmfZaZhM18pYPy65RkS4aZx2GCtGfBTmmO
 fUNl0TR2yepTnWJr0dxg2Bu3RU58sJfH1JmwCXN1w79ygzriJo2UcgwpImPxg+YwtE
 RSRYJX3D3PeQJIZs0IWX8F4FvlfkREQKIh9cNyVn4wf1K7oBufwuVn9AzR4EGN8zml
 2ZGqopo0ikLeg==
Received: by carbon.jhcloos.org (Postfix, from userid 500)
 id 8E29724F73; Thu, 13 Feb 2020 20:16:39 +0000 (UTC)
From: James Cloos <cloos@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#39554: 27.0.50; cairo not composing sequences
In-Reply-To: <83lfp7r2za.fsf@HIDDEN> (Eli Zaretskii's message of "Wed, 12 Feb
 2020 21:59:37 +0200")
References: <m37e0u6u5v.fsf@HIDDEN> <83k14tby90.fsf@HIDDEN>
 <m3d0ajd4fq.fsf@HIDDEN> <83lfp7r2za.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)
Face: iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAgMAAABinRfyAAAACVBMVEX///8ZGXBQKKnCrDQ3
 AAAAJElEQVQImWNgQAAXzwQg4SKASgAlXIEEiwsSIYBEcLaAtMEAADJnB+kKcKioAAAAAElFTkSu
 QmCC
Copyright: Copyright 2019 James Cloos
OpenPGP: 0x997A9F17ED7DAEA6;
 url=https://jhcloos.com/public_key/0x997A9F17ED7DAEA6.asc
OpenPGP-Fingerprint: E9E9 F828 61A4 6EA9 0F2B  63E7 997A 9F17 ED7D AEA6
Date: Thu, 13 Feb 2020 15:16:39 -0500
Message-ID: <m336beb5ug.fsf@HIDDEN>
Lines: 10
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 39554
Cc: 39554 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

It does work correctly when i turn on variable-pitch-mode, which here is
set to use DejaVu Serif.

But xft does fine with DejaVu Sans Mono.

This bug remains a regression and requires a fix.

-JimC
-- 
James Cloos <cloos@HIDDEN>         OpenPGP: 0x997A9F17ED7DAEA6




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#39554; Package emacs. Full text available.

Message received at 39554 <at> debbugs.gnu.org:


Received: (at 39554) by debbugs.gnu.org; 12 Feb 2020 19:59:50 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 12 14:59:50 2020
Received: from localhost ([127.0.0.1]:59087 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1j1yAo-0001H4-4R
	for submit <at> debbugs.gnu.org; Wed, 12 Feb 2020 14:59:50 -0500
Received: from eggs.gnu.org ([209.51.188.92]:50273)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1j1yAl-0001Gs-OS
 for 39554 <at> debbugs.gnu.org; Wed, 12 Feb 2020 14:59:48 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e]:41057)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1j1yAg-0000FE-9Q; Wed, 12 Feb 2020 14:59:42 -0500
Received: from [176.228.60.248] (port=2577 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1j1yAc-0004wi-CB; Wed, 12 Feb 2020 14:59:39 -0500
Date: Wed, 12 Feb 2020 21:59:37 +0200
Message-Id: <83lfp7r2za.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: James Cloos <cloos@HIDDEN>
In-reply-to: <m3d0ajd4fq.fsf@HIDDEN> (message from James Cloos on
 Wed, 12 Feb 2020 13:51:53 -0500)
Subject: Re: bug#39554: 27.0.50; cairo not composing sequences
References: <m37e0u6u5v.fsf@HIDDEN> <83k14tby90.fsf@HIDDEN>
 <m3d0ajd4fq.fsf@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 39554
Cc: 39554 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

[Please keep the bug number on the CC list.]

> From: James Cloos <cloos@HIDDEN>
> Date: Wed, 12 Feb 2020 13:51:53 -0500
> 
> >>>>> "EZ" == Eli Zaretskii <eliz@HIDDEN> writes:
> 
> >> Sequences like 0̸ fail to display composed in master --with-cairo but do
> >> when usin xft.
> 
> EZ> Please show a complete reproducing recipe for this problem.
> 
> The 0̸ in thequoted line is one.

Sorry, I failed to realize that ̸ was a combining accent, not an ASCII
slash.

In an Emacs built with HarfBuzz on MS-Windows, if I use a font that
has support for ̸, I do see these two characters composed into a single
glyph whose width is as that of a single character.  But if I use
DejaVu Sans Mono, I indeed see a double-width grapheme cluster.  So I
think this might be related to font selection somehow.  Can you try
different monospaced fonts and see if the results in the Cairo build
are better with other fonts?

> EZ> This means that the font backend couldn't produce a single glyph for
> EZ> the character combination, for some reason, so it displayed the
> EZ> original glyphs as a single grapheme cluster.  IOW, character
> EZ> composition did work, it just didn't find a precomposed glyph in the
> EZ> font, or maybe the precomposed glyph was rejected for some reason.
> 
> It is not supposed to be looking for precomposed glyphs.  It is supposed
> to be rendering each combining glyph on top of the base glyph.  Just
> like xft does.

The way character composition works in Emacs, we first ask the font
for precomposed glyphs, and display them if the font has them.  If
that fails, then we combine the separate glyphs ourselves.  See
compose-gstring-for-graphic.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#39554; Package emacs. Full text available.

Message received at 39554 <at> debbugs.gnu.org:


Received: (at 39554) by debbugs.gnu.org; 12 Feb 2020 18:54:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 12 13:54:42 2020
Received: from localhost ([127.0.0.1]:59048 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1j1x9m-0008BA-MQ
	for submit <at> debbugs.gnu.org; Wed, 12 Feb 2020 13:54:42 -0500
Received: from ore.jhcloos.com ([192.40.56.151]:55432)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <cloos@HIDDEN>) id 1j1x9k-0008B1-Pm
 for 39554 <at> debbugs.gnu.org; Wed, 12 Feb 2020 13:54:41 -0500
Received: by ore.jhcloos.com (Postfix, from userid 10)
 id CF2C31E03A; Wed, 12 Feb 2020 18:54:38 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jhcloos.com;
 s=ore17; t=1581533678;
 bh=1LbZKlzaXYpDInF/kUw4qV68ycuV674PnSxSiaoOIXE=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date:From;
 b=Xti/Vi5dxpUVJGFyiHfd9JuAtNly0LKjhWjFzcC34AQ2Js+v35pNuOXsMsD674T7O
 6XGOPwQMpei/5810zg2GLtvhy+iyE9jZ5p3h6WdEKZVFCt0+xMFiRd6VI7q0IECfjC
 EwHGjyjZMHeVyv26Yr+SV/xFYeQ7A1d8C8YCIVpWWt8PgCW0qy0fNILfm8Q7ccoF+p
 AtrDxuQUilAf9IFgs7ZTsiuhAs4krhmRdWMVdXl3g69ViUvvPGIdu5h4oZ558raTDP
 mtx9z/jkthnu/aHONzPodq+seOMM5PFEd4R6PiGi9Ma+OKhL3w1AYXqhE0jAJO9N4X
 2ldyhwV7M2xqw==
Received: by carbon.jhcloos.org (Postfix, from userid 500)
 id 6CE2724F75; Wed, 12 Feb 2020 18:54:32 +0000 (UTC)
From: James Cloos <cloos@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#39554: 27.0.50; cairo not composing sequences
In-Reply-To: <83imkdby70.fsf@HIDDEN> (Eli Zaretskii's message of "Tue, 11 Feb
 2020 05:27:31 +0200")
References: <m37e0u6u5v.fsf@HIDDEN> <83imkdby70.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)
Face: iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAgMAAABinRfyAAAACVBMVEX///8ZGXBQKKnCrDQ3
 AAAAJElEQVQImWNgQAAXzwQg4SKASgAlXIEEiwsSIYBEcLaAtMEAADJnB+kKcKioAAAAAElFTkSu
 QmCC
Copyright: Copyright 2019 James Cloos
OpenPGP: 0x997A9F17ED7DAEA6;
 url=https://jhcloos.com/public_key/0x997A9F17ED7DAEA6.asc
OpenPGP-Fingerprint: E9E9 F828 61A4 6EA9 0F2B  63E7 997A 9F17 ED7D AEA6
Date: Wed, 12 Feb 2020 13:54:32 -0500
Message-ID: <m37e0rd4bb.fsf@HIDDEN>
Lines: 12
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 39554
Cc: 39554 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

>>>>> "EZ" == Eli Zaretskii <eliz@HIDDEN> writes:

EZ> And one more thing: if your master branch is at version 27.0.50, then
EZ> it is quite old.  Please try the latest master or the emacs-27 branch.

as i noted in my followup, master this month (at least) breaks gnus, so i
must still use december's compile for mail.  but the tests were on master
of the day i sent them.

-JimC
-- 
James Cloos <cloos@HIDDEN>         OpenPGP: 0x997A9F17ED7DAEA6




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#39554; Package emacs. Full text available.

Message received at 39554 <at> debbugs.gnu.org:


Received: (at 39554) by debbugs.gnu.org; 11 Feb 2020 03:27:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Feb 10 22:27:52 2020
Received: from localhost ([127.0.0.1]:55758 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1j1MDI-0006cZ-18
	for submit <at> debbugs.gnu.org; Mon, 10 Feb 2020 22:27:52 -0500
Received: from eggs.gnu.org ([209.51.188.92]:50459)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1j1MDG-0006cK-6L
 for 39554 <at> debbugs.gnu.org; Mon, 10 Feb 2020 22:27:50 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e]:36659)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1j1MDA-0005UM-Vn; Mon, 10 Feb 2020 22:27:45 -0500
Received: from [176.228.60.248] (port=2365 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1j1MD9-0006C8-Ro; Mon, 10 Feb 2020 22:27:44 -0500
Date: Tue, 11 Feb 2020 05:27:31 +0200
Message-Id: <83imkdby70.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: James Cloos <cloos@HIDDEN>
In-reply-to: <m37e0u6u5v.fsf@HIDDEN> (message from James Cloos on
 Mon, 10 Feb 2020 15:53:32 -0500)
Subject: Re: bug#39554: 27.0.50; cairo not composing sequences
References: <m37e0u6u5v.fsf@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 39554
Cc: 39554 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

> From: James Cloos <cloos@HIDDEN>
> Date: Mon, 10 Feb 2020 15:53:32 -0500
> 
> Sequences like 0̸ fail to display composed in master --with-cairo but do
> when usin xft.

And one more thing: if your master branch is at version 27.0.50, then
it is quite old.  Please try the latest master or the emacs-27 branch.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#39554; Package emacs. Full text available.

Message received at 39554 <at> debbugs.gnu.org:


Received: (at 39554) by debbugs.gnu.org; 11 Feb 2020 03:26:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Feb 10 22:26:38 2020
Received: from localhost ([127.0.0.1]:55754 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1j1MC6-0006am-Kh
	for submit <at> debbugs.gnu.org; Mon, 10 Feb 2020 22:26:38 -0500
Received: from eggs.gnu.org ([209.51.188.92]:49266)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1j1MC4-0006aa-Sn
 for 39554 <at> debbugs.gnu.org; Mon, 10 Feb 2020 22:26:37 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e]:36644)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1j1MBz-0002O9-Av; Mon, 10 Feb 2020 22:26:31 -0500
Received: from [176.228.60.248] (port=2289 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1j1MBy-0004UK-Lw; Mon, 10 Feb 2020 22:26:31 -0500
Date: Tue, 11 Feb 2020 05:26:19 +0200
Message-Id: <83k14tby90.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: James Cloos <cloos@HIDDEN>
In-reply-to: <m37e0u6u5v.fsf@HIDDEN> (message from James Cloos on
 Mon, 10 Feb 2020 15:53:32 -0500)
Subject: Re: bug#39554: 27.0.50; cairo not composing sequences
References: <m37e0u6u5v.fsf@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 39554
Cc: 39554 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

> From: James Cloos <cloos@HIDDEN>
> Date: Mon, 10 Feb 2020 15:53:32 -0500
> 
> Sequences like 0̸ fail to display composed in master --with-cairo but do
> when usin xft.

Please show a complete reproducing recipe for this problem.

> In a version w/o cairo I get:
> 
> Composed with the following character(s) "̸" using this font:
>   xft:-unknown-DejaVu Sans Mono-normal-normal-normal-*-22-*-*-*-m-0-iso10646-1
> by these glyphs:
> 
> and the single char takes up the same width as any ascii letter.
> 
> W/ cair i get:
> 
> Composed with the following character(s) "̸" using this font:
>   ftcrhb:-unknown-DejaVu Sans Mono-normal-normal-normal-*-22-*-*-*-m-0-iso10646-1
> by these glyphs:
>   [0 1 48 19 13 1 12 16 0 nil]
>   [0 1 824 704 13 0 13 17 1 nil]
> 
> and the single char takes twice the expected width, but still works as a
> sing;e char.  OTOH, in the *Help* buffer '"̸"' is three separate chars.
> Buth with xft '"̸"' displays with the slash overlaying the first ".
> As it should.

This means that the font backend couldn't produce a single glyph for
the character combination, for some reason, so it displayed the
original glyphs as a single grapheme cluster.  IOW, character
composition did work, it just didn't find a precomposed glyph in the
font, or maybe the precomposed glyph was rejected for some reason.

We need the detailed use case to investigate.

Please also tell what is your version of HarfBuzz, in case this
matters.

And in the XFT case, what was the shaping engine? was it libflt?

Thanks.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#39554; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 10 Feb 2020 20:53:47 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Feb 10 15:53:47 2020
Received: from localhost ([127.0.0.1]:55520 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1j1G3v-0003hu-Bx
	for submit <at> debbugs.gnu.org; Mon, 10 Feb 2020 15:53:47 -0500
Received: from lists.gnu.org ([209.51.188.17]:49072)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <cloos@HIDDEN>) id 1j1G3t-0003hn-Ff
 for submit <at> debbugs.gnu.org; Mon, 10 Feb 2020 15:53:45 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:36704)
 by lists.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <cloos@HIDDEN>) id 1j1G3s-0004xB-4B
 for bug-gnu-emacs@HIDDEN; Mon, 10 Feb 2020 15:53:45 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,URIBL_BLOCKED
 autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <cloos@HIDDEN>) id 1j1G3q-0001Hk-SP
 for bug-gnu-emacs@HIDDEN; Mon, 10 Feb 2020 15:53:43 -0500
Received: from ore.jhcloos.com ([192.40.56.151]:60074)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <cloos@HIDDEN>) id 1j1G3q-00013z-7w
 for bug-gnu-emacs@HIDDEN; Mon, 10 Feb 2020 15:53:42 -0500
Received: by ore.jhcloos.com (Postfix, from userid 10)
 id 25AF11E5B6; Mon, 10 Feb 2020 20:53:39 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jhcloos.com;
 s=ore17; t=1581368019;
 bh=r2rtrxcqZoR88nVp9RniYZMqooDqFAXNfd015mScrTM=;
 h=From:To:Subject:Date:From;
 b=aO7ZxmWvQadHSpF6KlDz6SywVboRlOSh1v03ig4paZeR2piOFZ3eRwSuoXTd51hrA
 bKG4KfNG/eUn4QrRJu+5qjFr7Ubk3OnGuIUhGswDUJ1JtLgzyZVMHSeeMB05F2Qn0z
 uACl6mys/h6J49AcW235TPAJzftAy6FmW7wq5l7RgHdIYz2acBGLpuXQ4JFejE81Bm
 BlOqCTd3mvhIi6G6+lEvdj9A0yQ6+fQCwmHjY0AALsXkEmCg7XBca8YtQe9EwMzJ5c
 +8ou1ZpO4IozS8NTmyHMmaH+twLM+JCqW4Wwz82uMUAfSuIii0+/zRxBq+WFJN1/9o
 OUXYH2rXwp+dQ==
Received: by carbon.jhcloos.org (Postfix, from userid 500)
 id B86CDED84; Mon, 10 Feb 2020 20:53:32 +0000 (UTC)
From: James Cloos <cloos@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 27.0.50; cairo not composing sequences
User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/27.0 (gnu/linux)
Face: iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAgMAAABinRfyAAAACVBMVEX///8ZGXBQKKnCrDQ3
 AAAAJElEQVQImWNgQAAXzwQg4SKASgAlXIEEiwsSIYBEcLaAtMEAADJnB+kKcKioAAAAAElFTkSu
 QmCC
Copyright: Copyright 2019 James Cloos
OpenPGP: 0x997A9F17ED7DAEA6;
 url=https://jhcloos.com/public_key/0x997A9F17ED7DAEA6.asc
OpenPGP-Fingerprint: E9E9 F828 61A4 6EA9 0F2B  63E7 997A 9F17 ED7D AEA6
Date: Mon, 10 Feb 2020 15:53:32 -0500
Message-ID: <m37e0u6u5v.fsf@HIDDEN>
Lines: 30
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
X-Received-From: 192.40.56.151
X-Spam-Score: 0.2 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.8 (/)

Sequences like 0=CC=B8 fail to display composed in master --with-cairo bu=
t do
when usin xft.

In a version w/o cairo I get:

Composed with the following character(s) "=CC=B8" using this font:
  xft:-unknown-DejaVu Sans Mono-normal-normal-normal-*-22-*-*-*-m-0-iso10=
646-1
by these glyphs:

and the single char takes up the same width as any ascii letter.

W/ cair i get:

Composed with the following character(s) "=CC=B8" using this font:
  ftcrhb:-unknown-DejaVu Sans Mono-normal-normal-normal-*-22-*-*-*-m-0-is=
o10646-1
by these glyphs:
  [0 1 48 19 13 1 12 16 0 nil]
  [0 1 824 704 13 0 13 17 1 nil]

and the single char takes twice the expected width, but still works as a
sing;e char.  OTOH, in the *Help* buffer '"=CC=B8"' is three separate cha=
rs.
Buth with xft '"=CC=B8"' displays with the slash overlaying the first ".
As it should.

The ftcrhb: code needs to display the combining chars over the base
chars like the earlier code does.

-JimC
--=20
James Cloos <cloos@HIDDEN>         OpenPGP: 0x997A9F17ED7DAEA6




Acknowledgement sent to James Cloos <cloos@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#39554; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 12 Mar 2022 22:45:02 UTC

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