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: Thu, 3 Dec 2020 09:18:15 +0100 Message-ID: <20201203091815.32af30af@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> 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="552"; 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 Thu Dec 03 09:19:11 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 1kkjpX-000AWT-1c for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 03 Dec 2020 09:19:11 +0100 Original-Received: from localhost ([::1]:40820 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kkjpV-00059H-TY for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 03 Dec 2020 03:19:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38850) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kkjpO-00058j-9V for bug-gnu-emacs@gnu.org; Thu, 03 Dec 2020 03:19:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54844) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kkjpO-0005C8-2H for bug-gnu-emacs@gnu.org; Thu, 03 Dec 2020 03:19:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kkjpN-0005bb-Tg for bug-gnu-emacs@gnu.org; Thu, 03 Dec 2020 03:19:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: tastytea Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 03 Dec 2020 08:19:01 +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.160698350821497 (code B ref 43148); Thu, 03 Dec 2020 08:19:01 +0000 Original-Received: (at 43148) by debbugs.gnu.org; 3 Dec 2020 08:18:28 +0000 Original-Received: from localhost ([127.0.0.1]:38157 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kkjom-0005ac-KP for submit@debbugs.gnu.org; Thu, 03 Dec 2020 03:18:28 -0500 Original-Received: from mail.tzend.de ([185.244.193.180]:46029) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kkjoj-0005aR-5r for 43148@debbugs.gnu.org; Thu, 03 Dec 2020 03:18:23 -0500 Original-Received: by mail.tzend.de (Postfix, from userid 112) id 5D5FB9A04EB; Thu, 3 Dec 2020 09:18:19 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tzend.de; s=mail; t=1606983499; bh=kO8tMrE8nIIhkc9bsk04iQ3MpBRHDkDpwHrPmo8Afyg=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=icIsAdEJNqMoaQSQxY9Kc63Euud9VGCW7LPjzKb7+i6F2Bu6Hn7YqdW8lL3su5/+7 b372H3EROjKFodHo16b37tUJJXLWYvuEUDTUrEhBv0LknDf1oZQIIiVkRNJThHpc/U +J9XU7zk5MHUBFJVAU9wrOPFI7c6ecWdbNRdrV2I= Original-Received: from ventiloplattform.tastytea.de (p200300c08712ce0044df48c39d525042.dip0.t-ipconnect.de [IPv6:2003:c0:8712:ce00:44df:48c3:9d52:5042]) by mail.tzend.de (Postfix) with ESMTPSA id DAE0E9A04B6; Thu, 3 Dec 2020 09:18:18 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tzend.de; s=mail; t=1606983499; bh=kO8tMrE8nIIhkc9bsk04iQ3MpBRHDkDpwHrPmo8Afyg=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=icIsAdEJNqMoaQSQxY9Kc63Euud9VGCW7LPjzKb7+i6F2Bu6Hn7YqdW8lL3su5/+7 b372H3EROjKFodHo16b37tUJJXLWYvuEUDTUrEhBv0LknDf1oZQIIiVkRNJThHpc/U +J9XU7zk5MHUBFJVAU9wrOPFI7c6ecWdbNRdrV2I= 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:194850 Archived-At: On 2020-12-03 11:13+0900 YAMAMOTO Mitsuharu wrote: > On Tue, 01 Dec 2020 22:10:32 +0900, > tastytea wrote: > >=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 take a > > > > > Eli> 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" ? Yes, exactly like the screenshot in the first message. > 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. The list is huge, are the first 10 lines enough? 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" When I saw that the first entry is an OTF font I remembered that I configured Emacs --without-libotf, so I enabled the m17n-lib useflag which enables --with-libotf --with-m17n-flt, but that didn't change anything. I also set=20 Emacs*font: DejaVu Sans Regular-12 in ~/.Xresources, but that didn't help either.