GNU bug report logs -
#47819
8.0.50; When :height/:width image attribute is specified, :scale factor is not applied
Previous Next
Reported by: David Ponce <da_vid <at> orange.fr>
Date: Fri, 16 Apr 2021 06:17:01 UTC
Severity: normal
Found in version 8.0.50
Done: Alan Third <alan <at> idiocy.org>
Bug is archived. No further changes may be made.
Full log
Message #19 received at 47819-done <at> debbugs.gnu.org (full text, mbox):
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
This bug report was last modified 4 years and 33 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.