From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Suggest installing more fonts? Date: Fri, 16 Oct 2020 17:41:34 +0300 Message-ID: <83o8l2utb5.fsf@gnu.org> References: <87wnzqa1be.fsf@gnus.org> <83y2k6v378.fsf@gnu.org> <87eely5mof.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25593"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Oct 16 16:43:05 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 1kTQwi-0006WQ-Cz for ged-emacs-devel@m.gmane-mx.org; Fri, 16 Oct 2020 16:43:04 +0200 Original-Received: from localhost ([::1]:58686 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kTQwh-0000GX-Fv for ged-emacs-devel@m.gmane-mx.org; Fri, 16 Oct 2020 10:43:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48420) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kTQvK-0007lN-Fh for emacs-devel@gnu.org; Fri, 16 Oct 2020 10:41:38 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:33453) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kTQvK-0001wq-5f; Fri, 16 Oct 2020 10:41:38 -0400 Original-Received: from [176.228.60.248] (port=2586 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kTQvI-000434-QD; Fri, 16 Oct 2020 10:41:37 -0400 In-Reply-To: <87eely5mof.fsf@gnus.org> (message from Lars Ingebrigtsen on Fri, 16 Oct 2020 15:24:00 +0200) 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:257817 Archived-At: > From: Lars Ingebrigtsen > Cc: emacs-devel@gnu.org > Date: Fri, 16 Oct 2020 15:24:00 +0200 > > > For that, you'd need a database of fonts per OS and per release (and I > > think on GNU systems this will have to depend on the distro as well?), > > and you'd need to maintain that database. Who around here knows > > enough about fonts on different systems to maintain such a database? > > To have perfect coverage, we'd need to do a lot of work. But we don't > have to have that, so we don't need to do that much work. > > Having a list of nice fonts with good coverage for, say, the five most > significant operating systems, should be a list of less than thirty > font packages. I doubt it's as few as 30, assuming we want to cover every living script and some popular dead ones. But the only way to be sure how many is to do the work and come up with the list of such fonts. then we will see. > >> Fonts change over the years, so this would be an added maintenance > >> burden... but they don't change a lot: New general-use fonts with good > >> coverage aren't created very often. > > > > IME, the fonts do change quite a lot between releases. > > The fonts change, but the number of fonts we care about doesn't. Since the fonts change, we will need to change the list. > Popping up a warning buffer (at the first time tofu is displayed per > session) may be OK That's not doable, because you cannot pop up anything in the middle of redisplay. We could perhaps use the delayed-warnings mechanism, but is that sufficient? > Displaying a message in the echo area (again, only the first time we > tofu in a session) saying something like "Unable to display character; > type `C-h TO-BE-DETERMINED' for more information" might also be an > option. Not from redisplay, we cannot do that. > Or... adding help echo text props to tofu? To each one of them?