From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: High-res Customize icons Date: Thu, 23 Apr 2020 17:52:27 +0300 Message-ID: <83r1wecl04.fsf@gnu.org> References: <87k127fd03.fsf@mail.linkov.net> <20200423.061101.167407195680152265.wl@gnu.org> Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="100039"; mail-complaints-to="usenet@ciao.gmane.io" Cc: juri@linkov.net, casouri@gmail.com, cpitclaudel@gmail.com, emacs-devel@gnu.org, yandros@gmail.com, yuri.v.khan@gmail.com To: Werner LEMBERG Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Apr 23 16:53:17 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 1jRdE5-000Pvg-3f for ged-emacs-devel@m.gmane-mx.org; Thu, 23 Apr 2020 16:53:17 +0200 Original-Received: from localhost ([::1]:44912 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jRdE4-0000U7-3N for ged-emacs-devel@m.gmane-mx.org; Thu, 23 Apr 2020 10:53:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39324) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jRdDY-0008V3-6L for emacs-devel@gnu.org; Thu, 23 Apr 2020 10:52:45 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:48728) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jRdDX-00067a-9B; Thu, 23 Apr 2020 10:52:43 -0400 Original-Received: from [176.228.60.248] (port=4913 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jRdDW-0003iC-Hd; Thu, 23 Apr 2020 10:52:43 -0400 In-Reply-To: <20200423.061101.167407195680152265.wl@gnu.org> (message from Werner LEMBERG on Thu, 23 Apr 2020 06:11:01 +0200 (CEST)) 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:247584 Archived-At: > Date: Thu, 23 Apr 2020 06:11:01 +0200 (CEST) > From: Werner LEMBERG > Cc: casouri@gmail.com, yuri.v.khan@gmail.com, cpitclaudel@gmail.com, > yandros@gmail.com, emacs-devel@gnu.org > > Why not creating a specialized outline font family with the needed > glyphs? Emacs could then always use it (and be distributed with these > fonts). > > It should be straightforward to take a free font family, strip all > other glyphs, and modify the remaining symbols to make them fit. Unlike some other programs, Emacs doesn't use fonts directly, it does so via system APIs that manage fonts. Therefore, to use a font with Emacs, you need to install it. Installing a font means this specialized font will be visible to all of the other applications, and also to Emacs itself when it looks for a suitable font to display a given character. (I'm sure you, Werner, know all that, but I'd like to make sure everyone else who reads this does.) So installing an additional font (or a set of them, actually -- won't we also need bold, italic, etc. variants?) affects the entire system and affects Emacs itself, by adding a font that isn't really meant to be used for displaying readable text in any script. It's a trick that we would use to work around the need to display an image. I'm asking whether this is such a good idea? Won't this font get in the way? What other applications are known to come with their own fonts and install them into the global font space of the system? Is this considered a good practice?