From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Alan Third Newsgroups: gmane.emacs.devel Subject: Re: Optional support for GDI+ on Windows (emacs-28) Date: Tue, 31 Mar 2020 18:57:52 +0200 (CEST) Message-ID: <20200331165749.GC81462@breton.holly.idiocy.org> References: <86lfnh8wzn.fsf@csic.es> <83pncs1ulv.fsf@gnu.org> <86ftdoedvh.fsf@csic.es> <83d08s1nf9.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="121149"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Juan =?iso-8859-1?Q?Jos=E9_Garc=EDa-Ripoll?= , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Mar 31 19:20:19 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 1jJKYi-000VPT-DI for ged-emacs-devel@m.gmane-mx.org; Tue, 31 Mar 2020 19:20:16 +0200 Original-Received: from localhost ([::1]:42086 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jJKYh-0005U5-Bm for ged-emacs-devel@m.gmane-mx.org; Tue, 31 Mar 2020 13:20:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46023) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jJKDA-0006z5-MU for emacs-devel@gnu.org; Tue, 31 Mar 2020 12:58:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jJKD9-0005Ic-Cu for emacs-devel@gnu.org; Tue, 31 Mar 2020 12:58:00 -0400 Original-Received: from mailout-l3b-97.contactoffice.com ([212.3.242.97]:38304) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jJKD7-0005Gq-NK; Tue, 31 Mar 2020 12:57:57 -0400 Original-Received: from smtpauth1.co-bxl (smtpauth1.co-bxl [10.2.0.15]) by mailout-l3b-97.contactoffice.com (Postfix) with ESMTP id D572A640; Tue, 31 Mar 2020 18:57:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1585673874; s=20200222-6h9o; d=idiocy.org; i=alan@idiocy.org; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:Content-Type:Content-Transfer-Encoding:In-Reply-To; l=552; bh=jiQU2bFDFP/eCeWjtGSKbPwyTscVXdU+2L5DEWIC8Ig=; b=M+sAelBXQGdZXGa9x48Idj1Y5BscNSuRAnKh9rs1Ogt3FJ3BeOWkK6JukyoX2pAX U9Mejk+TCrrd/d4elv+8QuS5pIkFOleYRdvPGlGVh6SFZktSBO5yt4jVckweLXI2cX1 cOOAofv3IgpnmaQ62r7+GtvQ8mMe1SVQ9OLgzPSZnU6K1niG95W6RJe82RE7QfvkYc7 jIptjbCBgDVxfWe5cv1Iz+km5rq6wPdB0s3RL9cG0kRDuCjPEEo8MIKHpV8k//AIGS7 0+So+abRTIuO6yEMMwUwt8fm04jBLWcPMYRyJyU5GuijEHtkBqOYi/9br2Bjv/OxrW7 LkWLFIK5vA== Original-Received: by smtp.mailfence.com with ESMTPSA ; Tue, 31 Mar 2020 18:57:51 +0200 (CEST) Original-Received: by idiocy.org (Postfix, from userid 501) id 7422E202144D6F; Tue, 31 Mar 2020 17:57:49 +0100 (BST) Mail-Followup-To: Alan Third , Eli Zaretskii , Juan =?iso-8859-1?Q?Jos=E9_Garc=EDa-Ripoll?= , emacs-devel@gnu.org Content-Disposition: inline In-Reply-To: <83d08s1nf9.fsf@gnu.org> X-ContactOffice-Account: com:241649512 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.3.242.97 X-Mailman-Approved-At: Tue, 31 Mar 2020 13:19:29 -0400 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:246128 Archived-At: On Tue, Mar 31, 2020 at 07:47:38PM +0300, Eli Zaretskii wrote: >=20 > Like I said: this must not be a compile-time condition, we should > decide whether GDI+ is supported at runtime, and we should provide > variables to control whether GDI+ is used for each supported image > format. HAVE_GDIPLUS should guard code which uses GDI+, but it should > NOT decide whether that code is actually used. May I request that however the above is implemented, it can be extended to the NS port=E2=80=99s use of NSImage vs libpng, etc. as well? --=20 Alan Third