From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Greg A. Woods" Newsgroups: gmane.emacs.bugs Subject: bug#53924: 26.1; fontification sometimes fails for some characters despite available glyphs Date: Thu, 10 Feb 2022 15:34:05 -0800 Message-ID: References: <838ruitqu9.fsf@gnu.org> Reply-To: "Greg A. Woods" , 53924@debbugs.gnu.org Mime-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: multipart/signed; boundary="pgp-sign-Multipart_Thu_Feb_10_15:33:53_2022-1"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29865"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?Q?Goj=C5=8D?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/26.1 (x86_64--netbsd) MULE/6.0 (HANACHIRUSATO) Cc: 53924@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Feb 11 00:35:17 2022 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 1nIIy4-0007Xp-CO for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 11 Feb 2022 00:35:16 +0100 Original-Received: from localhost ([::1]:52172 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nIIy2-0004GA-Rg for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 10 Feb 2022 18:35:14 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:43632) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nIIxq-0004Em-SL for bug-gnu-emacs@gnu.org; Thu, 10 Feb 2022 18:35:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35510) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nIIxq-00066i-Hf for bug-gnu-emacs@gnu.org; Thu, 10 Feb 2022 18:35:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nIIxq-00025P-5t for bug-gnu-emacs@gnu.org; Thu, 10 Feb 2022 18:35:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: "Greg A. Woods" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 10 Feb 2022 23:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53924 X-GNU-PR-Package: emacs Original-Received: via spool by 53924-submit@debbugs.gnu.org id=B53924.16445360547952 (code B ref 53924); Thu, 10 Feb 2022 23:35:02 +0000 Original-Received: (at 53924) by debbugs.gnu.org; 10 Feb 2022 23:34:14 +0000 Original-Received: from localhost ([127.0.0.1]:57640 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nIIx0-000246-Av for submit@debbugs.gnu.org; Thu, 10 Feb 2022 18:34:14 -0500 Original-Received: from [198.96.117.51] (port=56973 helo=central.weird.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nIIwy-00023x-W1 for 53924@debbugs.gnu.org; Thu, 10 Feb 2022 18:34:09 -0500 Original-Received: from (invalid client hostname: bind: DNS error: DNS lookup for A for 'more.local': Unknown host)more.local ((no PTR matching greeting name (Invalid rDNS PTR target 'd207-6-82-137.bchsia.telus.net': bind: DNS error: DNS lookup for A for 'd207-6-82-137.bchsia.telus.net': Unknown host))d207-6-82-137.bchsia.telus.net[207.6.82.137] port=60411) by central.weird.com([198.96.117.51] port=587) via TCP with esmtp (5224 bytes) (sender: ) (ident using UNIX) id for <53924@debbugs.gnu.org>; Thu, 10 Feb 2022 18:34:08 -0500 (EST) (Smail-3.2.0.122-Pre 2005-Nov-17 #1 built 2021-Nov-17) Original-Received: from more.local ([10.0.1.129] port=60412) by more.local([10.0.1.129] port=25) via TCP with esmtp (4594 bytes) (sender: ) id for <53924@debbugs.gnu.org>; Thu, 10 Feb 2022 15:34:05 -0800 (PST) (Smail-3.2.0.122-Pre 2005-Nov-17 #1 built 2021-Nov-17) In-Reply-To: <838ruitqu9.fsf@gnu.org> X-Face: ; j3Eth2XV8h1Yfu*uL{<:dQ$#E[DB0gemGZJ"J#4fH*][ lz; @-iwMv_u\6uIEKR0KY"=MzoQH#CrqBN`nG_5B@rrM8,f~Gr&h5a\= 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:226634 Archived-At: --pgp-sign-Multipart_Thu_Feb_10_15:33:53_2022-1 Content-Type: text/plain; charset=US-ASCII At Thu, 10 Feb 2022 22:21:50 +0200, Eli Zaretskii wrote: Subject: Re: bug#53924: 26.1; fontification sometimes fails for some characters despite available glyphs > > > Date: Thu, 10 Feb 2022 11:02:19 -0800 > > From: "Greg A. Woods" > > > > Emacs fails to display all available glyphs for some fonts, and in some > > cases any available glyphs for some fonts. > > Thanks, but why do you consider that a problem? You are trying to use > arbitrary fonts available on your system, and Emacs sometimes finds > them inappropriate for its purposes, or incapable of displaying some > characters. That's completely normal. Not every font is good enough > for Emacs. Yes, indeed I do consider it a problem -- something is sometimes swapping glyphs that should not be doing so, and doing so inconsistently for some reason. I don't consider all the fonts available to be "good enough for Emacs", quite the contrary, but I do believe Emacs should be able to show me text rendered with any and all available glyphs from these fonts upon request. If Xterm can, why can't Emacs? The exception of course is if there's something actually wrong with the font, or its encoding, or some such non-Emacs problem. I would expect such problems to show up in xfontsel though. One more clue I've noticed -- the inconsistent results only occur for proportional fonts -- not for mono-spaced fonts, and I have noticed that I have one or two fonts which appear to be mono-spaced, and which have the word "mono" in their family name, but which xfontsel and xlsfonts insists are proportional fonts. I'm no expert at font definitions and encodings -- I'm just trying to get some consistent results that at least match what I can see with xfontsel. Note I'm working only with TTF fonts, primarily on a high-res display (218dpi), and though I have the standard X11 fonts installed on the machine running Emacs, all the fonts I am seeing problems with are installed only on the X11 server machine, a desktop macOS with XQuartz running in full-screen mode. One more possibly relevant observation: I don't see this problem with Emacs built using the "nextstep" toolkit and running on native macOS. There even when the font has a strange encoding (e.g. for symbol fonts), or no ASCII glyphs at all, I see either the symbols in their place, or empty boxes. > Also, please try this in a newer Emacs. v26 is very old and no longer > developed; Emacs 28 is in pretest. As soon as I can, but for now v26 is what is available in all my production working environments. -- Greg A. Woods Kelowna, BC +1 250 762-7675 RoboHack Planix, Inc. Avoncote Farms --pgp-sign-Multipart_Thu_Feb_10_15:33:53_2022-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit Content-Description: OpenPGP Digital Signature -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQTWEnAIIlcZX4oAawJie18UwlnHhQUCYgWg5AAKCRBie18UwlnH hejQAJ4v4ALNM/CkN2o5B8KDPMvG4j3cKQCfaJRAlI0o/N/8UCNMvWPXSmfs8zA= =ZWJl -----END PGP SIGNATURE----- --pgp-sign-Multipart_Thu_Feb_10_15:33:53_2022-1--