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: Using more and/or better icons in Emacs Date: Fri, 09 Apr 2021 21:45:01 +0300 Message-ID: <83lf9r70wi.fsf@gnu.org> References: <0342c2d5-02dd-ad9e-5b8e-dfe52f6469c6@daniel-mendler.de> <264397e8-5a03-9eff-436c-639d76514775@daniel-mendler.de> <82c86e8f-06e7-a7ed-56c5-5f6766df591b@daniel-mendler.de> <597310b6-892c-a7d9-a663-f270ed3b0f0e@yandex.ru> <2f0b4786-d569-27e6-fa8a-fb47bf08b166@yandex.ru> <0279fbc8-74c3-3766-2b26-b3eb933a501e@yandex.ru> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37752"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org, dgutov@yandex.ru To: Stefan Kangas Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Apr 09 20:47:07 2021 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 1lUw9p-0009g1-HN for ged-emacs-devel@m.gmane-mx.org; Fri, 09 Apr 2021 20:47:05 +0200 Original-Received: from localhost ([::1]:59902 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lUw9o-0005Af-JG for ged-emacs-devel@m.gmane-mx.org; Fri, 09 Apr 2021 14:47:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55576) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lUw8L-0004eg-4I for emacs-devel@gnu.org; Fri, 09 Apr 2021 14:45:34 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:56769) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lUw8H-0007A6-7V; Fri, 09 Apr 2021 14:45:32 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2884 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lUw84-0003DH-Fw; Fri, 09 Apr 2021 14:45:27 -0400 In-Reply-To: (message from Stefan Kangas on Fri, 9 Apr 2021 12:46:57 -0500) 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:267736 Archived-At: > From: Stefan Kangas > Date: Fri, 9 Apr 2021 12:46:57 -0500 > > Experimenting with this now, using my patch, > > (insert-image (find-image '((:type svg > :file "material/file/ic_folder_24px.svg")))) > > I'm getting an SVG in the buffer that is actually taller than the line. > When we added new SVG icons to customize recently, Alan Third fiddled > with the height and viewport in the SVG file to force it to be the same > height as the line. > > But is there any way to do this directly from Emacs? The :scale attribute is supposed to be the way to do that, AFAIU.