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: [ELPA] Add new 'show-font' package? Date: Fri, 06 Sep 2024 16:56:43 +0300 Message-ID: <868qw428dg.fsf@gnu.org> References: <87msknu635.fsf@protesilaos.com> <87jzfqjtdh.fsf@posteo.net> <867cbq4cun.fsf@gnu.org> <87zfol4a5t.fsf@protesilaos.com> <86ttet1fbe.fsf@gnu.org> <874j6tgv0w.fsf@protesilaos.com> <86plph1cc1.fsf@gnu.org> <87r09xfdoa.fsf@protesilaos.com> <86le0512kq.fsf@gnu.org> <87plph6o9z.fsf@protesilaos.com> <86ed5x104o.fsf@gnu.org> <87ed5w7veu.fsf@protesilaos.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20044"; mail-complaints-to="usenet@ciao.gmane.io" Cc: philipk@posteo.net, emacs-devel@gnu.org To: Protesilaos Stavrou Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Sep 06 15:57:22 2024 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 1smZSj-0004yi-Nd for ged-emacs-devel@m.gmane-mx.org; Fri, 06 Sep 2024 15:57:21 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1smZSH-0004P5-99; Fri, 06 Sep 2024 09:56:53 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1smZS9-0004NL-Uf for emacs-devel@gnu.org; Fri, 06 Sep 2024 09:56:47 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1smZS9-0003Hr-Kc; Fri, 06 Sep 2024 09:56:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=E2VL0zDWKtxsiliW7YVjz1djgP2u4b0m0cPB5U3HTuQ=; b=gJ2GQZFvaE8X M07XuAvBdF3EWQdO6tzSnrAVEB9rPSLipAGaTRhj6zFFnJDPd2bZi+6jDMlBcOaguV7KlRQFlf73v 1tWL8uNNfDtWfAhktFwRkpmtTVUDGuTjmSIPahRCbz67V08z19xlo1RSWJTXZBP6B8WIaOiX2hK57 D8eiZYikSXQDv51w6krQiTe5+pittZgHnENRJEn0mnV8DjAWxR35DgQksPc4fM6hqFvyj/JcQGWCV 3uak7940ud9PSgxh0sVJIOGRE8Wveqpvk9I6tYSNCgnqYCq80a89DE4DyFumuNv+7NoS6pUV4Vs4e rnwpSZUB4Wu56e+R+cWrRw==; In-Reply-To: <87ed5w7veu.fsf@protesilaos.com> (message from Protesilaos Stavrou on Fri, 06 Sep 2024 16:40:09 +0300) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:323479 Archived-At: > From: Protesilaos Stavrou > Cc: philipk@posteo.net, emacs-devel@gnu.org > Date: Fri, 06 Sep 2024 16:40:09 +0300 > > > This seems to be in contradiction to what you said originally: that > > you first want to handle installed fonts. A font that is not yet > > installed will not appear in x-family-fonts, so you need something > > else entirely. > > The "something else" is why I am relying on 'fc-list' and 'fc-scan'. I > am keeping this dependency for the time being and will let users of > other platforms tell me what the equivalent programs are on their > system. Does fc-list show fonts that are not installed? > Indeed, it is hard to preview a font that is not installed on the > system. For those cases, we show the relevant warning and then provide > the means to install that file by copying to the OS-dependent path (I > implemented this earlier). On some systems, installation of a font does not boil down to copying the font's file.