From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Third Newsgroups: gmane.emacs.bugs Subject: bug#38394: Fwd: Use different image filtering when zooming in vs zooming out Date: Fri, 14 Aug 2020 22:20:34 +0200 (CEST) Message-ID: <20200814202032.GD44359@breton.holly.idiocy.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21319"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 38394@debbugs.gnu.org To: David Ponce Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 14 22:21:15 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1k6gCQ-0005Q4-Hd for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 14 Aug 2020 22:21:14 +0200 Original-Received: from localhost ([::1]:54050 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k6gCP-000294-JF for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 14 Aug 2020 16:21:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34326) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k6gCF-00025K-3F for bug-gnu-emacs@gnu.org; Fri, 14 Aug 2020 16:21:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42415) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k6gCE-0002OW-KK for bug-gnu-emacs@gnu.org; Fri, 14 Aug 2020 16:21:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k6gCE-00026w-G1 for bug-gnu-emacs@gnu.org; Fri, 14 Aug 2020 16:21:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 14 Aug 2020 20:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38394 X-GNU-PR-Package: emacs Original-Received: via spool by 38394-submit@debbugs.gnu.org id=B38394.15974364468072 (code B ref 38394); Fri, 14 Aug 2020 20:21:02 +0000 Original-Received: (at 38394) by debbugs.gnu.org; 14 Aug 2020 20:20:46 +0000 Original-Received: from localhost ([127.0.0.1]:53961 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k6gBy-000268-9m for submit@debbugs.gnu.org; Fri, 14 Aug 2020 16:20:46 -0400 Original-Received: from mailout-l3b-97.contactoffice.com ([212.3.242.97]:43328) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k6gBv-00025u-Nf for 38394@debbugs.gnu.org; Fri, 14 Aug 2020 16:20:44 -0400 Original-Received: from smtpauth2.co-bxl (smtpauth2.co-bxl [10.2.0.24]) by mailout-l3b-97.contactoffice.com (Postfix) with ESMTP id 5E18241D; Fri, 14 Aug 2020 22:20:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1597436437; s=20200222-6h9o; d=idiocy.org; i=alan@idiocy.org; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:Content-Type:In-Reply-To; l=802; bh=pml9fBif64jTyOZJeXi+s8IdQDnk/Lx3p2umOAs6ypc=; b=B+cvC1Lcwucz99lT0wVZu4PwHn6k5qLjHe5ku06LOSquIInIOCzJLQsmFfVu452x y6X3TvdxU6aT0bwMg9Z5gb80M5hPuGYu2pTNtfnv5Y6c5zDCtB/jc+bOg5UYCs3+rFn zZEWETvxBJ7JMJw25ysk2lrqWtYRvrsPZ7yoCjOzryG9H9RW4m9Eyew3FdmzFKl5N7E f0UhAHPBoogfjN9TDLqtijNS1i4Zz5iZMHWknoNCY87jlDoGDdVHDURWizgVmTo+4am Id6IkqxNsa/03s9bWmDI8t9LRluTg0zNtviFzA26334A8KCB6cSak7u6C341+VS2LV1 KlzPZsHmxw== Original-Received: by smtp.mailfence.com with ESMTPA ; Fri, 14 Aug 2020 22:20:33 +0200 (CEST) Original-Received: by breton.holly.idiocy.org (Postfix, from userid 501) id A4EFF202487EEF; Fri, 14 Aug 2020 21:20:32 +0100 (BST) Mail-Followup-To: Alan Third , David Ponce , 38394@debbugs.gnu.org Content-Disposition: inline In-Reply-To: X-ContactOffice-Account: com:241649512 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:185166 Archived-At: On Fri, Aug 14, 2020 at 08:03:04AM +0200, David Ponce wrote: > Hello, > > With this patch applied > (https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=519a93e067f459ceddb57573261a52118086b73d), > I noticed that small icon images look bad with image defaut > attributes, but look as expected when I add the attribute :scale 1 > (see the attached screenshots). The issue is that by default on an > HiDPI screen, images are scaled up (in my configuration the default > scale is 1.2). > > I don't know if there is a way to force the smoothing behavior, if > not, maybe an image attribute could be considered ? Is this on X? Maybe we should only go to nearest neighbour when the scaling is >= 2? Or greater than the scale factor? Hmm, I'm not sure what's best here. -- Alan Third