From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Juan =?utf-8?Q?Jos=C3=A9_Garc=C3=ADa-Ripoll?= Newsgroups: gmane.emacs.devel Subject: Re: Interest in nt_load_image? Date: Mon, 30 Mar 2020 20:06:27 +0200 Message-ID: <86eet9ra3g.fsf@csic.es> References: <86369r0xcv.fsf@csic.es> <83k1324m60.fsf@gnu.org> <86imimwa4t.fsf@csic.es> <838sji3qhx.fsf@gnu.org> <86lfnhsyei.fsf@csic.es> <83v9ml3kpx.fsf@gnu.org> <86r1x9rf7w.fsf@csic.es> <83pnct3ikf.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="70611"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (windows-nt) To: emacs-devel@gnu.org Cancel-Lock: sha1:P/Wap2DJEbQSTEN8bI43lOGQiUM= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Mar 30 20:07:07 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 1jIyoV-000I9J-D4 for ged-emacs-devel@m.gmane-mx.org; Mon, 30 Mar 2020 20:07:07 +0200 Original-Received: from localhost ([::1]:54532 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jIyoU-0001pU-Ew for ged-emacs-devel@m.gmane-mx.org; Mon, 30 Mar 2020 14:07:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41353) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jIyo2-0001R1-4V for emacs-devel@gnu.org; Mon, 30 Mar 2020 14:06:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jIyo0-0008BG-Td for emacs-devel@gnu.org; Mon, 30 Mar 2020 14:06:38 -0400 Original-Received: from ciao.gmane.io ([159.69.161.202]:55332) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jIyo0-0008AJ-Ns for emacs-devel@gnu.org; Mon, 30 Mar 2020 14:06:36 -0400 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1jIyny-000HTw-K5 for emacs-devel@gnu.org; Mon, 30 Mar 2020 20:06:34 +0200 X-Injected-Via-Gmane: http://gmane.org/ X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 159.69.161.202 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:246048 Archived-At: Eli Zaretskii writes: >> From: Juan José García-Ripoll >> >> Date: Mon, 30 Mar 2020 18:15:47 +0200 >> >> > At 84KB, I don't see how the XPM DLL could be a problem for anyone. >> > More importantly, tool-bar.el explicitly loads XPM icons. >> >> Not really. tool-bar.el uses find-image which can be trivially extended >> to also seach for PNG as last resort. This is what I showed in my >> previous message with a screenshot. > > Why bother? Why not? Why not allow the toolbar icons to be PNG's? Using them in Windows removes one more dependency and there is the opportunity to have nicer icons, just like the ones Aquamacs uses. In any case, support for Xpm seems to be in a somewhat fluid state. The NS port is regularly built without libxpm, as shown in the #ifdef's. That configuration is also the one for Cairo builds. So there is a trend there, right? Good thing is I see I can use that code to make a build with GDI+ that support Xpm v.3 but does not require libxpm-nox (i.e. --with-gdiplus --without-xpm would activate it). >> P.S.: Just a side question, is LCMS2 actually used anywhere in Emacs? > > Yes, see src/lcms.c. Sorry, apologies once more for the ambiguity: I meant _used_ not exposed as a library. lcms.c seems only to provide functions to compute color distances, but the color management does not seem to be used anywhere by Emacs. Cheers, -- Juan José García Ripoll http://juanjose.garciaripoll.com http://quinfog.hbar.es