From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gregory Heytings via "Emacs development discussions." Newsgroups: gmane.emacs.devel Subject: Re: Suggest installing more fonts? Date: Fri, 16 Oct 2020 19:42:29 +0000 Message-ID: References: <87wnzqa1be.fsf@gnus.org> Reply-To: Gregory Heytings Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="-212064758-1417272581-1602876474=:13163" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4323"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Alpine 2.22 (NEB 394 2020-01-19) Cc: Lars Ingebrigtsen , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Oct 16 21:50:12 2020 Return-path: Envelope-to: ged-emacs-devel@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 1kTVjv-00011S-6p for ged-emacs-devel@m.gmane-mx.org; Fri, 16 Oct 2020 21:50:11 +0200 Original-Received: from localhost ([::1]:36126 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kTVju-0008P6-5g for ged-emacs-devel@m.gmane-mx.org; Fri, 16 Oct 2020 15:50:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41700) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kTVcg-0003jZ-Ge for emacs-devel@gnu.org; Fri, 16 Oct 2020 15:42:44 -0400 Original-Received: from mx.sdf.org ([205.166.94.24]:57331) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kTVca-00027U-Cr for emacs-devel@gnu.org; Fri, 16 Oct 2020 15:42:41 -0400 Original-Received: from sdf.org (IDENT:ghe@faeroes.freeshell.org [205.166.94.9]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 09GJgVW2014372 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Fri, 16 Oct 2020 19:42:31 GMT Original-Received: (from ghe@localhost) by sdf.org (8.15.2/8.12.8/Submit) id 09GJgtpr010443; Fri, 16 Oct 2020 19:42:55 GMT In-Reply-To: Content-ID: Received-SPF: pass client-ip=205.166.94.24; envelope-from=ghe@sdf.org; helo=mx.sdf.org X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/16 15:42:34 X-ACL-Warn: Detected OS = ??? X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:257864 Archived-At: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---212064758-1417272581-1602876474=:13163 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-ID: >> I think, over the years, the most common question users have that has >> an easy-to-fix solution is: "Why is Emacs displaying boxes for some of >> these characters I'm seeing?" The solution is "install some more >> fonts", of course. > > [ FWIW, I don't think replacing those tofu chars with some "ugly > default" is a good option: it's more work with very little benefit if > any, since the problem still remains largely unchanged. ] > FWIW, I do not agree with this. It is much better from a end-user viewpoint to see something they can decypher, even if it has a non-optimal rendering, than to see a hex code in a box. For example, I use the DejaVu Sans font. I just checked, and among the twelve "smiling face" emojis, three are missing, for example "smiling face with smiling eyes and three hearts". I would find it much better to have Emacs displaying the attached bitmap (taken from the Unicode font) instead of a box with "01F970" (for the default value of glyphless-char-display). At least I see what the character is. [I know that an experienced user can do M-x describe-char or C-u C-x =, or (setq what-cursor-show-names t) and type C-x =. But that's for experienced users, and in any case much less user-friendly than a bitmap.] > > - Does the problem only affect Emacs and not other applications? If so > why? If not, then what do other applications do about it? > This problem affects all applications. If happens whenever an application tries to display a character for which the font in use has no glyph. What they do varies, most display a question mark in a box, or an empty box. ---212064758-1417272581-1602876474=:13163 Content-Type: image/png; name=1f970.png Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: attachment; filename=1f970.png iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQAAAAA3iMLMAAAAOElEQVQI12P4 /59h8n+GBnmG4ycZ3h9kuP+Y4aYpw05bhv1/Qej2boY7KQzvHzB8vsjwQ5rh /38AOksYKGmufGgAAAAASUVORK5CYII= ---212064758-1417272581-1602876474=:13163--