From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: tastytea via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#43148: 27.1; Widget text seems to disappear when building with Cairo and Xaw Date: Sat, 5 Dec 2020 08:14:21 +0100 Message-ID: <20201205081421.564d4032@ventiloplattform.tastytea.de> References: <87bliqnsnv.fsf@PouarArch.i-did-not-set--mail-host-address--so-tickle-me> <83ft81wpv5.fsf@gnu.org> <87pn42np74.fsf@tcd.ie> <20201201141032.79c4fa5f@ventiloplattform.tastytea.de> <20201203091815.32af30af@ventiloplattform.tastytea.de> <20201204102824.47d79f28@ventiloplattform.tastytea.de> Reply-To: tastytea Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37889"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "Basil L. Contovounesios" , Robert Pluim , Pouar Dragon , 43148@debbugs.gnu.org To: YAMAMOTO Mitsuharu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 05 08:15:24 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1klRmt-0009fR-Pf for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 05 Dec 2020 08:15:23 +0100 Original-Received: from localhost ([::1]:58534 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1klRms-00056p-9A for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 05 Dec 2020 02:15:22 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46164) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1klRmY-00056X-LX for bug-gnu-emacs@gnu.org; Sat, 05 Dec 2020 02:15:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34914) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1klRmY-0001cS-Ab for bug-gnu-emacs@gnu.org; Sat, 05 Dec 2020 02:15:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1klRmY-0002dJ-6F for bug-gnu-emacs@gnu.org; Sat, 05 Dec 2020 02:15:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: tastytea Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 05 Dec 2020 07:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43148 X-GNU-PR-Package: emacs Original-Received: via spool by 43148-submit@debbugs.gnu.org id=B43148.160715247110072 (code B ref 43148); Sat, 05 Dec 2020 07:15:02 +0000 Original-Received: (at 43148) by debbugs.gnu.org; 5 Dec 2020 07:14:31 +0000 Original-Received: from localhost ([127.0.0.1]:46460 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klRm2-0002cN-Fd for submit@debbugs.gnu.org; Sat, 05 Dec 2020 02:14:31 -0500 Original-Received: from mail.tzend.de ([185.244.193.180]:45151) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klRlv-0002c8-UU for 43148@debbugs.gnu.org; Sat, 05 Dec 2020 02:14:28 -0500 Original-Received: by mail.tzend.de (Postfix, from userid 112) id A3BC89A04EB; Sat, 5 Dec 2020 08:14:22 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tzend.de; s=mail; t=1607152462; bh=zVwhWvpi+q2vq77w9VO/qP2SAi7a5gab1ngtpTd4JoA=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=ZinhEXdxZNn+AK96rc1EQ1OqJiLhXiCgugT94XH/4YGy+LRoanzjDBv5KskJhrL0u kaXzCxot/3Mn426cseKNVqnqvfZLl7XhWk/xRdBghfD8QOUg8eREH4pS833YALHeYT r5BNxMDjjTvSRNhFfhwluCpDOUrhQF/vrT1l7T/Y= Original-Received: from ventiloplattform.tastytea.de (p200300c08712ce003415fcf271e94eb7.dip0.t-ipconnect.de [IPv6:2003:c0:8712:ce00:3415:fcf2:71e9:4eb7]) by mail.tzend.de (Postfix) with ESMTPSA id 3BFB49A04B6; Sat, 5 Dec 2020 08:14:22 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tzend.de; s=mail; t=1607152462; bh=zVwhWvpi+q2vq77w9VO/qP2SAi7a5gab1ngtpTd4JoA=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=ZinhEXdxZNn+AK96rc1EQ1OqJiLhXiCgugT94XH/4YGy+LRoanzjDBv5KskJhrL0u kaXzCxot/3Mn426cseKNVqnqvfZLl7XhWk/xRdBghfD8QOUg8eREH4pS833YALHeYT r5BNxMDjjTvSRNhFfhwluCpDOUrhQF/vrT1l7T/Y= In-Reply-To: Jabber-ID: tastytea@tastytea.de X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:195018 Archived-At: On 2020-12-05 15:51+0900 YAMAMOTO Mitsuharu wrote: > On Fri, 04 Dec 2020 18:28:24 +0900, > tastytea wrote: > >=20 > > [1 ] > > On 2020-12-04 17:41+0900 YAMAMOTO Mitsuharu > > wrote: > > =20 > > > On Thu, 03 Dec 2020 17:18:15 +0900, > > > tastytea wrote: =20 > > > >=20 > > > > On 2020-12-03 11:13+0900 YAMAMOTO Mitsuharu > > > > wrote: > > > > =20 > > > > > On Tue, 01 Dec 2020 22:10:32 +0900, > > > > > tastytea wrote: =20 > > > > > >=20 > > > > > > On 2020-11-28 17:22+0900 YAMAMOTO Mitsuharu > > > > > > wrote: > > > > > > =20 > > > > > > > On Wed, 25 Nov 2020 11:30:07 +0900, > > > > > > > Basil L. Contovounesios wrote: =20 > > > > > > > >=20 > > > > > > > > Robert Pluim writes: > > > > > > > > =20 > > > > > > > > >>>>>> On Tue, 01 Sep 2020 17:09:18 +0300, Eli Zaretskii > > > > > > > > >>>>>> said: =20 > > > > > > > > > =20 > > > > > > > > > >> From: Pouar Dragon > > > > > > > > > >> Date: Mon, 31 Aug 2020 21:34:46 -0500 > > > > > > > > > >>=20 > > > > > > > > > >> widgets when building with Xaw and Cairo seem > > > > > > > > > >> to have missing text, looking like this > > > > > > > > > >>=20 > > > > > > > > > >> problem seems to go away when > > > > > > > > > >> 5f4e8e2e088de9fb76cb631077c6eddd3219f594 is > > > > > > > > > >> reverted =20 > > > > > > > > > =20 > > > > > > > > > Eli> Thanks. I hope Yamamoto-san will be able to > > > > > > > > > Eli> take a look at this. =20 > > > > > > > > > > > > > > > > > > Putting on my 'let's simplify' hat, is this really a > > > > > > > > > combination we want to spend time on? Lucid + Xaw + > > > > > > > > > Cairo is decidedly non-mainstream (I=CA=BCm surprised it > > > > > > > > > even builds). =20 > > > > > > > >=20 > > > > > > > > FWIW, I've been happily using Lucid + Xaw3D for several > > > > > > > > years, and Cairo ever since it became stable in Emacs 27 > > > > > > > > and the default configuration in Emacs 28. > > > > > > > >=20 > > > > > > > > I usually have menu-bar-mode off, but like other > > > > > > > > reports in this thread, the menus look fine when I do > > > > > > > > open them, e.g. after 'emacs -Q'. > > > > > > > >=20 > > > > > > > > Could the issue depend on e.g. the version of Cairo? (I > > > > > > > > seem to have an older version than the OP.) =20 > > > > > > >=20 > > > > > > > Possibly. The OP seems to use cairo 1.17.3, which is not > > > > > > > a release version (the latest is 1.16.0) and even not the > > > > > > > snapshot one (the latest is 1.17.2 according to > > > > > > > https://cairographics.org). =20 > > > > > >=20 > > > > > > I experience the same issue as the OP with lucid and cairo > > > > > > 1.16.0, with and without xaw3d, on Gentoo Linux. The problem > > > > > > goes away if I disable cairo. > > > > > > The same happens with 28.0.50, commit > > > > > > 1a3aa6043a51e5bb4007889dd7dcabb55dc44132. =20 > > > > >=20 > > > > > So, only digits are shown with "$ emacs -Q" ? =20 > > > >=20 > > > > Yes, exactly like the screenshot in the first message. > > > > =20 > > > > > Could you show us the output of "$ fc-match -s sans" ? > > > > >=20 > > > > > I tried the latest snapshot cairo 1.17.4 on XQuartz/macOS, > > > > > and I don't see any problems. On my side, "$ fc-match -s > > > > > sans" reports Arial Unicode.ttf at the first line. =20 > > > >=20 > > > > The list is huge, are the first 10 lines enough? > > > >=20 > > > > SourceSansPro-Regular.otf: "Source Sans Pro" "Regular" > > > > NotoColorEmoji.ttf: "Noto Color Emoji" "Regular" > > > > LiberationSans-Regular.ttf: "Liberation Sans" "Regular" > > > > DejaVuSans.ttf: "DejaVu Sans" "Book" > > > > DejaVuSans-Bold.ttf: "DejaVu Sans" "Bold" > > > > DejaVuSans-Oblique.ttf: "DejaVu Sans" "Oblique" > > > > DejaVuSans-BoldOblique.ttf: "DejaVu Sans" "Bold Oblique" > > > > luxisr.ttf: "Luxi Sans" "Regular" > > > > l048013t.pfa: "Luxi Sans" "Regular" > > > > n019003l.pfb: "Nimbus Sans L" "Regular" =20 > > >=20 > > > Thanks. I conjectured Noto Color Emoji, which contains digit > > > glyphs but not for letter ones, would come first. But that is > > > not the case. I don't know why Source Sans Pro is not used then > > > (libotf is for handling OTF features and not necessary just for > > > displaying). > > >=20 > > > Anyway, could you try if the following patch works? =20 > >=20 > > With the patch I get rectangles instead of letters. > >=20 > > I removed Noto Color Emoji from my font configuration in > > ~/.config/fontconfig/fonts.conf and that did the trick. The menus > > are showing text now with and without the patch. But I have no idea > > why, all other programs work fine with that configuration: =20 >=20 > I could reproduce the problem with your configuration. > Could you try the patch below? Yes! Thanks, that worked. :-)