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>; dated Mon, 10 Feb 2020 20:54:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

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: Thu, 13 Feb 2020 20:15:02 UTC

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