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#47819: 8.0.50; When :height/:width image attribute is specified, :scale factor is not applied Date: Sat, 17 Apr 2021 09:42:18 +0100 Message-ID: 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="18152"; mail-complaints-to="usenet@ciao.gmane.io" To: David Ponce , 47819-done@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Apr 17 10:43:10 2021 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 1lXgXm-0004d9-62 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 17 Apr 2021 10:43:10 +0200 Original-Received: from localhost ([::1]:51310 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lXgXl-00019a-7H for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 17 Apr 2021 04:43:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43780) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lXgXe-00019N-Jb for bug-gnu-emacs@gnu.org; Sat, 17 Apr 2021 04:43:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58954) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lXgXe-0001lF-Bm for bug-gnu-emacs@gnu.org; Sat, 17 Apr 2021 04:43:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lXgXe-0007BT-8U for bug-gnu-emacs@gnu.org; Sat, 17 Apr 2021 04:43:02 -0400 Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sat, 17 Apr 2021 08:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 47819 X-GNU-PR-Package: emacs Original-Received: via spool by 47819-done@debbugs.gnu.org id=D47819.161864895427577 (code D ref 47819); Sat, 17 Apr 2021 08:43:02 +0000 Original-Received: (at 47819-done) by debbugs.gnu.org; 17 Apr 2021 08:42:34 +0000 Original-Received: from localhost ([127.0.0.1]:42267 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lXgXB-0007Aj-Vh for submit@debbugs.gnu.org; Sat, 17 Apr 2021 04:42:34 -0400 Original-Received: from outbound.soverin.net ([116.202.65.218]:59343) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lXgX6-0007AQ-BY for 47819-done@debbugs.gnu.org; Sat, 17 Apr 2021 04:42:32 -0400 Original-Received: from smtp.soverin.net (unknown [10.10.3.28]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id 28ED360232; Sat, 17 Apr 2021 08:42:22 +0000 (UTC) Original-Received: from smtp.soverin.net (smtp.soverin.net [159.69.232.142]) by soverin.net DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1618648941; bh=DnwoET4i0Q2mnStoWloyz935rO3AyMlX05Vjj2eulVo=; h=Date:From:To:Subject:References:In-Reply-To:From; b=CboUDwq1cg9gLbRILH0qdBXMckvzptcobITaFIN9skpzvkC7ysFFWQhVzhRhctPNr c3+6Iu7Q02JVA9deJ9u5DDVBSQwrrtl27zdTIT9gwHIWOI6biUzpj2CGqAPtZIr8nA McWjEPzpI97DfJ6Nb3FNjjhF0/3UJkrWarZOx9uWIOzLSxIUX6szLYCLr66N2B3MPc pATHCG7NcQFHM+BSOpe1zZnK5r/ui+7oeJlT8XbHpQe2MWOyrmz7zszJG8O6WmAjTH 4GMUSJ0rD03GF13GBLQtI+VblPagXmJx32vraNEjkAa+QNydzX4NFKkmMXiskN4Zr8 6lWhQ89VYvzeQ== Original-Received: by breton.holly.idiocy.org (Postfix, from userid 501) id 7062F202BD137B; Sat, 17 Apr 2021 09:42:18 +0100 (BST) Mail-Followup-To: Alan Third , David Ponce , 47819-done@debbugs.gnu.org Content-Disposition: inline In-Reply-To: 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:204181 Archived-At: On Sat, Apr 17, 2021 at 09:23:55AM +0100, Alan Third wrote: > > I don't know why you would want to use scale with em dimensions, since > you can just set the em dimensions directly. > > For example ":scale 2 :height '(1 . em)" is exactly the same as > ":scale 1 :height '(2 . em)", so why bother? > > Plus if you specify something to be 1em in height, then create-image > applies its magic scale factor, you end up with something that is not > 1em in height. > > So yeah, I'm not convinced that this is behaviour we want. OK, I'm still convinced this isn't really the behaviour we want, but I did some further investigation and realised this is a bug introduced by me recently. I thought it had worked this way for a long time. I'll just push the change up to fix it. -- Alan Third