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: scratch/icons 09509f4fa1 05/11: Import Material design icons Date: Wed, 24 Aug 2022 15:28:44 +0300 Message-ID: <83r1156d1f.fsf@gnu.org> References: <166132324164.29491.8702393664945861865@vcs2.savannah.gnu.org> <20220824064044.65239C0088A@vcs2.savannah.gnu.org> <87k06y2l8l.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17289"; mail-complaints-to="usenet@ciao.gmane.io" Cc: stefan@marxist.se, luangruo@yahoo.com, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Aug 24 15:24:53 2022 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 1oQqNI-0004G2-OW for ged-emacs-devel@m.gmane-mx.org; Wed, 24 Aug 2022 15:24:52 +0200 Original-Received: from localhost ([::1]:45792 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oQqNG-0006cT-Vr for ged-emacs-devel@m.gmane-mx.org; Wed, 24 Aug 2022 09:24:51 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60684) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQpUr-0005Yg-HS for emacs-devel@gnu.org; Wed, 24 Aug 2022 08:28:38 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:47376) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQpUp-0006Et-IC; Wed, 24 Aug 2022 08:28:35 -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=PPu812zKEsih3EHZ3N557NLK5dGI3MyyjXVMbQGY5zI=; b=BCpT1Ar/FutX czhxtInV1naD5rdXGP8Wc6TrhpnQon9xjKJ2kLnliEElDYfEruowyY+lvGmAflSOReeIjarYBoQag fZMVnRUSQOMGYwSAv6WdKbgUMi+nMObs+pApqcBffb/LrD/MbiYhksxpLu8k3h8BbZMelqsdySfGk 7Azin9eHT9G7MgauGFHtVExDZPaSFKUtSnbGzdjxhkjYoggy823rGwutPwPq6ZNJKTKRLW1xiaitI FwWKEAPuuzHHmtsB5hlF30TWkwxH2GL4i3O0K64oVt42Eg47bX995XvJBCV7XjA05BfjLVNtF6BEf e1TXp5JPseTcKPmyxA0mbQ==; Original-Received: from [87.69.77.57] (port=4714 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQpUo-0001E5-Ty; Wed, 24 Aug 2022 08:28:35 -0400 In-Reply-To: (message from Stefan Monnier on Wed, 24 Aug 2022 08:09:34 -0400) 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" Xref: news.gmane.io gmane.emacs.devel:294021 Archived-At: > From: Stefan Monnier > Cc: Po Lu , emacs-devel@gnu.org > Date: Wed, 24 Aug 2022 08:09:34 -0400 > > >> Further more, shouldn't we make PBM versions of those icons, in case > >> librsvg is not available? > > > > There should be some kind of fallback for when SVG is not available, > > yes. I'm not yet sure exactly what that will look like. The problem > > with generating PBM versions AFAIK is that they don't scale, so maybe > > we'd want to prefer Unicode symbols in those cases (or even emojis, > > though I'm not exactly a huge fan). > > Wherever possible we should fallback on the tty behavior if there's only > an SVG version of the icon and we don't have an SVG renderer. Between SVG and TTY there's XPM, and it would be silly on our part to ignore that.